add model
Browse files- config.json +96 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "gogamza/kobart-base-v1",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": false,
|
7 |
+
"architectures": [
|
8 |
+
"BartForSequenceClassification"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.0,
|
11 |
+
"author": "Heewon Jeon([email protected])",
|
12 |
+
"bos_token_id": 0,
|
13 |
+
"classif_dropout": 0.1,
|
14 |
+
"classifier_dropout": 0.1,
|
15 |
+
"d_model": 768,
|
16 |
+
"decoder_attention_heads": 16,
|
17 |
+
"decoder_ffn_dim": 3072,
|
18 |
+
"decoder_layerdrop": 0.0,
|
19 |
+
"decoder_layers": 6,
|
20 |
+
"decoder_start_token_id": 1,
|
21 |
+
"do_blenderbot_90_layernorm": false,
|
22 |
+
"dropout": 0.1,
|
23 |
+
"encoder_attention_heads": 16,
|
24 |
+
"encoder_ffn_dim": 3072,
|
25 |
+
"encoder_layerdrop": 0.0,
|
26 |
+
"encoder_layers": 6,
|
27 |
+
"eos_token_id": 1,
|
28 |
+
"extra_pos_embeddings": 2,
|
29 |
+
"force_bos_token_to_be_generated": false,
|
30 |
+
"forced_eos_token_id": 1,
|
31 |
+
"gradient_checkpointing": false,
|
32 |
+
"id2label": {
|
33 |
+
"0": "LABEL_0",
|
34 |
+
"1": "LABEL_1",
|
35 |
+
"2": "LABEL_2",
|
36 |
+
"3": "LABEL_3",
|
37 |
+
"4": "LABEL_4",
|
38 |
+
"5": "LABEL_5",
|
39 |
+
"6": "LABEL_6",
|
40 |
+
"7": "LABEL_7",
|
41 |
+
"8": "LABEL_8",
|
42 |
+
"9": "LABEL_9",
|
43 |
+
"10": "LABEL_10",
|
44 |
+
"11": "LABEL_11",
|
45 |
+
"12": "LABEL_12",
|
46 |
+
"13": "LABEL_13",
|
47 |
+
"14": "LABEL_14",
|
48 |
+
"15": "LABEL_15",
|
49 |
+
"16": "LABEL_16",
|
50 |
+
"17": "LABEL_17",
|
51 |
+
"18": "LABEL_18",
|
52 |
+
"19": "LABEL_19",
|
53 |
+
"20": "LABEL_20",
|
54 |
+
"21": "LABEL_21"
|
55 |
+
},
|
56 |
+
"init_std": 0.02,
|
57 |
+
"is_encoder_decoder": true,
|
58 |
+
"kobart_version": 1.0,
|
59 |
+
"label2id": {
|
60 |
+
"LABEL_0": 0,
|
61 |
+
"LABEL_1": 1,
|
62 |
+
"LABEL_10": 10,
|
63 |
+
"LABEL_11": 11,
|
64 |
+
"LABEL_12": 12,
|
65 |
+
"LABEL_13": 13,
|
66 |
+
"LABEL_14": 14,
|
67 |
+
"LABEL_15": 15,
|
68 |
+
"LABEL_16": 16,
|
69 |
+
"LABEL_17": 17,
|
70 |
+
"LABEL_18": 18,
|
71 |
+
"LABEL_19": 19,
|
72 |
+
"LABEL_2": 2,
|
73 |
+
"LABEL_20": 20,
|
74 |
+
"LABEL_21": 21,
|
75 |
+
"LABEL_3": 3,
|
76 |
+
"LABEL_4": 4,
|
77 |
+
"LABEL_5": 5,
|
78 |
+
"LABEL_6": 6,
|
79 |
+
"LABEL_7": 7,
|
80 |
+
"LABEL_8": 8,
|
81 |
+
"LABEL_9": 9
|
82 |
+
},
|
83 |
+
"max_position_embeddings": 1026,
|
84 |
+
"model_type": "bart",
|
85 |
+
"normalize_before": false,
|
86 |
+
"normalize_embedding": true,
|
87 |
+
"num_hidden_layers": 6,
|
88 |
+
"pad_token_id": 3,
|
89 |
+
"scale_embedding": false,
|
90 |
+
"static_position_embeddings": false,
|
91 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
92 |
+
"torch_dtype": "float32",
|
93 |
+
"transformers_version": "4.12.5",
|
94 |
+
"use_cache": true,
|
95 |
+
"vocab_size": 30000
|
96 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b2ec2c436c86901ace12bfe7e1f502fa71c63b45593ca6d27ccb867797aa3c56
|
3 |
+
size 497963635
|