52100176-NguyenTrongDat
commited on
Commit
•
ad0a4ef
1
Parent(s):
1a5b22e
Training in progress, epoch 0
Browse files- config.json +30 -177
- dict.txt +0 -0
- model.safetensors +2 -2
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +13 -5
- tokenizer_config.json +21 -23
- training_args.bin +1 -1
config.json
CHANGED
@@ -1,184 +1,37 @@
|
|
1 |
{
|
|
|
|
|
|
|
2 |
"architectures": [
|
3 |
-
"
|
4 |
],
|
5 |
-
"
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
"encoder_no_repeat_ngram_size": 0,
|
24 |
-
"eos_token_id": null,
|
25 |
-
"exponential_decay_length_penalty": null,
|
26 |
-
"finetuning_task": null,
|
27 |
-
"forced_bos_token_id": null,
|
28 |
-
"forced_eos_token_id": null,
|
29 |
-
"hidden_act": "gelu",
|
30 |
-
"hidden_dropout_prob": 0.1,
|
31 |
-
"hidden_size": 768,
|
32 |
-
"id2label": {
|
33 |
-
"0": "LABEL_0",
|
34 |
-
"1": "LABEL_1"
|
35 |
-
},
|
36 |
-
"initializer_range": 0.02,
|
37 |
-
"intermediate_size": 3072,
|
38 |
-
"is_decoder": true,
|
39 |
-
"is_encoder_decoder": false,
|
40 |
-
"label2id": {
|
41 |
-
"LABEL_0": 0,
|
42 |
-
"LABEL_1": 1
|
43 |
-
},
|
44 |
-
"layer_norm_eps": 1e-12,
|
45 |
-
"length_penalty": 1.0,
|
46 |
-
"max_length": 20,
|
47 |
-
"max_position_embeddings": 512,
|
48 |
-
"min_length": 0,
|
49 |
-
"model_type": "bert",
|
50 |
-
"no_repeat_ngram_size": 0,
|
51 |
-
"num_attention_heads": 12,
|
52 |
-
"num_beam_groups": 1,
|
53 |
-
"num_beams": 1,
|
54 |
-
"num_hidden_layers": 12,
|
55 |
-
"num_return_sequences": 1,
|
56 |
-
"output_attentions": false,
|
57 |
-
"output_hidden_states": false,
|
58 |
-
"output_scores": false,
|
59 |
-
"pad_token_id": 0,
|
60 |
-
"pooler_fc_size": 768,
|
61 |
-
"pooler_num_attention_heads": 12,
|
62 |
-
"pooler_num_fc_layers": 3,
|
63 |
-
"pooler_size_per_head": 128,
|
64 |
-
"pooler_type": "first_token_transform",
|
65 |
-
"position_embedding_type": "absolute",
|
66 |
-
"prefix": null,
|
67 |
-
"problem_type": null,
|
68 |
-
"pruned_heads": {},
|
69 |
-
"remove_invalid_values": false,
|
70 |
-
"repetition_penalty": 1.0,
|
71 |
-
"return_dict": true,
|
72 |
-
"return_dict_in_generate": false,
|
73 |
-
"sep_token_id": null,
|
74 |
-
"suppress_tokens": null,
|
75 |
-
"task_specific_params": null,
|
76 |
-
"temperature": 1.0,
|
77 |
-
"tf_legacy_loss": false,
|
78 |
-
"tie_encoder_decoder": false,
|
79 |
-
"tie_word_embeddings": true,
|
80 |
-
"tokenizer_class": null,
|
81 |
-
"top_k": 50,
|
82 |
-
"top_p": 1.0,
|
83 |
-
"torch_dtype": null,
|
84 |
-
"torchscript": false,
|
85 |
-
"type_vocab_size": 2,
|
86 |
-
"typical_p": 1.0,
|
87 |
-
"use_bfloat16": false,
|
88 |
-
"use_cache": true,
|
89 |
-
"vocab_size": 119547
|
90 |
-
},
|
91 |
-
"decoder_start_token_id": 101,
|
92 |
-
"encoder": {
|
93 |
-
"_name_or_path": "bert-base-multilingual-cased",
|
94 |
-
"add_cross_attention": false,
|
95 |
-
"architectures": [
|
96 |
-
"BertForMaskedLM"
|
97 |
-
],
|
98 |
-
"attention_probs_dropout_prob": 0.1,
|
99 |
-
"bad_words_ids": null,
|
100 |
-
"begin_suppress_tokens": null,
|
101 |
-
"bos_token_id": null,
|
102 |
-
"chunk_size_feed_forward": 0,
|
103 |
-
"classifier_dropout": null,
|
104 |
-
"cross_attention_hidden_size": null,
|
105 |
-
"decoder_start_token_id": null,
|
106 |
-
"directionality": "bidi",
|
107 |
-
"diversity_penalty": 0.0,
|
108 |
-
"do_sample": false,
|
109 |
-
"early_stopping": false,
|
110 |
-
"encoder_no_repeat_ngram_size": 0,
|
111 |
-
"eos_token_id": null,
|
112 |
-
"exponential_decay_length_penalty": null,
|
113 |
-
"finetuning_task": null,
|
114 |
-
"forced_bos_token_id": null,
|
115 |
-
"forced_eos_token_id": null,
|
116 |
-
"hidden_act": "gelu",
|
117 |
-
"hidden_dropout_prob": 0.1,
|
118 |
-
"hidden_size": 768,
|
119 |
-
"id2label": {
|
120 |
-
"0": "LABEL_0",
|
121 |
-
"1": "LABEL_1"
|
122 |
-
},
|
123 |
-
"initializer_range": 0.02,
|
124 |
-
"intermediate_size": 3072,
|
125 |
-
"is_decoder": false,
|
126 |
-
"is_encoder_decoder": false,
|
127 |
-
"label2id": {
|
128 |
-
"LABEL_0": 0,
|
129 |
-
"LABEL_1": 1
|
130 |
-
},
|
131 |
-
"layer_norm_eps": 1e-12,
|
132 |
-
"length_penalty": 1.0,
|
133 |
-
"max_length": 20,
|
134 |
-
"max_position_embeddings": 512,
|
135 |
-
"min_length": 0,
|
136 |
-
"model_type": "bert",
|
137 |
-
"no_repeat_ngram_size": 0,
|
138 |
-
"num_attention_heads": 12,
|
139 |
-
"num_beam_groups": 1,
|
140 |
-
"num_beams": 1,
|
141 |
-
"num_hidden_layers": 12,
|
142 |
-
"num_return_sequences": 1,
|
143 |
-
"output_attentions": false,
|
144 |
-
"output_hidden_states": false,
|
145 |
-
"output_scores": false,
|
146 |
-
"pad_token_id": 0,
|
147 |
-
"pooler_fc_size": 768,
|
148 |
-
"pooler_num_attention_heads": 12,
|
149 |
-
"pooler_num_fc_layers": 3,
|
150 |
-
"pooler_size_per_head": 128,
|
151 |
-
"pooler_type": "first_token_transform",
|
152 |
-
"position_embedding_type": "absolute",
|
153 |
-
"prefix": null,
|
154 |
-
"problem_type": null,
|
155 |
-
"pruned_heads": {},
|
156 |
-
"remove_invalid_values": false,
|
157 |
-
"repetition_penalty": 1.0,
|
158 |
-
"return_dict": true,
|
159 |
-
"return_dict_in_generate": false,
|
160 |
-
"sep_token_id": null,
|
161 |
-
"suppress_tokens": null,
|
162 |
-
"task_specific_params": null,
|
163 |
-
"temperature": 1.0,
|
164 |
-
"tf_legacy_loss": false,
|
165 |
-
"tie_encoder_decoder": false,
|
166 |
-
"tie_word_embeddings": true,
|
167 |
-
"tokenizer_class": null,
|
168 |
-
"top_k": 50,
|
169 |
-
"top_p": 1.0,
|
170 |
-
"torch_dtype": null,
|
171 |
-
"torchscript": false,
|
172 |
-
"type_vocab_size": 2,
|
173 |
-
"typical_p": 1.0,
|
174 |
-
"use_bfloat16": false,
|
175 |
-
"use_cache": true,
|
176 |
-
"vocab_size": 119547
|
177 |
-
},
|
178 |
"is_encoder_decoder": true,
|
179 |
-
"
|
180 |
-
"
|
|
|
|
|
|
|
|
|
181 |
"torch_dtype": "float32",
|
182 |
"transformers_version": "4.40.2",
|
183 |
-
"
|
|
|
184 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "vinai/bartpho-syllable",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
"architectures": [
|
6 |
+
"MBartForConditionalGeneration"
|
7 |
],
|
8 |
+
"attention_dropout": 0.0,
|
9 |
+
"bos_token_id": 0,
|
10 |
+
"classifier_dropout": 0.0,
|
11 |
+
"d_model": 1024,
|
12 |
+
"decoder_attention_heads": 16,
|
13 |
+
"decoder_ffn_dim": 4096,
|
14 |
+
"decoder_layerdrop": 0.0,
|
15 |
+
"decoder_layers": 12,
|
16 |
+
"decoder_start_token_id": 2,
|
17 |
+
"dropout": 0.1,
|
18 |
+
"encoder_attention_heads": 16,
|
19 |
+
"encoder_ffn_dim": 4096,
|
20 |
+
"encoder_layerdrop": 0.0,
|
21 |
+
"encoder_layers": 12,
|
22 |
+
"eos_token_id": 2,
|
23 |
+
"forced_eos_token_id": 2,
|
24 |
+
"gradient_checkpointing": false,
|
25 |
+
"init_std": 0.02,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
"is_encoder_decoder": true,
|
27 |
+
"max_position_embeddings": 1024,
|
28 |
+
"model_type": "mbart",
|
29 |
+
"num_hidden_layers": 12,
|
30 |
+
"pad_token_id": 1,
|
31 |
+
"scale_embedding": false,
|
32 |
+
"tokenizer_class": "BartphoTokenizer",
|
33 |
"torch_dtype": "float32",
|
34 |
"transformers_version": "4.40.2",
|
35 |
+
"use_cache": true,
|
36 |
+
"vocab_size": 40030
|
37 |
}
|
dict.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:07a6317917347567638717d8a78f4d520d3d4e710590a40bf2d641fe060f6ebb
|
3 |
+
size 1583480280
|
sentencepiece.bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
|
3 |
+
size 5069051
|
special_tokens_map.json
CHANGED
@@ -1,7 +1,15 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
|
|
1 |
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"mask_token": {
|
6 |
+
"content": "<mask>",
|
7 |
+
"lstrip": true,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"pad_token": "<pad>",
|
13 |
+
"sep_token": "</s>",
|
14 |
+
"unk_token": "<unk>"
|
15 |
}
|
tokenizer_config.json
CHANGED
@@ -1,57 +1,55 @@
|
|
1 |
{
|
2 |
"added_tokens_decoder": {
|
3 |
"0": {
|
4 |
-
"content": "
|
5 |
"lstrip": false,
|
6 |
"normalized": false,
|
7 |
"rstrip": false,
|
8 |
"single_word": false,
|
9 |
"special": true
|
10 |
},
|
11 |
-
"
|
12 |
-
"content": "
|
13 |
"lstrip": false,
|
14 |
"normalized": false,
|
15 |
"rstrip": false,
|
16 |
"single_word": false,
|
17 |
"special": true
|
18 |
},
|
19 |
-
"
|
20 |
-
"content": "
|
21 |
"lstrip": false,
|
22 |
"normalized": false,
|
23 |
"rstrip": false,
|
24 |
"single_word": false,
|
25 |
"special": true
|
26 |
},
|
27 |
-
"
|
28 |
-
"content": "
|
29 |
"lstrip": false,
|
30 |
"normalized": false,
|
31 |
"rstrip": false,
|
32 |
"single_word": false,
|
33 |
"special": true
|
34 |
},
|
35 |
-
"
|
36 |
-
"content": "
|
37 |
-
"lstrip":
|
38 |
-
"normalized":
|
39 |
"rstrip": false,
|
40 |
"single_word": false,
|
41 |
"special": true
|
42 |
}
|
43 |
},
|
|
|
44 |
"clean_up_tokenization_spaces": true,
|
45 |
-
"cls_token": "
|
46 |
-
"
|
47 |
-
"
|
48 |
-
"
|
49 |
-
"
|
50 |
-
"
|
51 |
-
"
|
52 |
-
"
|
53 |
-
"
|
54 |
-
"tokenize_chinese_chars": true,
|
55 |
-
"tokenizer_class": "BertTokenizer",
|
56 |
-
"unk_token": "[UNK]"
|
57 |
}
|
|
|
1 |
{
|
2 |
"added_tokens_decoder": {
|
3 |
"0": {
|
4 |
+
"content": "<s>",
|
5 |
"lstrip": false,
|
6 |
"normalized": false,
|
7 |
"rstrip": false,
|
8 |
"single_word": false,
|
9 |
"special": true
|
10 |
},
|
11 |
+
"1": {
|
12 |
+
"content": "<pad>",
|
13 |
"lstrip": false,
|
14 |
"normalized": false,
|
15 |
"rstrip": false,
|
16 |
"single_word": false,
|
17 |
"special": true
|
18 |
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
"lstrip": false,
|
22 |
"normalized": false,
|
23 |
"rstrip": false,
|
24 |
"single_word": false,
|
25 |
"special": true
|
26 |
},
|
27 |
+
"3": {
|
28 |
+
"content": "<unk>",
|
29 |
"lstrip": false,
|
30 |
"normalized": false,
|
31 |
"rstrip": false,
|
32 |
"single_word": false,
|
33 |
"special": true
|
34 |
},
|
35 |
+
"40029": {
|
36 |
+
"content": "<mask>",
|
37 |
+
"lstrip": true,
|
38 |
+
"normalized": true,
|
39 |
"rstrip": false,
|
40 |
"single_word": false,
|
41 |
"special": true
|
42 |
}
|
43 |
},
|
44 |
+
"bos_token": "<s>",
|
45 |
"clean_up_tokenization_spaces": true,
|
46 |
+
"cls_token": "<s>",
|
47 |
+
"eos_token": "</s>",
|
48 |
+
"mask_token": "<mask>",
|
49 |
+
"model_max_length": 1000000000000000019884624838656,
|
50 |
+
"pad_token": "<pad>",
|
51 |
+
"sep_token": "</s>",
|
52 |
+
"sp_model_kwargs": {},
|
53 |
+
"tokenizer_class": "BartphoTokenizer",
|
54 |
+
"unk_token": "<unk>"
|
|
|
|
|
|
|
55 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5112
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dd1c8c05fe6e2c7583731a50877ec7062fd066be7ab5012323493e51829d5a3d
|
3 |
size 5112
|