Upload GPTNeoForCausalLM
Browse files- config.json +53 -0
- generation_config.json +6 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_function": "gelu_new",
|
3 |
+
"architectures": [
|
4 |
+
"GPTNeoForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0,
|
7 |
+
"attention_layers": [
|
8 |
+
"global",
|
9 |
+
"local",
|
10 |
+
"global",
|
11 |
+
"local",
|
12 |
+
"global",
|
13 |
+
"local",
|
14 |
+
"global",
|
15 |
+
"local",
|
16 |
+
"global",
|
17 |
+
"local",
|
18 |
+
"global",
|
19 |
+
"local",
|
20 |
+
"global",
|
21 |
+
"local",
|
22 |
+
"global",
|
23 |
+
"local"
|
24 |
+
],
|
25 |
+
"attention_types": [
|
26 |
+
[
|
27 |
+
[
|
28 |
+
"global",
|
29 |
+
"local"
|
30 |
+
],
|
31 |
+
8
|
32 |
+
]
|
33 |
+
],
|
34 |
+
"bos_token_id": 50256,
|
35 |
+
"classifier_dropout": 0.1,
|
36 |
+
"embed_dropout": 0,
|
37 |
+
"eos_token_id": 50256,
|
38 |
+
"feed_forward_dim": 256,
|
39 |
+
"hidden_size": 128,
|
40 |
+
"initializer_range": 0.02,
|
41 |
+
"intermediate_size": null,
|
42 |
+
"layer_norm_epsilon": 1e-05,
|
43 |
+
"max_position_embeddings": 1024,
|
44 |
+
"model_type": "gpt_neo",
|
45 |
+
"num_heads": 8,
|
46 |
+
"num_layers": 16,
|
47 |
+
"resid_dropout": 0,
|
48 |
+
"torch_dtype": "float32",
|
49 |
+
"transformers_version": "4.29.2",
|
50 |
+
"use_cache": true,
|
51 |
+
"vocab_size": 50257,
|
52 |
+
"window_size": 256
|
53 |
+
}
|
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.29.2"
|
6 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8a026010f0dc3b58e49921012cea02ae41ceb882cd6b28de2b4dbe037911ed24
|
3 |
+
size 55779229
|