nicoladecao commited on
Commit
07732a8
1 Parent(s): daae92b

cleaning update

Browse files
config.json CHANGED
@@ -1,52 +1,33 @@
1
  {
2
- "_name_or_path": "facebook/mgenre-wiki",
3
  "activation_dropout": 0.0,
4
  "activation_function": "gelu",
5
- "add_bias_logits": false,
6
- "add_final_layer_norm": false,
7
  "architectures": [
8
- "BartForConditionalGeneration"
9
  ],
10
  "attention_dropout": 0.0,
11
  "bos_token_id": 0,
12
- "classif_dropout": 0.0,
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_normalize_before": true,
20
- "decoder_start_token_id": 2,
21
  "dropout": 0.1,
22
- "early_stopping": true,
23
  "encoder_attention_heads": 16,
24
  "encoder_ffn_dim": 4096,
25
  "encoder_layerdrop": 0.0,
26
  "encoder_layers": 12,
27
- "encoder_normalize_before": true,
28
  "eos_token_id": 2,
29
- "eos_token_ids": [
30
- 2
31
- ],
32
  "forced_eos_token_id": 2,
33
- "gradient_checkpointing": false,
34
  "init_std": 0.02,
35
  "is_encoder_decoder": true,
36
- "max_length": 1024,
37
  "max_position_embeddings": 1024,
38
- "min_length": 0,
39
- "model_type": "bart",
40
- "normalize_embedding": false,
41
- "num_beams": 5,
42
  "num_hidden_layers": 12,
43
  "pad_token_id": 1,
44
  "scale_embedding": true,
45
- "static_position_embeddings": false,
46
- "student_decoder_layers": null,
47
- "student_encoder_layers": null,
48
- "task_specific_params": {},
49
- "transformers_version": "4.19.2",
50
  "use_cache": true,
51
  "vocab_size": 256001
52
  }
 
1
  {
 
2
  "activation_dropout": 0.0,
3
  "activation_function": "gelu",
 
 
4
  "architectures": [
5
+ "MBartForConditionalGeneration"
6
  ],
7
  "attention_dropout": 0.0,
8
  "bos_token_id": 0,
 
9
  "classifier_dropout": 0.0,
10
  "d_model": 1024,
11
  "decoder_attention_heads": 16,
12
  "decoder_ffn_dim": 4096,
13
  "decoder_layerdrop": 0.0,
14
  "decoder_layers": 12,
 
 
15
  "dropout": 0.1,
 
16
  "encoder_attention_heads": 16,
17
  "encoder_ffn_dim": 4096,
18
  "encoder_layerdrop": 0.0,
19
  "encoder_layers": 12,
 
20
  "eos_token_id": 2,
 
 
 
21
  "forced_eos_token_id": 2,
 
22
  "init_std": 0.02,
23
  "is_encoder_decoder": true,
 
24
  "max_position_embeddings": 1024,
25
+ "model_type": "mbart",
 
 
 
26
  "num_hidden_layers": 12,
27
  "pad_token_id": 1,
28
  "scale_embedding": true,
29
+ "torch_dtype": "float32",
30
+ "transformers_version": "4.20.0.dev0",
 
 
 
31
  "use_cache": true,
32
  "vocab_size": 256001
33
  }
special_tokens_map.json CHANGED
@@ -1 +1,15 @@
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}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5368e45f810725f023451207956a99f324c0253d334f4bdaaeb2ae3dcd331f3d
3
  size 2469461956
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4bab0eb292448adec41c255d1b18c7e0eb1f1052b8791328ebfa834156b42a56
3
  size 2469461956
titles_lang_all105_trie_with_redirect.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9af6069f11ec1d2f2ce1ef8f034eec761c0bee5971f663f6355442683e533935
3
- size 1754513408
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce296109b89b948c62d2abca9222b145d0587b4af7fda7a6df1b7f066b7331b9
3
+ size 2338474677
tokenizer_config.json CHANGED
@@ -1 +1,18 @@
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": {}, "tokenizer_class": "XLMRobertaTokenizer"}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "__type": "AddedToken",
7
+ "content": "<mask>",
8
+ "lstrip": true,
9
+ "normalized": true,
10
+ "rstrip": false,
11
+ "single_word": false
12
+ },
13
+ "pad_token": "<pad>",
14
+ "sep_token": "</s>",
15
+ "sp_model_kwargs": {},
16
+ "tokenizer_class": "XLMRobertaTokenizer",
17
+ "unk_token": "<unk>"
18
+ }