mozharovsky
commited on
Commit
•
ab369d4
1
Parent(s):
0899d84
add bart model files from mozharovsky
Browse files- config.json +44 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"activation_dropout": 0.0,
|
3 |
+
"activation_function": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"BartForConditionalGeneration"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"classifier_dropout": 0.0,
|
10 |
+
"d_model": 768,
|
11 |
+
"decoder_attention_heads": 16,
|
12 |
+
"decoder_ffn_dim": 3072,
|
13 |
+
"decoder_layerdrop": 0.0,
|
14 |
+
"decoder_layers": 8,
|
15 |
+
"decoder_start_token_id": 2,
|
16 |
+
"dropout": 0.1,
|
17 |
+
"encoder_attention_heads": 16,
|
18 |
+
"encoder_ffn_dim": 3072,
|
19 |
+
"encoder_layerdrop": 0.0,
|
20 |
+
"encoder_layers": 8,
|
21 |
+
"eos_token_id": 2,
|
22 |
+
"force_bos_token_to_be_generated": false,
|
23 |
+
"gradient_checkpointing": false,
|
24 |
+
"id2label": {
|
25 |
+
"0": "LABEL_0",
|
26 |
+
"1": "LABEL_1",
|
27 |
+
"2": "LABEL_2"
|
28 |
+
},
|
29 |
+
"init_std": 0.02,
|
30 |
+
"is_encoder_decoder": true,
|
31 |
+
"label2id": {
|
32 |
+
"LABEL_0": 0,
|
33 |
+
"LABEL_1": 1,
|
34 |
+
"LABEL_2": 2
|
35 |
+
},
|
36 |
+
"max_position_embeddings": 512,
|
37 |
+
"model_type": "bart",
|
38 |
+
"num_hidden_layers": 8,
|
39 |
+
"pad_token_id": 1,
|
40 |
+
"scale_embedding": false,
|
41 |
+
"transformers_version": "4.2.1",
|
42 |
+
"use_cache": true,
|
43 |
+
"vocab_size": 20009
|
44 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:43b4157f7d255c73eb39d3fd859ed86550f12d70f5d34fb9ac42b03186b2c724
|
3 |
+
size 594118687
|
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>"}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "<unk>", "bos_token": "<s>", "eos_token": "</s>", "add_prefix_space": false, "errors": "replace", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": "<mask>", "trim_offsets": true, "lowercase": false, "model_max_length": 512}
|