mn00 commited on
Commit
cad2854
1 Parent(s): 4363d9d

Upload 6 files

Browse files
config.json ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "flaubert/flaubert_base_cased",
3
+ "amp": 1,
4
+ "architectures": [
5
+ "FlaubertForSequenceClassification"
6
+ ],
7
+ "asm": false,
8
+ "attention_dropout": 0.1,
9
+ "bos_index": 0,
10
+ "bos_token_id": 0,
11
+ "bptt": 512,
12
+ "causal": false,
13
+ "clip_grad_norm": 5,
14
+ "dropout": 0.1,
15
+ "emb_dim": 768,
16
+ "embed_init_std": 0.02209708691207961,
17
+ "encoder_only": true,
18
+ "end_n_top": 5,
19
+ "eos_index": 1,
20
+ "fp16": true,
21
+ "gelu_activation": true,
22
+ "group_by_size": true,
23
+ "id2label": {
24
+ "0": "LABEL_0",
25
+ "1": "LABEL_1",
26
+ "2": "LABEL_2",
27
+ "3": "LABEL_3",
28
+ "4": "LABEL_4",
29
+ "5": "LABEL_5"
30
+ },
31
+ "id2lang": {
32
+ "0": "fr"
33
+ },
34
+ "init_std": 0.02,
35
+ "is_encoder": true,
36
+ "label2id": {
37
+ "LABEL_0": 0,
38
+ "LABEL_1": 1,
39
+ "LABEL_2": 2,
40
+ "LABEL_3": 3,
41
+ "LABEL_4": 4,
42
+ "LABEL_5": 5
43
+ },
44
+ "lang2id": {
45
+ "fr": 0
46
+ },
47
+ "lang_id": 0,
48
+ "langs": [
49
+ "fr"
50
+ ],
51
+ "layer_norm_eps": 1e-12,
52
+ "layerdrop": 0.0,
53
+ "lg_sampling_factor": -1,
54
+ "lgs": "fr",
55
+ "mask_index": 5,
56
+ "mask_token_id": 0,
57
+ "max_batch_size": 0,
58
+ "max_position_embeddings": 512,
59
+ "max_vocab": -1,
60
+ "mlm_steps": [
61
+ [
62
+ "fr",
63
+ null
64
+ ]
65
+ ],
66
+ "model_type": "flaubert",
67
+ "n_heads": 12,
68
+ "n_langs": 1,
69
+ "n_layers": 12,
70
+ "pad_index": 2,
71
+ "pad_token_id": 2,
72
+ "pre_norm": false,
73
+ "problem_type": "single_label_classification",
74
+ "sample_alpha": 0,
75
+ "share_inout_emb": true,
76
+ "sinusoidal_embeddings": false,
77
+ "start_n_top": 5,
78
+ "summary_activation": null,
79
+ "summary_first_dropout": 0.1,
80
+ "summary_proj_to_labels": true,
81
+ "summary_type": "first",
82
+ "summary_use_proj": true,
83
+ "tokens_per_batch": -1,
84
+ "torch_dtype": "float32",
85
+ "transformers_version": "4.20.0",
86
+ "unk_index": 3,
87
+ "use_lang_emb": true,
88
+ "vocab_size": 68729,
89
+ "word_blank": 0,
90
+ "word_dropout": 0,
91
+ "word_keep": 0.1,
92
+ "word_mask": 0.8,
93
+ "word_mask_keep_rand": "0.8,0.1,0.1",
94
+ "word_pred": 0.15,
95
+ "word_rand": 0.1,
96
+ "word_shuffle": 0
97
+ }
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:e0331c7dc42d03e3e6e545db7359d2dcca345dfdf3554719f3dbea13a5ab447c
3
+ size 553016162
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
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "do_lower_case": false,
17
+ "do_lowercase": false,
18
+ "do_lowercase_and_remove_accent": true,
19
+ "id2lang": null,
20
+ "lang2id": null,
21
+ "mask_token": "<special1>",
22
+ "model_max_length": 512,
23
+ "name_or_path": "flaubert/flaubert_base_cased",
24
+ "pad_token": "<pad>",
25
+ "sep_token": "</s>",
26
+ "special_tokens_map_file": null,
27
+ "tokenizer_class": "FlaubertTokenizer",
28
+ "unk_token": "<unk>"
29
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff