hf-transformers-bot commited on
Commit
4fd224e
1 Parent(s): 65c1c58

Upload tiny models for FlaubertWithLMHeadModel

Browse files
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "tiny_models/flaubert/FlaubertWithLMHeadModel",
3
+ "architectures": [
4
+ "FlaubertWithLMHeadModel"
5
+ ],
6
+ "asm": false,
7
+ "attention_dropout": 0.1,
8
+ "bos_index": 0,
9
+ "bos_token_id": 0,
10
+ "causal": false,
11
+ "dropout": 0.1,
12
+ "emb_dim": 32,
13
+ "embed_init_std": 0.02209708691207961,
14
+ "end_n_top": 5,
15
+ "eos_index": 1,
16
+ "gelu_activation": true,
17
+ "init_std": 0.02,
18
+ "initializer_range": 0.02,
19
+ "is_decoder": true,
20
+ "is_encoder": true,
21
+ "lang_id": 0,
22
+ "layer_norm_eps": 1e-12,
23
+ "layerdrop": 0.0,
24
+ "mask_index": 5,
25
+ "mask_token_id": 5,
26
+ "max_position_embeddings": 512,
27
+ "model_type": "flaubert",
28
+ "n_heads": 4,
29
+ "n_langs": 2,
30
+ "n_layers": 5,
31
+ "n_special": 0,
32
+ "pad_index": 2,
33
+ "pad_token_id": 2,
34
+ "pre_norm": false,
35
+ "sinusoidal_embeddings": false,
36
+ "start_n_top": 5,
37
+ "summary_activation": null,
38
+ "summary_first_dropout": 0.1,
39
+ "summary_proj_to_labels": true,
40
+ "summary_type": "last",
41
+ "summary_use_proj": true,
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.28.0.dev0",
44
+ "unk_index": 3,
45
+ "use_lang_emb": true,
46
+ "use_proj": null,
47
+ "vocab_size": 67542
48
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "pad_token_id": 2,
5
+ "transformers_version": "4.28.0.dev0"
6
+ }
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:1ede8beaeae80a51fb09785acba18e312741ebd2dac5b91fe448387fb7912748
3
+ size 9262259
special_tokens_map.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<special0>",
4
+ "<special1>",
5
+ "<special2>",
6
+ "<special3>",
7
+ "<special4>",
8
+ "<special5>",
9
+ "<special6>",
10
+ "<special7>",
11
+ "<special8>",
12
+ "<special9>"
13
+ ],
14
+ "bos_token": "<s>",
15
+ "cls_token": "</s>",
16
+ "mask_token": "<special1>",
17
+ "pad_token": "<pad>",
18
+ "sep_token": "</s>",
19
+ "unk_token": "<unk>"
20
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c195bc0ef574bf0180bd9aff90b4cc87afd8aff78db823dd0b3644c4a80426ab
3
+ size 17984216
tokenizer_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<special0>",
4
+ "<special1>",
5
+ "<special2>",
6
+ "<special3>",
7
+ "<special4>",
8
+ "<special5>",
9
+ "<special6>",
10
+ "<special7>",
11
+ "<special8>",
12
+ "<special9>"
13
+ ],
14
+ "bos_token": "<s>",
15
+ "clean_up_tokenization_spaces": true,
16
+ "cls_token": "</s>",
17
+ "do_lower_case": true,
18
+ "id2lang": null,
19
+ "lang2id": null,
20
+ "mask_token": "<special1>",
21
+ "model_max_length": 512,
22
+ "pad_token": "<pad>",
23
+ "sep_token": "</s>",
24
+ "special_tokens_map_file": null,
25
+ "tokenizer_class": "FlaubertTokenizer",
26
+ "unk_token": "<unk>"
27
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff