Upload config.json with huggingface_hub
Browse files- config.json +47 -0
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "hf-internal-testing/tiny-random-gpt2",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"attention_probs_dropout_prob": 0.1,
|
5 |
+
"attn_pdrop": 0.1,
|
6 |
+
"bos_token_id": 98,
|
7 |
+
"embd_pdrop": 0.1,
|
8 |
+
"eos_token_id": 98,
|
9 |
+
"gradient_checkpointing": false,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 37,
|
14 |
+
"layer_norm_epsilon": 1e-05,
|
15 |
+
"model_type": "gpt2",
|
16 |
+
"n_ctx": 512,
|
17 |
+
"n_embd": 32,
|
18 |
+
"n_head": 4,
|
19 |
+
"n_inner": null,
|
20 |
+
"n_layer": 5,
|
21 |
+
"n_positions": 512,
|
22 |
+
"neuron": {
|
23 |
+
"auto_cast_type": "f32",
|
24 |
+
"batch_size": 2,
|
25 |
+
"compiler_type": "neuronx-cc",
|
26 |
+
"compiler_version": "2.5.0.28+1be23f232",
|
27 |
+
"neuron_kwargs": {
|
28 |
+
"n_positions": 512
|
29 |
+
},
|
30 |
+
"num_cores": 2,
|
31 |
+
"task": "text-generation"
|
32 |
+
},
|
33 |
+
"pad_token_id": 98,
|
34 |
+
"reorder_and_upcast_attn": false,
|
35 |
+
"resid_pdrop": 0.1,
|
36 |
+
"scale_attn_by_inverse_layer_idx": false,
|
37 |
+
"scale_attn_weights": true,
|
38 |
+
"summary_activation": null,
|
39 |
+
"summary_first_dropout": 0.1,
|
40 |
+
"summary_proj_to_labels": true,
|
41 |
+
"summary_type": "cls_index",
|
42 |
+
"summary_use_proj": true,
|
43 |
+
"transformers_version": "4.31.0.dev0",
|
44 |
+
"type_vocab_size": 16,
|
45 |
+
"use_cache": true,
|
46 |
+
"vocab_size": 1000
|
47 |
+
}
|