Francois Vieille commited on
Commit
595d853
1 Parent(s): e5bb3a6

deploy first version of model

Browse files
added_tokens.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"<sep>": 50002, "<hl>": 50003}
config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.1,
3
+ "activation_function": "gelu",
4
+ "add_bias_logits": false,
5
+ "add_final_layer_norm": true,
6
+ "architectures": [
7
+ "MBartForConditionalGeneration"
8
+ ],
9
+ "attention_dropout": 0.1,
10
+ "bos_token_id": 0,
11
+ "classif_dropout": 0.1,
12
+ "classifier_dropout": 0.0,
13
+ "d_model": 768,
14
+ "decoder_attention_heads": 12,
15
+ "decoder_ffn_dim": 3072,
16
+ "decoder_layerdrop": 0.0,
17
+ "decoder_layers": 6,
18
+ "decoder_start_token_id": 2,
19
+ "do_blenderbot_90_layernorm": false,
20
+ "dropout": 0.1,
21
+ "early_stopping": true,
22
+ "encoder_attention_heads": 12,
23
+ "encoder_ffn_dim": 3072,
24
+ "encoder_layerdrop": 0.0,
25
+ "encoder_layers": 6,
26
+ "eos_token_id": 2,
27
+ "extra_pos_embeddings": 2,
28
+ "force_bos_token_to_be_generated": false,
29
+ "forced_eos_token_id": 2,
30
+ "gradient_checkpointing": false,
31
+ "id2label": {
32
+ "0": "LABEL_0",
33
+ "1": "LABEL_1",
34
+ "2": "LABEL_2"
35
+ },
36
+ "init_std": 0.02,
37
+ "is_encoder_decoder": true,
38
+ "label2id": {
39
+ "LABEL_0": 0,
40
+ "LABEL_1": 1,
41
+ "LABEL_2": 2
42
+ },
43
+ "max_position_embeddings": 1024,
44
+ "model_type": "mbart",
45
+ "no_repeat_ngram_size": 3,
46
+ "normalize_before": true,
47
+ "normalize_embedding": true,
48
+ "num_beams": 4,
49
+ "num_hidden_layers": 6,
50
+ "pad_token_id": 1,
51
+ "scale_embedding": false,
52
+ "static_position_embeddings": false,
53
+ "tokenizer_class": "BarthezTokenizer",
54
+ "torch_dtype": "float32",
55
+ "transformers_version": "4.11.3",
56
+ "use_cache": true,
57
+ "vocab_size": 50004
58
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97c37180b91aaedc6dba7d441d3dab49d67ec529cae49b327e118e1b9aea3dd2
3
+ size 557186289
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:582403da7cb525c4cac90b495e553cb766b818be71755e6bd885072a1067314a
3
+ size 1115393
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": true}}
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "sep_token": "</s>", "cls_token": "<s>", "pad_token": "<pad>", "mask_token": {"content": "<mask>", "single_word": false, "lstrip": true, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "sp_model_kwargs": {}, "model_max_length": 1024, "special_tokens_map_file": null, "tokenizer_file": "/home/azureuser/.cache/huggingface/transformers/2fe83826e5238e75588705ac9b49b84feb814fca2fef536bf2205a48003113f8.57d728ae98cc8619b6f78fb15cce25afad28a1343931f2ba771a1555300b94e7", "name_or_path": "/mnt/qaqg_playground/Users/colin.davidson/qa-qg-playground/data/huggingface/args/qg/m-qg-sota-ori/checkpoint-56000", "tokenizer_class": "BarthezTokenizer"}