commit from dsdksd
Browse files- config.json +90 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"output_attentions": false,
|
3 |
+
"output_hidden_states": false,
|
4 |
+
"use_cache": true,
|
5 |
+
"torchscript": false,
|
6 |
+
"use_bfloat16": false,
|
7 |
+
"pruned_heads": {},
|
8 |
+
"is_encoder_decoder": true,
|
9 |
+
"is_decoder": false,
|
10 |
+
"max_length": 20,
|
11 |
+
"min_length": 0,
|
12 |
+
"do_sample": false,
|
13 |
+
"early_stopping": true,
|
14 |
+
"num_beams": 4,
|
15 |
+
"temperature": 1.0,
|
16 |
+
"top_k": 50,
|
17 |
+
"top_p": 1.0,
|
18 |
+
"repetition_penalty": 1.0,
|
19 |
+
"length_penalty": 1.0,
|
20 |
+
"no_repeat_ngram_size": 3,
|
21 |
+
"bad_words_ids": null,
|
22 |
+
"num_return_sequences": 1,
|
23 |
+
"architectures": [
|
24 |
+
"BartModel",
|
25 |
+
"BartForConditionalGeneration",
|
26 |
+
"BartForSequenceClassification"
|
27 |
+
],
|
28 |
+
"finetuning_task": null,
|
29 |
+
"id2label": {
|
30 |
+
"0": "LABEL_0",
|
31 |
+
"1": "LABEL_1",
|
32 |
+
"2": "LABEL_2"
|
33 |
+
},
|
34 |
+
"label2id": {
|
35 |
+
"LABEL_0": 0,
|
36 |
+
"LABEL_1": 1,
|
37 |
+
"LABEL_2": 2
|
38 |
+
},
|
39 |
+
"prefix": null,
|
40 |
+
"bos_token_id": 0,
|
41 |
+
"pad_token_id": 1,
|
42 |
+
"eos_token_id": 2,
|
43 |
+
"decoder_start_token_id": 2,
|
44 |
+
"task_specific_params": {
|
45 |
+
"summarization": {
|
46 |
+
"length_penalty": 1.0,
|
47 |
+
"max_length": 128,
|
48 |
+
"min_length": 12,
|
49 |
+
"num_beams": 4
|
50 |
+
},
|
51 |
+
"summarization_cnn": {
|
52 |
+
"length_penalty": 2.0,
|
53 |
+
"max_length": 142,
|
54 |
+
"min_length": 56,
|
55 |
+
"num_beams": 4
|
56 |
+
},
|
57 |
+
"summarization_xsum": {
|
58 |
+
"length_penalty": 1.0,
|
59 |
+
"max_length": 62,
|
60 |
+
"min_length": 11,
|
61 |
+
"num_beams": 6
|
62 |
+
}
|
63 |
+
},
|
64 |
+
"xla_device": null,
|
65 |
+
"classif_dropout": 0.0,
|
66 |
+
"model_type": "bart",
|
67 |
+
"num_hidden_layers": 12,
|
68 |
+
"vocab_size": 50269,
|
69 |
+
"d_model": 1024,
|
70 |
+
"encoder_ffn_dim": 4096,
|
71 |
+
"encoder_layers": 12,
|
72 |
+
"encoder_attention_heads": 16,
|
73 |
+
"encoder_layerdrop": 0.0,
|
74 |
+
"decoder_layerdrop": 0.0,
|
75 |
+
"decoder_ffn_dim": 4096,
|
76 |
+
"decoder_layers": 12,
|
77 |
+
"decoder_attention_heads": 16,
|
78 |
+
"max_position_embeddings": 1024,
|
79 |
+
"init_std": 0.02,
|
80 |
+
"activation_function": "gelu",
|
81 |
+
"scale_embedding": false,
|
82 |
+
"normalize_embedding": true,
|
83 |
+
"normalize_before": false,
|
84 |
+
"add_final_layer_norm": false,
|
85 |
+
"add_bias_logits": false,
|
86 |
+
"static_position_embeddings": false,
|
87 |
+
"attention_dropout": 0.1,
|
88 |
+
"activation_dropout": 0.1,
|
89 |
+
"dropout": 0.1
|
90 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a598c415bc21024e4e35ce44311a143e08e9bd6adc3795b6aa9fe1c10df03efb
|
3 |
+
size 1625498632
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|