Upload tokenizer
Browse files- README.md +4 -5
- special_tokens_map.json +2 -1
- tokenizer.json +17 -5
- tokenizer_config.json +70 -11
README.md
CHANGED
@@ -1,19 +1,18 @@
|
|
1 |
---
|
2 |
-
license: mit
|
3 |
language:
|
4 |
- fr
|
5 |
-
|
|
|
6 |
tags:
|
7 |
- biomedical
|
8 |
- clinical
|
9 |
- life sciences
|
10 |
datasets:
|
11 |
- rntc/biomed-fr
|
|
|
12 |
widget:
|
13 |
-
- text:
|
14 |
-
Les médicaments <mask> typiques sont largement utilisés dans le traitement
|
15 |
de première intention des patients schizophrènes.
|
16 |
-
library_name: transformers
|
17 |
---
|
18 |
|
19 |
<a href=https://camembert-bio-model.fr/>
|
|
|
1 |
---
|
|
|
2 |
language:
|
3 |
- fr
|
4 |
+
license: mit
|
5 |
+
library_name: transformers
|
6 |
tags:
|
7 |
- biomedical
|
8 |
- clinical
|
9 |
- life sciences
|
10 |
datasets:
|
11 |
- rntc/biomed-fr
|
12 |
+
pipeline_tag: fill-mask
|
13 |
widget:
|
14 |
+
- text: Les médicaments <mask> typiques sont largement utilisés dans le traitement
|
|
|
15 |
de première intention des patients schizophrènes.
|
|
|
16 |
---
|
17 |
|
18 |
<a href=https://camembert-bio-model.fr/>
|
special_tokens_map.json
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
{
|
2 |
"additional_special_tokens": [
|
3 |
"<s>NOTUSED",
|
4 |
-
"</s>NOTUSED"
|
|
|
5 |
],
|
6 |
"bos_token": "<s>",
|
7 |
"cls_token": "<s>",
|
|
|
1 |
{
|
2 |
"additional_special_tokens": [
|
3 |
"<s>NOTUSED",
|
4 |
+
"</s>NOTUSED",
|
5 |
+
"<unk>NOTUSED"
|
6 |
],
|
7 |
"bos_token": "<s>",
|
8 |
"cls_token": "<s>",
|
tokenizer.json
CHANGED
@@ -31,7 +31,7 @@
|
|
31 |
"special": true
|
32 |
},
|
33 |
{
|
34 |
-
"id":
|
35 |
"content": "<unk>",
|
36 |
"single_word": false,
|
37 |
"lstrip": false,
|
@@ -39,6 +39,15 @@
|
|
39 |
"normalized": false,
|
40 |
"special": true
|
41 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
{
|
43 |
"id": 5,
|
44 |
"content": "<s>",
|
@@ -80,7 +89,8 @@
|
|
80 |
{
|
81 |
"type": "Metaspace",
|
82 |
"replacement": "▁",
|
83 |
-
"
|
|
|
84 |
}
|
85 |
]
|
86 |
},
|
@@ -168,7 +178,8 @@
|
|
168 |
"decoder": {
|
169 |
"type": "Metaspace",
|
170 |
"replacement": "▁",
|
171 |
-
"
|
|
|
172 |
},
|
173 |
"model": {
|
174 |
"type": "Unigram",
|
@@ -191,7 +202,7 @@
|
|
191 |
0.0
|
192 |
],
|
193 |
[
|
194 |
-
"<unk>",
|
195 |
-100.0
|
196 |
],
|
197 |
[
|
@@ -128194,6 +128205,7 @@
|
|
128194 |
"<mask>",
|
128195 |
0.0
|
128196 |
]
|
128197 |
-
]
|
|
|
128198 |
}
|
128199 |
}
|
|
|
31 |
"special": true
|
32 |
},
|
33 |
{
|
34 |
+
"id": 3,
|
35 |
"content": "<unk>",
|
36 |
"single_word": false,
|
37 |
"lstrip": false,
|
|
|
39 |
"normalized": false,
|
40 |
"special": true
|
41 |
},
|
42 |
+
{
|
43 |
+
"id": 4,
|
44 |
+
"content": "<unk>NOTUSED",
|
45 |
+
"single_word": false,
|
46 |
+
"lstrip": false,
|
47 |
+
"rstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"special": true
|
50 |
+
},
|
51 |
{
|
52 |
"id": 5,
|
53 |
"content": "<s>",
|
|
|
89 |
{
|
90 |
"type": "Metaspace",
|
91 |
"replacement": "▁",
|
92 |
+
"prepend_scheme": "always",
|
93 |
+
"split": true
|
94 |
}
|
95 |
]
|
96 |
},
|
|
|
178 |
"decoder": {
|
179 |
"type": "Metaspace",
|
180 |
"replacement": "▁",
|
181 |
+
"prepend_scheme": "always",
|
182 |
+
"split": true
|
183 |
},
|
184 |
"model": {
|
185 |
"type": "Unigram",
|
|
|
202 |
0.0
|
203 |
],
|
204 |
[
|
205 |
+
"<unk>NOTUSED",
|
206 |
-100.0
|
207 |
],
|
208 |
[
|
|
|
128205 |
"<mask>",
|
128206 |
0.0
|
128207 |
]
|
128208 |
+
],
|
128209 |
+
"byte_fallback": false
|
128210 |
}
|
128211 |
}
|
tokenizer_config.json
CHANGED
@@ -1,24 +1,83 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"additional_special_tokens": [
|
3 |
"<s>NOTUSED",
|
4 |
-
"</s>NOTUSED"
|
|
|
5 |
],
|
6 |
"bos_token": "<s>",
|
|
|
7 |
"cls_token": "<s>",
|
8 |
"eos_token": "</s>",
|
9 |
-
"mask_token":
|
10 |
-
"__type": "AddedToken",
|
11 |
-
"content": "<mask>",
|
12 |
-
"lstrip": true,
|
13 |
-
"normalized": true,
|
14 |
-
"rstrip": false,
|
15 |
-
"single_word": false
|
16 |
-
},
|
17 |
"model_max_length": 512,
|
18 |
-
"name_or_path": "camembert-base",
|
19 |
"pad_token": "<pad>",
|
20 |
"sep_token": "</s>",
|
21 |
-
"special_tokens_map_file": null,
|
22 |
"tokenizer_class": "CamembertTokenizer",
|
23 |
"unk_token": "<unk>"
|
24 |
}
|
|
|
1 |
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<s>NOTUSED",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<pad>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>NOTUSED",
|
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": "<unk>NOTUSED",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"5": {
|
44 |
+
"content": "<s>",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": false,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": true
|
50 |
+
},
|
51 |
+
"6": {
|
52 |
+
"content": "</s>",
|
53 |
+
"lstrip": false,
|
54 |
+
"normalized": false,
|
55 |
+
"rstrip": false,
|
56 |
+
"single_word": false,
|
57 |
+
"special": true
|
58 |
+
},
|
59 |
+
"32004": {
|
60 |
+
"content": "<mask>",
|
61 |
+
"lstrip": true,
|
62 |
+
"normalized": false,
|
63 |
+
"rstrip": false,
|
64 |
+
"single_word": false,
|
65 |
+
"special": true
|
66 |
+
}
|
67 |
+
},
|
68 |
"additional_special_tokens": [
|
69 |
"<s>NOTUSED",
|
70 |
+
"</s>NOTUSED",
|
71 |
+
"<unk>NOTUSED"
|
72 |
],
|
73 |
"bos_token": "<s>",
|
74 |
+
"clean_up_tokenization_spaces": true,
|
75 |
"cls_token": "<s>",
|
76 |
"eos_token": "</s>",
|
77 |
+
"mask_token": "<mask>",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
"model_max_length": 512,
|
|
|
79 |
"pad_token": "<pad>",
|
80 |
"sep_token": "</s>",
|
|
|
81 |
"tokenizer_class": "CamembertTokenizer",
|
82 |
"unk_token": "<unk>"
|
83 |
}
|