Upload GPTNeoForCausalLM
Browse files- config.json +45 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "roneneldan/TinyStories-2Layers-33M",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPTNeoForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0,
|
8 |
+
"attention_layers": [
|
9 |
+
"global",
|
10 |
+
"local"
|
11 |
+
],
|
12 |
+
"attention_types": [
|
13 |
+
[
|
14 |
+
[
|
15 |
+
"global",
|
16 |
+
"local"
|
17 |
+
],
|
18 |
+
1
|
19 |
+
]
|
20 |
+
],
|
21 |
+
"bos_token_id": 50256,
|
22 |
+
"classifier_dropout": 0.1,
|
23 |
+
"embed_dropout": 0,
|
24 |
+
"eos_token_id": 50256,
|
25 |
+
"gradient_checkpointing": false,
|
26 |
+
"hidden_size": 1024,
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"intermediate_size": null,
|
29 |
+
"layer_norm_epsilon": 1e-05,
|
30 |
+
"max_position_embeddings": 2048,
|
31 |
+
"model_type": "gpt_neo",
|
32 |
+
"num_heads": 16,
|
33 |
+
"num_layers": 2,
|
34 |
+
"resid_dropout": 0,
|
35 |
+
"summary_activation": null,
|
36 |
+
"summary_first_dropout": 0.1,
|
37 |
+
"summary_proj_to_labels": true,
|
38 |
+
"summary_type": "cls_index",
|
39 |
+
"summary_use_proj": true,
|
40 |
+
"torch_dtype": "float32",
|
41 |
+
"transformers_version": "4.35.2",
|
42 |
+
"use_cache": true,
|
43 |
+
"vocab_size": 50257,
|
44 |
+
"window_size": 256
|
45 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 50256,
|
4 |
+
"eos_token_id": 50256,
|
5 |
+
"transformers_version": "4.35.2"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:078a7a680349a138d1ac707b752b3074b4861dd19375214733a3ec7abd037e20
|
3 |
+
size 314997856
|