tokenizer
Browse files- README.md +1 -1
- added_tokens.json +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +25 -2
- tokenizer_config.json +9 -1
README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
---
|
2 |
-
base_model: openaccess-ai-collective/tiny-mistral
|
3 |
tags:
|
4 |
- generated_from_trainer
|
|
|
5 |
metrics:
|
6 |
- accuracy
|
7 |
- precision
|
|
|
1 |
---
|
|
|
2 |
tags:
|
3 |
- generated_from_trainer
|
4 |
+
base_model: openaccess-ai-collective/tiny-mistral
|
5 |
metrics:
|
6 |
- accuracy
|
7 |
- precision
|
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<pad>": 32000
|
3 |
+
}
|
special_tokens_map.json
CHANGED
@@ -13,6 +13,13 @@
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
"unk_token": {
|
17 |
"content": "<unk>",
|
18 |
"lstrip": false,
|
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<pad>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
"unk_token": {
|
24 |
"content": "<unk>",
|
25 |
"lstrip": false,
|
tokenizer.json
CHANGED
@@ -1,7 +1,21 @@
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
-
"truncation":
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"added_tokens": [
|
6 |
{
|
7 |
"id": 0,
|
@@ -29,6 +43,15 @@
|
|
29 |
"rstrip": false,
|
30 |
"normalized": true,
|
31 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
}
|
33 |
],
|
34 |
"normalizer": {
|
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
+
"truncation": {
|
4 |
+
"direction": "Right",
|
5 |
+
"max_length": 512,
|
6 |
+
"strategy": "LongestFirst",
|
7 |
+
"stride": 0
|
8 |
+
},
|
9 |
+
"padding": {
|
10 |
+
"strategy": {
|
11 |
+
"Fixed": 512
|
12 |
+
},
|
13 |
+
"direction": "Left",
|
14 |
+
"pad_to_multiple_of": null,
|
15 |
+
"pad_id": 32000,
|
16 |
+
"pad_type_id": 0,
|
17 |
+
"pad_token": "<pad>"
|
18 |
+
},
|
19 |
"added_tokens": [
|
20 |
{
|
21 |
"id": 0,
|
|
|
43 |
"rstrip": false,
|
44 |
"normalized": true,
|
45 |
"special": true
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"id": 32000,
|
49 |
+
"content": "<pad>",
|
50 |
+
"single_word": false,
|
51 |
+
"lstrip": false,
|
52 |
+
"rstrip": false,
|
53 |
+
"normalized": false,
|
54 |
+
"special": true
|
55 |
}
|
56 |
],
|
57 |
"normalizer": {
|
tokenizer_config.json
CHANGED
@@ -25,6 +25,14 @@
|
|
25 |
"rstrip": false,
|
26 |
"single_word": false,
|
27 |
"special": true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
}
|
29 |
},
|
30 |
"additional_special_tokens": [],
|
@@ -33,7 +41,7 @@
|
|
33 |
"eos_token": "</s>",
|
34 |
"legacy": true,
|
35 |
"model_max_length": 1000000000000000019884624838656,
|
36 |
-
"pad_token":
|
37 |
"sp_model_kwargs": {},
|
38 |
"spaces_between_special_tokens": false,
|
39 |
"tokenizer_class": "LlamaTokenizer",
|
|
|
25 |
"rstrip": false,
|
26 |
"single_word": false,
|
27 |
"special": true
|
28 |
+
},
|
29 |
+
"32000": {
|
30 |
+
"content": "<pad>",
|
31 |
+
"lstrip": false,
|
32 |
+
"normalized": false,
|
33 |
+
"rstrip": false,
|
34 |
+
"single_word": false,
|
35 |
+
"special": true
|
36 |
}
|
37 |
},
|
38 |
"additional_special_tokens": [],
|
|
|
41 |
"eos_token": "</s>",
|
42 |
"legacy": true,
|
43 |
"model_max_length": 1000000000000000019884624838656,
|
44 |
+
"pad_token": "<pad>",
|
45 |
"sp_model_kwargs": {},
|
46 |
"spaces_between_special_tokens": false,
|
47 |
"tokenizer_class": "LlamaTokenizer",
|