kkpathak91
commited on
Commit
•
8758c09
1
Parent(s):
da33f9d
Model and Config Update
Browse files- evidence_retrieval/bert_base/README.md +6 -0
- evidence_retrieval/bert_base/bert_config.json +13 -0
- evidence_retrieval/bert_base/pytorch_model.bin +3 -0
- evidence_retrieval/bert_base/vocab.txt +0 -0
- evidence_retrieval/retrieval_model/model.best.pt +3 -0
- fact_checking/bert-large/config.json +39 -0
- fact_checking/bert-large/pytorch_model.bin +3 -0
- fact_checking/bert-large/special_tokens_map.json +1 -0
- fact_checking/bert-large/tokenizer_config.json +1 -0
- fact_checking/bert-large/training_args.bin +3 -0
- fact_checking/bert-large/vocab.txt +0 -0
- fact_checking/roberta-large/config.json +33 -0
- fact_checking/roberta-large/merges.txt +0 -0
- fact_checking/roberta-large/pytorch_model.bin +3 -0
- fact_checking/roberta-large/special_tokens_map.json +1 -0
- fact_checking/roberta-large/tokenizer_config.json +1 -0
- fact_checking/roberta-large/training_args.bin +3 -0
- fact_checking/roberta-large/vocab.json +0 -0
- mrc_seq2seq_v5/PLACEHOLDER +0 -0
- mrc_seq2seq_v5/bart-base/config.json +76 -0
- mrc_seq2seq_v5/bart-base/merges.txt +0 -0
- mrc_seq2seq_v5/bart-base/pytorch_model.bin +3 -0
- mrc_seq2seq_v5/bart-base/special_tokens_map.json +1 -0
- mrc_seq2seq_v5/bart-base/tokenizer_config.json +1 -0
- mrc_seq2seq_v5/bart-base/vocab.json +0 -0
evidence_retrieval/bert_base/README.md
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# BERT pretrained checkpoints
|
2 |
+
* The BERT pertained checkpoints. They can be found at [Google Drive](https://drive.google.com/open?id=1cv9dfYN_dF8GyILFbON6IUB-iU3nsNLp).
|
3 |
+
* The BERT codes and checkpoints inherit from hugginface's BERT implementation.
|
4 |
+
```
|
5 |
+
https://github.com/huggingface/transformers
|
6 |
+
```
|
evidence_retrieval/bert_base/bert_config.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"attention_probs_dropout_prob": 0.1,
|
3 |
+
"hidden_act": "gelu",
|
4 |
+
"hidden_dropout_prob": 0.1,
|
5 |
+
"hidden_size": 768,
|
6 |
+
"initializer_range": 0.02,
|
7 |
+
"intermediate_size": 3072,
|
8 |
+
"max_position_embeddings": 512,
|
9 |
+
"num_attention_heads": 12,
|
10 |
+
"num_hidden_layers": 12,
|
11 |
+
"type_vocab_size": 2,
|
12 |
+
"vocab_size": 28996
|
13 |
+
}
|
evidence_retrieval/bert_base/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6992b8cd27d7a132eafce6a8210272329a371b1c762d453588795dd3835593e
|
3 |
+
size 435779157
|
evidence_retrieval/bert_base/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
evidence_retrieval/retrieval_model/model.best.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:13650f0f9a4143573a28097a58863fc74c08399aaf3b26d4492a5ef043ebb26c
|
3 |
+
size 433299120
|
fact_checking/bert-large/config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bert-large-cased",
|
3 |
+
"architectures": [
|
4 |
+
"BertChecker"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"directionality": "bidi",
|
8 |
+
"gradient_checkpointing": false,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 1024,
|
12 |
+
"id2label": {
|
13 |
+
"0": "LABEL_0",
|
14 |
+
"1": "LABEL_1",
|
15 |
+
"2": "LABEL_2"
|
16 |
+
},
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 4096,
|
19 |
+
"label2id": {
|
20 |
+
"LABEL_0": 0,
|
21 |
+
"LABEL_1": 1,
|
22 |
+
"LABEL_2": 2
|
23 |
+
},
|
24 |
+
"layer_norm_eps": 1e-12,
|
25 |
+
"max_position_embeddings": 512,
|
26 |
+
"model_type": "bert",
|
27 |
+
"num_attention_heads": 16,
|
28 |
+
"num_hidden_layers": 24,
|
29 |
+
"pad_token_id": 0,
|
30 |
+
"pooler_fc_size": 768,
|
31 |
+
"pooler_num_attention_heads": 12,
|
32 |
+
"pooler_num_fc_layers": 3,
|
33 |
+
"pooler_size_per_head": 128,
|
34 |
+
"pooler_type": "first_token_transform",
|
35 |
+
"position_embedding_type": "absolute",
|
36 |
+
"transformers_version": "4.6.0.dev0",
|
37 |
+
"type_vocab_size": 2,
|
38 |
+
"vocab_size": 28996
|
39 |
+
}
|
fact_checking/bert-large/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f62f2e57d3a8619c85bf688804597a41b47df8f643c040c3e7dfdbab82e26c59
|
3 |
+
size 1338984725
|
fact_checking/bert-large/special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
|
fact_checking/bert-large/tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"do_lower_case": false, "do_basic_tokenize": true, "never_split": null, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "name_or_path": "bert-large-cased"}
|
fact_checking/bert-large/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec118ac159598b4d53751e10497485f7ebc295c6a6689ab98048a40f5b7733ba
|
3 |
+
size 1775
|
fact_checking/bert-large/vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
fact_checking/roberta-large/config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "roberta-large",
|
3 |
+
"architectures": [
|
4 |
+
"RobertaChecker"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"gradient_checkpointing": false,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 1024,
|
13 |
+
"id2label": {
|
14 |
+
"0": "LABEL_0",
|
15 |
+
"1": "LABEL_1",
|
16 |
+
"2": "LABEL_2"
|
17 |
+
},
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 4096,
|
20 |
+
"label2id": {
|
21 |
+
"LABEL_0": 0,
|
22 |
+
"LABEL_1": 1,
|
23 |
+
"LABEL_2": 2
|
24 |
+
},
|
25 |
+
"layer_norm_eps": 1e-05,
|
26 |
+
"max_position_embeddings": 514,
|
27 |
+
"model_type": "roberta",
|
28 |
+
"num_attention_heads": 16,
|
29 |
+
"num_hidden_layers": 24,
|
30 |
+
"pad_token_id": 1,
|
31 |
+
"type_vocab_size": 1,
|
32 |
+
"vocab_size": 50265
|
33 |
+
}
|
fact_checking/roberta-large/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
fact_checking/roberta-large/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b6294d8a5926582303beb298ababa540524061e46e0564c8a0e2ea69ba8cd612
|
3 |
+
size 1426109081
|
fact_checking/roberta-large/special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true}}
|
fact_checking/roberta-large/tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"errors": "replace", "unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "add_prefix_space": false, "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "model_max_length": 512, "name_or_path": "roberta-large"}
|
fact_checking/roberta-large/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:57c9f8f7c1b48eeef2a2396e3dc1a910e0f822cf5837c072370e6cbef9506528
|
3 |
+
size 1775
|
fact_checking/roberta-large/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
mrc_seq2seq_v5/PLACEHOLDER
ADDED
File without changes
|
mrc_seq2seq_v5/bart-base/config.json
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/bart-base",
|
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": 768,
|
15 |
+
"decoder_attention_heads": 12,
|
16 |
+
"decoder_ffn_dim": 3072,
|
17 |
+
"decoder_layerdrop": 0.0,
|
18 |
+
"decoder_layers": 6,
|
19 |
+
"decoder_start_token_id": 2,
|
20 |
+
"do_blenderbot_90_layernorm": false,
|
21 |
+
"dropout": 0.1,
|
22 |
+
"early_stopping": true,
|
23 |
+
"encoder_attention_heads": 12,
|
24 |
+
"encoder_ffn_dim": 3072,
|
25 |
+
"encoder_layerdrop": 0.0,
|
26 |
+
"encoder_layers": 6,
|
27 |
+
"eos_token_id": 2,
|
28 |
+
"extra_pos_embeddings": 2,
|
29 |
+
"force_bos_token_to_be_generated": false,
|
30 |
+
"id2label": {
|
31 |
+
"0": "LABEL_0",
|
32 |
+
"1": "LABEL_1",
|
33 |
+
"2": "LABEL_2"
|
34 |
+
},
|
35 |
+
"init_std": 0.02,
|
36 |
+
"is_encoder_decoder": true,
|
37 |
+
"label2id": {
|
38 |
+
"LABEL_0": 0,
|
39 |
+
"LABEL_1": 1,
|
40 |
+
"LABEL_2": 2
|
41 |
+
},
|
42 |
+
"max_length": 15,
|
43 |
+
"max_position_embeddings": 1024,
|
44 |
+
"min_length": 1,
|
45 |
+
"model_type": "bart",
|
46 |
+
"no_repeat_ngram_size": 3,
|
47 |
+
"normalize_before": false,
|
48 |
+
"normalize_embedding": true,
|
49 |
+
"num_beams": 4,
|
50 |
+
"num_hidden_layers": 6,
|
51 |
+
"pad_token_id": 1,
|
52 |
+
"save_step": 20,
|
53 |
+
"scale_embedding": false,
|
54 |
+
"static_position_embeddings": false,
|
55 |
+
"task_specific_params": {
|
56 |
+
"summarization": {
|
57 |
+
"length_penalty": 1.0,
|
58 |
+
"max_length": 128,
|
59 |
+
"min_length": 12,
|
60 |
+
"num_beams": 4
|
61 |
+
},
|
62 |
+
"summarization_cnn": {
|
63 |
+
"length_penalty": 2.0,
|
64 |
+
"max_length": 142,
|
65 |
+
"min_length": 56,
|
66 |
+
"num_beams": 4
|
67 |
+
},
|
68 |
+
"summarization_xsum": {
|
69 |
+
"length_penalty": 1.0,
|
70 |
+
"max_length": 62,
|
71 |
+
"min_length": 11,
|
72 |
+
"num_beams": 6
|
73 |
+
}
|
74 |
+
},
|
75 |
+
"vocab_size": 50265
|
76 |
+
}
|
mrc_seq2seq_v5/bart-base/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
mrc_seq2seq_v5/bart-base/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:37d0722b0a88057d35ad7b43506370bb58f17d3889ff472cf403ce598f482806
|
3 |
+
size 557982872
|
mrc_seq2seq_v5/bart-base/special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true}}
|
mrc_seq2seq_v5/bart-base/tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"errors": "replace", "unk_token": {"content": "<unk>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "bos_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "add_prefix_space": false, "sep_token": {"content": "</s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "cls_token": {"content": "<s>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "pad_token": {"content": "<pad>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "model_max_length": 1024, "name_or_path": "facebook/bart-base"}
|
mrc_seq2seq_v5/bart-base/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|