lgrobol commited on
Commit
b276136
1 Parent(s): 8e54aca

First model version

Browse files
config.json ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "amp": 1,
3
+ "architectures": [
4
+ "FlaubertWithLMHeadModel"
5
+ ],
6
+ "asm": false,
7
+ "attention_dropout": 0.1,
8
+ "bos_index": 0,
9
+ "bos_token_id": 0,
10
+ "bptt": 512,
11
+ "causal": false,
12
+ "clip_grad_norm": 5,
13
+ "dropout": 0.1,
14
+ "emb_dim": 64,
15
+ "embed_init_std": 0.02209708691207961,
16
+ "encoder_only": true,
17
+ "end_n_top": 5,
18
+ "eos_index": 1,
19
+ "fp16": true,
20
+ "gelu_activation": true,
21
+ "group_by_size": true,
22
+ "id2lang": {
23
+ "0": "fr"
24
+ },
25
+ "init_std": 0.02,
26
+ "is_encoder": true,
27
+ "lang2id": {
28
+ "fr": 0
29
+ },
30
+ "lang_id": 0,
31
+ "langs": [
32
+ "fr"
33
+ ],
34
+ "layer_norm_eps": 1e-12,
35
+ "layerdrop": 0.0,
36
+ "lg_sampling_factor": -1,
37
+ "lgs": "fr",
38
+ "mask_index": 5,
39
+ "mask_token_id": 0,
40
+ "max_batch_size": 0,
41
+ "max_position_embeddings": 512,
42
+ "max_vocab": -1,
43
+ "mlm_steps": [
44
+ [
45
+ "fr",
46
+ null
47
+ ]
48
+ ],
49
+ "model_type": "flaubert",
50
+ "n_heads": 1,
51
+ "n_langs": 1,
52
+ "n_layers": 2,
53
+ "output_hidden_states": true,
54
+ "pad_index": 2,
55
+ "pad_token_id": 2,
56
+ "pre_norm": false,
57
+ "sample_alpha": 0,
58
+ "share_inout_emb": true,
59
+ "sinusoidal_embeddings": false,
60
+ "start_n_top": 5,
61
+ "summary_activation": null,
62
+ "summary_first_dropout": 0.1,
63
+ "summary_proj_to_labels": true,
64
+ "summary_type": "first",
65
+ "summary_use_proj": true,
66
+ "tokens_per_batch": -1,
67
+ "torch_dtype": "float32",
68
+ "transformers_version": "4.9.2",
69
+ "unk_index": 3,
70
+ "use_lang_emb": true,
71
+ "vocab_size": 68729,
72
+ "word_blank": 0,
73
+ "word_dropout": 0,
74
+ "word_keep": 0.1,
75
+ "word_mask": 0.8,
76
+ "word_mask_keep_rand": "0.8,0.1,0.1",
77
+ "word_pred": 0.15,
78
+ "word_rand": 0.1,
79
+ "word_shuffle": 0
80
+ }
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:d6c374fdbe1a5313f471e78aeb9d059e0263dda201722468893f4722c606d12d
3
+ size 18417523
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"bos_token": "<s>", "unk_token": "<unk>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "</s>", "mask_token": "<special1>", "additional_special_tokens": ["<special0>", "<special1>", "<special2>", "<special3>", "<special4>", "<special5>", "<special6>", "<special7>", "<special8>", "<special9>"]}
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "<unk>", "bos_token": "<s>", "sep_token": "</s>", "pad_token": "<pad>", "cls_token": "</s>", "mask_token": "<special1>", "additional_special_tokens": ["<special0>", "<special1>", "<special2>", "<special3>", "<special4>", "<special5>", "<special6>", "<special7>", "<special8>", "<special9>"], "lang2id": null, "id2lang": null, "do_lowercase_and_remove_accent": true, "do_lower_case": false, "model_max_length": 512, "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "flaubert/flaubert_small_cased", "tokenizer_class": "FlaubertTokenizer"}
vocab.json ADDED
The diff for this file is too large to render. See raw diff