Upload GPTNeoForCausalLM
Browse files- config.json +51 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "model",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPTNeoForCausalLM"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0,
|
8 |
+
"attention_layers": [
|
9 |
+
"global",
|
10 |
+
"local",
|
11 |
+
"global",
|
12 |
+
"local",
|
13 |
+
"global",
|
14 |
+
"local",
|
15 |
+
"global",
|
16 |
+
"local"
|
17 |
+
],
|
18 |
+
"attention_types": [
|
19 |
+
[
|
20 |
+
[
|
21 |
+
"global",
|
22 |
+
"local"
|
23 |
+
],
|
24 |
+
4
|
25 |
+
]
|
26 |
+
],
|
27 |
+
"bos_token_id": 50256,
|
28 |
+
"classifier_dropout": 0.1,
|
29 |
+
"embed_dropout": 0,
|
30 |
+
"eos_token_id": 50256,
|
31 |
+
"gradient_checkpointing": false,
|
32 |
+
"hidden_size": 256,
|
33 |
+
"initializer_range": 0.02,
|
34 |
+
"intermediate_size": null,
|
35 |
+
"layer_norm_epsilon": 1e-05,
|
36 |
+
"max_position_embeddings": 2048,
|
37 |
+
"model_type": "gpt_neo",
|
38 |
+
"num_heads": 16,
|
39 |
+
"num_layers": 8,
|
40 |
+
"resid_dropout": 0,
|
41 |
+
"summary_activation": null,
|
42 |
+
"summary_first_dropout": 0.1,
|
43 |
+
"summary_proj_to_labels": true,
|
44 |
+
"summary_type": "cls_index",
|
45 |
+
"summary_use_proj": true,
|
46 |
+
"torch_dtype": "float32",
|
47 |
+
"transformers_version": "4.35.2",
|
48 |
+
"use_cache": true,
|
49 |
+
"vocab_size": 50257,
|
50 |
+
"window_size": 256
|
51 |
+
}
|
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:31b8fc749754228c9b23f21104eb39bbbf8e4ae377d3c635f5fe36ab67a7dee6
|
3 |
+
size 78821312
|