DavidHawksMSBA
commited on
Commit
•
1c16080
1
Parent(s):
5d5ae6c
Upload tokenizer
Browse files- .gitattributes +1 -0
- sentencepiece.bpe.model +3 -0
- special_tokens_map.json +8 -44
- tokenizer.json +0 -0
- tokenizer_config.json +9 -56
.gitattributes
CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
sentencepiece.bpe.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
|
3 |
+
size 5069051
|
special_tokens_map.json
CHANGED
@@ -1,51 +1,15 @@
|
|
1 |
{
|
2 |
-
"bos_token":
|
3 |
-
|
4 |
-
|
5 |
-
"normalized": true,
|
6 |
-
"rstrip": false,
|
7 |
-
"single_word": false
|
8 |
-
},
|
9 |
-
"cls_token": {
|
10 |
-
"content": "[CLS]",
|
11 |
-
"lstrip": false,
|
12 |
-
"normalized": true,
|
13 |
-
"rstrip": false,
|
14 |
-
"single_word": false
|
15 |
-
},
|
16 |
-
"eos_token": {
|
17 |
-
"content": "[SEP]",
|
18 |
-
"lstrip": false,
|
19 |
-
"normalized": true,
|
20 |
-
"rstrip": false,
|
21 |
-
"single_word": false
|
22 |
-
},
|
23 |
"mask_token": {
|
24 |
-
"content": "
|
25 |
"lstrip": true,
|
26 |
-
"normalized":
|
27 |
"rstrip": false,
|
28 |
"single_word": false
|
29 |
},
|
30 |
-
"pad_token":
|
31 |
-
|
32 |
-
|
33 |
-
"normalized": true,
|
34 |
-
"rstrip": false,
|
35 |
-
"single_word": false
|
36 |
-
},
|
37 |
-
"sep_token": {
|
38 |
-
"content": "[SEP]",
|
39 |
-
"lstrip": false,
|
40 |
-
"normalized": true,
|
41 |
-
"rstrip": false,
|
42 |
-
"single_word": false
|
43 |
-
},
|
44 |
-
"unk_token": {
|
45 |
-
"content": "[UNK]",
|
46 |
-
"lstrip": false,
|
47 |
-
"normalized": true,
|
48 |
-
"rstrip": false,
|
49 |
-
"single_word": false
|
50 |
-
}
|
51 |
}
|
|
|
1 |
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"mask_token": {
|
6 |
+
"content": "<mask>",
|
7 |
"lstrip": true,
|
8 |
+
"normalized": false,
|
9 |
"rstrip": false,
|
10 |
"single_word": false
|
11 |
},
|
12 |
+
"pad_token": "<pad>",
|
13 |
+
"sep_token": "</s>",
|
14 |
+
"unk_token": "<unk>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
}
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -1,67 +1,20 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"
|
4 |
-
"
|
5 |
-
"__type": "AddedToken",
|
6 |
-
"content": "[CLS]",
|
7 |
-
"lstrip": false,
|
8 |
-
"normalized": true,
|
9 |
-
"rstrip": false,
|
10 |
-
"single_word": false
|
11 |
-
},
|
12 |
-
"cls_token": {
|
13 |
-
"__type": "AddedToken",
|
14 |
-
"content": "[CLS]",
|
15 |
-
"lstrip": false,
|
16 |
-
"normalized": true,
|
17 |
-
"rstrip": false,
|
18 |
-
"single_word": false
|
19 |
-
},
|
20 |
-
"do_lower_case": false,
|
21 |
-
"eos_token": {
|
22 |
-
"__type": "AddedToken",
|
23 |
-
"content": "[SEP]",
|
24 |
-
"lstrip": false,
|
25 |
-
"normalized": true,
|
26 |
-
"rstrip": false,
|
27 |
-
"single_word": false
|
28 |
-
},
|
29 |
-
"errors": "replace",
|
30 |
"mask_token": {
|
31 |
"__type": "AddedToken",
|
32 |
-
"content": "
|
33 |
"lstrip": true,
|
34 |
"normalized": true,
|
35 |
"rstrip": false,
|
36 |
"single_word": false
|
37 |
},
|
38 |
"model_max_length": 512,
|
39 |
-
"name_or_path": "
|
40 |
-
"pad_token":
|
41 |
-
|
42 |
-
"content": "[PAD]",
|
43 |
-
"lstrip": false,
|
44 |
-
"normalized": true,
|
45 |
-
"rstrip": false,
|
46 |
-
"single_word": false
|
47 |
-
},
|
48 |
-
"sep_token": {
|
49 |
-
"__type": "AddedToken",
|
50 |
-
"content": "[SEP]",
|
51 |
-
"lstrip": false,
|
52 |
-
"normalized": true,
|
53 |
-
"rstrip": false,
|
54 |
-
"single_word": false
|
55 |
-
},
|
56 |
"special_tokens_map_file": null,
|
57 |
-
"tokenizer_class": "
|
58 |
-
"unk_token":
|
59 |
-
"__type": "AddedToken",
|
60 |
-
"content": "[UNK]",
|
61 |
-
"lstrip": false,
|
62 |
-
"normalized": true,
|
63 |
-
"rstrip": false,
|
64 |
-
"single_word": false
|
65 |
-
},
|
66 |
-
"vocab_type": "gpt2"
|
67 |
}
|
|
|
1 |
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"cls_token": "<s>",
|
4 |
+
"eos_token": "</s>",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"mask_token": {
|
6 |
"__type": "AddedToken",
|
7 |
+
"content": "<mask>",
|
8 |
"lstrip": true,
|
9 |
"normalized": true,
|
10 |
"rstrip": false,
|
11 |
"single_word": false
|
12 |
},
|
13 |
"model_max_length": 512,
|
14 |
+
"name_or_path": "xlm-roberta-base",
|
15 |
+
"pad_token": "<pad>",
|
16 |
+
"sep_token": "</s>",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
"special_tokens_map_file": null,
|
18 |
+
"tokenizer_class": "XLMRobertaTokenizer",
|
19 |
+
"unk_token": "<unk>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
}
|