Upload config.json with huggingface_hub
Browse files- config.json +77 -0
config.json
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "EleutherAI/gpt-neo-1.3B",
|
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 |
+
"global",
|
18 |
+
"local",
|
19 |
+
"global",
|
20 |
+
"local",
|
21 |
+
"global",
|
22 |
+
"local",
|
23 |
+
"global",
|
24 |
+
"local",
|
25 |
+
"global",
|
26 |
+
"local",
|
27 |
+
"global",
|
28 |
+
"local",
|
29 |
+
"global",
|
30 |
+
"local",
|
31 |
+
"global",
|
32 |
+
"local"
|
33 |
+
],
|
34 |
+
"attention_types": [
|
35 |
+
[
|
36 |
+
[
|
37 |
+
"global",
|
38 |
+
"local"
|
39 |
+
],
|
40 |
+
12
|
41 |
+
]
|
42 |
+
],
|
43 |
+
"bigdl_transformers_low_bit": "fp8_e5m2",
|
44 |
+
"bos_token_id": 50256,
|
45 |
+
"classifier_dropout": 0.1,
|
46 |
+
"embed_dropout": 0,
|
47 |
+
"eos_token_id": 50256,
|
48 |
+
"gradient_checkpointing": false,
|
49 |
+
"hidden_size": 2048,
|
50 |
+
"initializer_range": 0.02,
|
51 |
+
"intermediate_size": null,
|
52 |
+
"layer_norm_epsilon": 1e-05,
|
53 |
+
"max_position_embeddings": 2048,
|
54 |
+
"model_type": "gpt_neo",
|
55 |
+
"num_heads": 16,
|
56 |
+
"num_layers": 24,
|
57 |
+
"resid_dropout": 0,
|
58 |
+
"summary_activation": null,
|
59 |
+
"summary_first_dropout": 0.1,
|
60 |
+
"summary_proj_to_labels": true,
|
61 |
+
"summary_type": "cls_index",
|
62 |
+
"summary_use_proj": true,
|
63 |
+
"task_specific_params": {
|
64 |
+
"text-generation": {
|
65 |
+
"do_sample": true,
|
66 |
+
"max_length": 50,
|
67 |
+
"temperature": 0.9
|
68 |
+
}
|
69 |
+
},
|
70 |
+
"tie_word_embeddings": false,
|
71 |
+
"tokenizer_class": "GPT2Tokenizer",
|
72 |
+
"torch_dtype": "float32",
|
73 |
+
"transformers_version": "4.37.0",
|
74 |
+
"use_cache": true,
|
75 |
+
"vocab_size": 50257,
|
76 |
+
"window_size": 256
|
77 |
+
}
|