grsilva commited on
Commit
aad5bd3
1 Parent(s): 67b4eb1

Uploading the model files.

Browse files
added_tokens.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"<obj>": 50265, "<head>": 50268, "<subj>": 50266, "</tail>": 50271, "<tail>": 50270, "</head>": 50269, "<triplet>": 50267}
config.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "C:\\Users\\Gabriel\\Downloads\\rebel-main\\rebel-main\\model\\Rebel-large",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "BartForConditionalGeneration"
9
+ ],
10
+ "attention_dropout": 0.1,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.1,
13
+ "classifier_dropout": 0.0,
14
+ "d_model": 1024,
15
+ "decoder_attention_heads": 16,
16
+ "decoder_ffn_dim": 4096,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 12,
19
+ "decoder_start_token_id": 0,
20
+ "dropout": 0.1,
21
+ "encoder_attention_heads": 16,
22
+ "encoder_ffn_dim": 4096,
23
+ "encoder_layerdrop": 0.0,
24
+ "encoder_layers": 12,
25
+ "eos_token_id": 2,
26
+ "forced_eos_token_id": 2,
27
+ "gradient_checkpointing": false,
28
+ "id2label": {
29
+ "0": "LABEL_0",
30
+ "1": "LABEL_1",
31
+ "2": "LABEL_2"
32
+ },
33
+ "init_std": 0.02,
34
+ "is_encoder_decoder": true,
35
+ "label2id": {
36
+ "LABEL_0": 0,
37
+ "LABEL_1": 1,
38
+ "LABEL_2": 2
39
+ },
40
+ "max_position_embeddings": 1024,
41
+ "model_type": "bart",
42
+ "normalize_before": false,
43
+ "num_beams": 4,
44
+ "num_hidden_layers": 12,
45
+ "pad_token_id": 1,
46
+ "scale_embedding": false,
47
+ "task_specific_params": {
48
+ "summarization": {
49
+ "length_penalty": 1.0,
50
+ "max_length": 128,
51
+ "min_length": 12,
52
+ "num_beams": 4
53
+ },
54
+ "summarization_cnn": {
55
+ "length_penalty": 2.0,
56
+ "max_length": 142,
57
+ "min_length": 56,
58
+ "num_beams": 4
59
+ },
60
+ "summarization_xsum": {
61
+ "length_penalty": 1.0,
62
+ "max_length": 62,
63
+ "min_length": 11,
64
+ "num_beams": 6
65
+ }
66
+ },
67
+ "torch_dtype": "float32",
68
+ "transformers_version": "4.19.2",
69
+ "use_cache": true,
70
+ "vocab_size": 50272
71
+ }
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:b33268acc14b959c00c20475f23e6600b9053e7cb2e2bee1e4b0d301fd6d9492
3
+ size 1625563402
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": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": false}, "additional_special_tokens": ["<obj>", "<subj>", "<triplet>", "<head>", "</head>", "<tail>", "</tail>"]}
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>", "model_max_length": 1024, "additional_special_tokens": ["<obj>", "<subj>", "<triplet>", "<head>", "</head>", "<tail>", "</tail>"], "special_tokens_map_file": null, "name_or_path": "facebook/bart-large"}
vocab.json ADDED
The diff for this file is too large to render. See raw diff