AlekseyKorshuk
commited on
Commit
•
a199cee
1
Parent(s):
9582e20
Upload config.json
Browse files- config.json +66 -0
config.json
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "test",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu_new",
|
5 |
+
"architectures": [
|
6 |
+
"OPTForCausalLM"
|
7 |
+
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"attn_pdrop": 0.1,
|
10 |
+
"bos_token_id": 50256,
|
11 |
+
"classifier_dropout": 0.0,
|
12 |
+
"d_model": 1024,
|
13 |
+
"decoder_attention_heads": 16,
|
14 |
+
"decoder_ffn_dim": 4096,
|
15 |
+
"decoder_layerdrop": 0.0,
|
16 |
+
"decoder_layers": 24,
|
17 |
+
"decoder_start_token_id": 2,
|
18 |
+
"do_sample": true,
|
19 |
+
"dropout": 0.1,
|
20 |
+
"embd_pdrop": 0.1,
|
21 |
+
"embed_dim": 512,
|
22 |
+
"eos_token_id": 50256,
|
23 |
+
"forced_eos_token_id": 2,
|
24 |
+
"id2label": {
|
25 |
+
"0": "LABEL_0",
|
26 |
+
"1": "LABEL_1",
|
27 |
+
"2": "LABEL_2"
|
28 |
+
},
|
29 |
+
"init_std": 0.02,
|
30 |
+
"initializer_range": 0.02,
|
31 |
+
"is_decoder": true,
|
32 |
+
"is_encoder_decoder": false,
|
33 |
+
"label2id": {
|
34 |
+
"LABEL_0": 0,
|
35 |
+
"LABEL_1": 1,
|
36 |
+
"LABEL_2": 2
|
37 |
+
},
|
38 |
+
"layer_norm_epsilon": 1e-05,
|
39 |
+
"max_length": 50,
|
40 |
+
"max_position_embeddings": 2048,
|
41 |
+
"model_type": "opt",
|
42 |
+
"n_ctx": 1024,
|
43 |
+
"n_embd": 768,
|
44 |
+
"n_head": 12,
|
45 |
+
"n_layer": 12,
|
46 |
+
"n_positions": 1024,
|
47 |
+
"pad_token_id": 1,
|
48 |
+
"resid_pdrop": 0.1,
|
49 |
+
"scale_embedding": false,
|
50 |
+
"share_input_output_embed": true,
|
51 |
+
"summary_activation": null,
|
52 |
+
"summary_first_dropout": 0.1,
|
53 |
+
"summary_proj_to_labels": true,
|
54 |
+
"summary_type": "cls_index",
|
55 |
+
"summary_use_proj": true,
|
56 |
+
"task_specific_params": {
|
57 |
+
"text-generation": {
|
58 |
+
"do_sample": true,
|
59 |
+
"max_length": 50
|
60 |
+
}
|
61 |
+
},
|
62 |
+
"torch_dtype": "float32",
|
63 |
+
"transformers_version": "4.19.0.dev0",
|
64 |
+
"use_cache": false,
|
65 |
+
"vocab_size": 50272
|
66 |
+
}
|