sismetanin
commited on
Commit
•
36747a1
1
Parent(s):
089171c
initial commit
Browse files- config.json +60 -0
- pytorch_model.bin +3 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +1 -0
- tokenizer_config.json +1 -0
config.json
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "sentiment_hf/ft_models/rusentiment_hf/rusentiment_hf-mbart_ru_sum_gazeta-l128-b32_lr2e-5_e4/v2",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": true,
|
7 |
+
"architectures": [
|
8 |
+
"MBartForSequenceClassification"
|
9 |
+
],
|
10 |
+
"attention_dropout": 0.1,
|
11 |
+
"bos_token_id": 0,
|
12 |
+
"classifier_dropout": 0.0,
|
13 |
+
"d_model": 1024,
|
14 |
+
"decoder_attention_heads": 16,
|
15 |
+
"decoder_ffn_dim": 4096,
|
16 |
+
"decoder_layerdrop": 0.0,
|
17 |
+
"decoder_layers": 12,
|
18 |
+
"decoder_start_token_id": 250021,
|
19 |
+
"dropout": 0.1,
|
20 |
+
"encoder_attention_heads": 16,
|
21 |
+
"encoder_ffn_dim": 4096,
|
22 |
+
"encoder_layerdrop": 0.0,
|
23 |
+
"encoder_layers": 12,
|
24 |
+
"eos_token_id": 2,
|
25 |
+
"extra_pos_embeddings": 2,
|
26 |
+
"finetuning_task": "sst2",
|
27 |
+
"force_bos_token_to_be_generated": false,
|
28 |
+
"gradient_checkpointing": false,
|
29 |
+
"id2label": {
|
30 |
+
"0": "LABEL_0",
|
31 |
+
"1": "LABEL_1",
|
32 |
+
"2": "LABEL_2",
|
33 |
+
"3": "LABEL_3",
|
34 |
+
"4": "LABEL_4"
|
35 |
+
},
|
36 |
+
"init_std": 0.02,
|
37 |
+
"is_encoder_decoder": true,
|
38 |
+
"label2id": {
|
39 |
+
"LABEL_0": 0,
|
40 |
+
"LABEL_1": 1,
|
41 |
+
"LABEL_2": 2,
|
42 |
+
"LABEL_3": 3,
|
43 |
+
"LABEL_4": 4
|
44 |
+
},
|
45 |
+
"max_length": 602,
|
46 |
+
"max_position_embeddings": 1024,
|
47 |
+
"model_type": "mbart",
|
48 |
+
"normalize_before": true,
|
49 |
+
"normalize_embedding": true,
|
50 |
+
"num_beams": 5,
|
51 |
+
"num_hidden_layers": 12,
|
52 |
+
"output_past": true,
|
53 |
+
"pad_token_id": 1,
|
54 |
+
"scale_embedding": true,
|
55 |
+
"static_position_embeddings": false,
|
56 |
+
"tie_word_embeddings": false,
|
57 |
+
"transformers_version": "4.2.2",
|
58 |
+
"use_cache": true,
|
59 |
+
"vocab_size": 250027
|
60 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:224a128011ff4490118265e8c8d551b3c40775be400e7e7737b85ade2f273daf
|
3 |
+
size 2447824046
|
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
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "<s>", "mask_token": "<mask>", "additional_special_tokens": ["ar_AR", "cs_CZ", "de_DE", "en_XX", "es_XX", "et_EE", "fi_FI", "fr_XX", "gu_IN", "hi_IN", "it_IT", "ja_XX", "kk_KZ", "ko_KR", "lt_LT", "lv_LV", "my_MM", "ne_NP", "nl_XX", "ro_RO", "ru_RU", "si_LK", "tr_TR", "vi_VN", "zh_CN"]}
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "sep_token": "</s>", "cls_token": "<s>", "unk_token": "<unk>", "pad_token": "<pad>", "mask_token": "<mask>", "model_max_length": 1024, "name_or_path": "sentiment_hf/ft_models/rusentiment_hf/rusentiment_hf-mbart_ru_sum_gazeta-l128-b32_lr2e-5_e4/v2", "special_tokens_map_file": "/home/ssmetanin/.cache/huggingface/transformers/e34af7dad6f98090adf3b00bcf0392abf424166abab95f9af2e40603cb575cf9.72fa8565f9c8b5dc27e7ac070020aec80359d9da2e5628b3f313f41bf44d322c", "tokenizer_file": null}
|