orangetin commited on
Commit
b050a6f
1 Parent(s): 35696b9

Fast tokenizer

Browse files
Files changed (3) hide show
  1. special_tokens_map.json +3 -21
  2. tokenizer.json +0 -0
  3. tokenizer_config.json +43 -24
special_tokens_map.json CHANGED
@@ -1,24 +1,6 @@
1
  {
2
- "bos_token": {
3
- "content": "<s>",
4
- "lstrip": false,
5
- "normalized": true,
6
- "rstrip": false,
7
- "single_word": false
8
- },
9
- "eos_token": {
10
- "content": "</s>",
11
- "lstrip": false,
12
- "normalized": true,
13
- "rstrip": false,
14
- "single_word": false
15
- },
16
  "pad_token": "<unk>",
17
- "unk_token": {
18
- "content": "<unk>",
19
- "lstrip": false,
20
- "normalized": true,
21
- "rstrip": false,
22
- "single_word": false
23
- }
24
  }
 
1
  {
2
+ "bos_token": "<s>",
3
+ "eos_token": "</s>",
 
 
 
 
 
 
 
 
 
 
 
 
4
  "pad_token": "<unk>",
5
+ "unk_token": "<unk>"
 
 
 
 
 
 
6
  }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -1,31 +1,50 @@
1
  {
2
- "bos_token": {
3
- "__type": "AddedToken",
4
- "content": "<s>",
5
- "lstrip": false,
6
- "normalized": true,
7
- "rstrip": false,
8
- "single_word": false
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  },
 
 
10
  "clean_up_tokenization_spaces": false,
11
- "eos_token": {
12
- "__type": "AddedToken",
13
- "content": "</s>",
14
- "lstrip": false,
15
- "normalized": true,
16
- "rstrip": false,
17
- "single_word": false
18
- },
19
  "legacy": false,
20
  "model_max_length": 32768,
21
- "pad_token": null,
 
 
22
  "tokenizer_class": "LlamaTokenizer",
23
- "unk_token": {
24
- "__type": "AddedToken",
25
- "content": "<unk>",
26
- "lstrip": false,
27
- "normalized": true,
28
- "rstrip": false,
29
- "single_word": false
30
- }
31
  }
 
1
  {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": true,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "32000": {
30
+ "content": "<pad>",
31
+ "lstrip": true,
32
+ "normalized": true,
33
+ "rstrip": true,
34
+ "single_word": false,
35
+ "special": false
36
+ }
37
  },
38
+ "additional_special_tokens": [],
39
+ "bos_token": "<s>",
40
  "clean_up_tokenization_spaces": false,
41
+ "eos_token": "</s>",
 
 
 
 
 
 
 
42
  "legacy": false,
43
  "model_max_length": 32768,
44
+ "pad_token": "<unk>",
45
+ "sp_model_kwargs": {},
46
+ "spaces_between_special_tokens": false,
47
  "tokenizer_class": "LlamaTokenizer",
48
+ "unk_token": "<unk>",
49
+ "use_default_system_prompt": true
 
 
 
 
 
 
50
  }