root
commited on
Commit
•
e85647c
1
Parent(s):
9d44608
first commit
Browse files- config.json +46 -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,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "IlyaGusev/mbart_ru_sum_gazeta",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"add_bias_logits": false,
|
6 |
+
"add_final_layer_norm": true,
|
7 |
+
"architectures": [
|
8 |
+
"MBartForConditionalGeneration"
|
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 |
+
"force_bos_token_to_be_generated": false,
|
27 |
+
"forced_eos_token_id": 2,
|
28 |
+
"init_std": 0.02,
|
29 |
+
"is_encoder_decoder": true,
|
30 |
+
"max_length": 200,
|
31 |
+
"max_position_embeddings": 1024,
|
32 |
+
"model_type": "mbart",
|
33 |
+
"normalize_before": true,
|
34 |
+
"normalize_embedding": true,
|
35 |
+
"num_beams": 5,
|
36 |
+
"num_hidden_layers": 12,
|
37 |
+
"output_past": true,
|
38 |
+
"pad_token_id": 1,
|
39 |
+
"scale_embedding": true,
|
40 |
+
"static_position_embeddings": false,
|
41 |
+
"tie_word_embeddings": false,
|
42 |
+
"torch_dtype": "float32",
|
43 |
+
"transformers_version": "4.14.1",
|
44 |
+
"use_cache": true,
|
45 |
+
"vocab_size": 250027
|
46 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:46c7d47751c5837b4414fa826c20f9a392b4b1d54f90daf5fbe1d78b874a12ef
|
3 |
+
size 3468710071
|
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>", "unk_token": "<unk>", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "sp_model_kwargs": {}, "tokenizer_file": null, "src_lang": "en_XX", "tgt_lang": "ru_RU", "additional_special_tokens": null, "model_max_length": 1024, "name_or_path": "IlyaGusev/mbart_ru_sum_gazeta", "special_tokens_map_file": "/tmp/xdg_cache/huggingface/transformers/e34af7dad6f98090adf3b00bcf0392abf424166abab95f9af2e40603cb575cf9.72fa8565f9c8b5dc27e7ac070020aec80359d9da2e5628b3f313f41bf44d322c", "tokenizer_class": "MBartTokenizer"}
|