DiegoRossini commited on
Commit
1d9dcf0
1 Parent(s): c54e366

Upload 6 files

Browse files
Files changed (6) hide show
  1. config.json +96 -0
  2. merges.txt +0 -0
  3. model.safetensors +3 -0
  4. special_tokens_map.json +20 -0
  5. tokenizer_config.json +140 -0
  6. vocab.json +0 -0
config.json ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "flaubert/flaubert_base_cased",
3
+ "amp": 1,
4
+ "architectures": [
5
+ "FlaubertForTokenClassification"
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
+ "sample_alpha": 0,
74
+ "share_inout_emb": true,
75
+ "sinusoidal_embeddings": false,
76
+ "start_n_top": 5,
77
+ "summary_activation": null,
78
+ "summary_first_dropout": 0.1,
79
+ "summary_proj_to_labels": true,
80
+ "summary_type": "first",
81
+ "summary_use_proj": true,
82
+ "tokens_per_batch": -1,
83
+ "torch_dtype": "float32",
84
+ "transformers_version": "4.36.2",
85
+ "unk_index": 3,
86
+ "use_lang_emb": true,
87
+ "vocab_size": 68729,
88
+ "word_blank": 0,
89
+ "word_dropout": 0,
90
+ "word_keep": 0.1,
91
+ "word_mask": 0.8,
92
+ "word_mask_keep_rand": "0.8,0.1,0.1",
93
+ "word_pred": 0.15,
94
+ "word_rand": 0.1,
95
+ "word_shuffle": 0
96
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b939e73ea8bf4cf61b686dce13d00dec86f048d109ecffa3527ce6415a6815a
3
+ size 552971400
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,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "</s>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "<pad>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "<special0>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "5": {
44
+ "content": "<special1>",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ },
51
+ "6": {
52
+ "content": "<special2>",
53
+ "lstrip": false,
54
+ "normalized": false,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": true
58
+ },
59
+ "7": {
60
+ "content": "<special3>",
61
+ "lstrip": false,
62
+ "normalized": false,
63
+ "rstrip": false,
64
+ "single_word": false,
65
+ "special": true
66
+ },
67
+ "8": {
68
+ "content": "<special4>",
69
+ "lstrip": false,
70
+ "normalized": false,
71
+ "rstrip": false,
72
+ "single_word": false,
73
+ "special": true
74
+ },
75
+ "9": {
76
+ "content": "<special5>",
77
+ "lstrip": false,
78
+ "normalized": false,
79
+ "rstrip": false,
80
+ "single_word": false,
81
+ "special": true
82
+ },
83
+ "10": {
84
+ "content": "<special6>",
85
+ "lstrip": false,
86
+ "normalized": false,
87
+ "rstrip": false,
88
+ "single_word": false,
89
+ "special": true
90
+ },
91
+ "11": {
92
+ "content": "<special7>",
93
+ "lstrip": false,
94
+ "normalized": false,
95
+ "rstrip": false,
96
+ "single_word": false,
97
+ "special": true
98
+ },
99
+ "12": {
100
+ "content": "<special8>",
101
+ "lstrip": false,
102
+ "normalized": false,
103
+ "rstrip": false,
104
+ "single_word": false,
105
+ "special": true
106
+ },
107
+ "13": {
108
+ "content": "<special9>",
109
+ "lstrip": false,
110
+ "normalized": false,
111
+ "rstrip": false,
112
+ "single_word": false,
113
+ "special": true
114
+ }
115
+ },
116
+ "additional_special_tokens": [
117
+ "<special0>",
118
+ "<special1>",
119
+ "<special2>",
120
+ "<special3>",
121
+ "<special4>",
122
+ "<special5>",
123
+ "<special6>",
124
+ "<special7>",
125
+ "<special8>",
126
+ "<special9>"
127
+ ],
128
+ "bos_token": "<s>",
129
+ "clean_up_tokenization_spaces": true,
130
+ "cls_token": "</s>",
131
+ "do_lower_case": false,
132
+ "id2lang": null,
133
+ "lang2id": null,
134
+ "mask_token": "<special1>",
135
+ "model_max_length": 512,
136
+ "pad_token": "<pad>",
137
+ "sep_token": "</s>",
138
+ "tokenizer_class": "FlaubertTokenizer",
139
+ "unk_token": "<unk>"
140
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff