Spaces:
Runtime error
Runtime error
pragnakalp
commited on
Commit
•
8b9fde5
1
Parent(s):
d42e428
Upload bart_extractive_model with huggingface_hub
Browse files
bart_extractive_model/config.json
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_num_labels": 3,
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"add_final_layer_norm": false,
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"classif_dropout": 0.0,
|
9 |
+
"d_model": 1024,
|
10 |
+
"decoder_attention_heads": 16,
|
11 |
+
"decoder_ffn_dim": 4096,
|
12 |
+
"decoder_layerdrop": 0.0,
|
13 |
+
"decoder_layers": 12,
|
14 |
+
"decoder_start_token_id": 2,
|
15 |
+
"dropout": 0.1,
|
16 |
+
"early_stopping": true,
|
17 |
+
"encoder_attention_heads": 16,
|
18 |
+
"encoder_ffn_dim": 4096,
|
19 |
+
"encoder_layerdrop": 0.0,
|
20 |
+
"encoder_layers": 12,
|
21 |
+
"eos_token_id": 2,
|
22 |
+
"force_bos_token_to_be_generated": true,
|
23 |
+
"id2label": {
|
24 |
+
"0": "LABEL_0",
|
25 |
+
"1": "LABEL_1",
|
26 |
+
"2": "LABEL_2"
|
27 |
+
},
|
28 |
+
"init_std": 0.02,
|
29 |
+
"is_encoder_decoder": true,
|
30 |
+
"label2id": {
|
31 |
+
"LABEL_0": 0,
|
32 |
+
"LABEL_1": 1,
|
33 |
+
"LABEL_2": 2
|
34 |
+
},
|
35 |
+
"length_penalty": 2.0,
|
36 |
+
"max_length": 142,
|
37 |
+
"max_position_embeddings": 1024,
|
38 |
+
"min_length": 56,
|
39 |
+
"model_type": "bart",
|
40 |
+
"no_repeat_ngram_size": 3,
|
41 |
+
"normalize_before": false,
|
42 |
+
"num_beams": 4,
|
43 |
+
"num_hidden_layers": 12,
|
44 |
+
"output_past": true,
|
45 |
+
"pad_token_id": 1,
|
46 |
+
"prefix": " ",
|
47 |
+
"scale_embedding": false,
|
48 |
+
"task_specific_params": {
|
49 |
+
"summarization": {
|
50 |
+
"early_stopping": true,
|
51 |
+
"length_penalty": 2.0,
|
52 |
+
"max_length": 142,
|
53 |
+
"min_length": 56,
|
54 |
+
"no_repeat_ngram_size": 3,
|
55 |
+
"num_beams": 4
|
56 |
+
}
|
57 |
+
},
|
58 |
+
"vocab_size": 50264
|
59 |
+
}
|
bart_extractive_model/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
bart_extractive_model/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2ac2745c02ac987d82c78a14b426de58d5e4178ae8039ba1c6881eccff3e82f1
|
3 |
+
size 1625270765
|
bart_extractive_model/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|