add model
Browse files- config.json +71 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "sshleifer/distilbart-xsum-9-6",
|
3 |
+
"_num_labels": 3,
|
4 |
+
"activation_dropout": 0.0,
|
5 |
+
"activation_function": "gelu",
|
6 |
+
"add_bias_logits": false,
|
7 |
+
"add_final_layer_norm": false,
|
8 |
+
"architectures": [
|
9 |
+
"BartForConditionalGeneration"
|
10 |
+
],
|
11 |
+
"attention_dropout": 0.0,
|
12 |
+
"bos_token_id": 0,
|
13 |
+
"classif_dropout": 0.0,
|
14 |
+
"classifier_dropout": 0.0,
|
15 |
+
"d_model": 1024,
|
16 |
+
"decoder_attention_heads": 16,
|
17 |
+
"decoder_ffn_dim": 4096,
|
18 |
+
"decoder_layerdrop": 0.0,
|
19 |
+
"decoder_layers": 6,
|
20 |
+
"decoder_start_token_id": 2,
|
21 |
+
"do_sample": true,
|
22 |
+
"dropout": 0.1,
|
23 |
+
"early_stopping": true,
|
24 |
+
"encoder_attention_heads": 16,
|
25 |
+
"encoder_ffn_dim": 4096,
|
26 |
+
"encoder_layerdrop": 0.0,
|
27 |
+
"encoder_layers": 9,
|
28 |
+
"eos_token_id": 2,
|
29 |
+
"eos_token_ids": [
|
30 |
+
2
|
31 |
+
],
|
32 |
+
"extra_pos_embeddings": 2,
|
33 |
+
"forced_eos_token_id": 2,
|
34 |
+
"gradient_checkpointing": false,
|
35 |
+
"id2label": {
|
36 |
+
"0": "LABEL_0",
|
37 |
+
"1": "LABEL_1",
|
38 |
+
"2": "LABEL_2"
|
39 |
+
},
|
40 |
+
"init_std": 0.02,
|
41 |
+
"is_encoder_decoder": true,
|
42 |
+
"label2id": {
|
43 |
+
"LABEL_0": 0,
|
44 |
+
"LABEL_1": 1,
|
45 |
+
"LABEL_2": 2
|
46 |
+
},
|
47 |
+
"length_penalty": 0.5,
|
48 |
+
"max_length": 1024,
|
49 |
+
"max_position_embeddings": 1024,
|
50 |
+
"min_length": 10,
|
51 |
+
"model_type": "bart",
|
52 |
+
"no_repeat_ngram_size": 3,
|
53 |
+
"normalize_before": false,
|
54 |
+
"normalize_embedding": true,
|
55 |
+
"num_hidden_layers": 9,
|
56 |
+
"output_past": true,
|
57 |
+
"pad_token_id": 1,
|
58 |
+
"prefix": " ",
|
59 |
+
"replacing_rate": 0,
|
60 |
+
"scale_embedding": false,
|
61 |
+
"static_position_embeddings": false,
|
62 |
+
"student_decoder_layers": null,
|
63 |
+
"student_encoder_layers": null,
|
64 |
+
"temperature": 0.9,
|
65 |
+
"top_k": 20,
|
66 |
+
"top_p": 50.0,
|
67 |
+
"torch_dtype": "float32",
|
68 |
+
"transformers_version": "4.19.0",
|
69 |
+
"use_cache": true,
|
70 |
+
"vocab_size": 50264
|
71 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cd2ca280d7d2db9165d4a2a00a90b8f926f3e4cb242319c55a0140bf072f9b3b
|
3 |
+
size 1071197955
|