Jdudeo commited on
Commit
d85dc63
·
verified ·
1 Parent(s): 1ba00a1

Fix tokenizer model input names

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +47 -8
tokenizer_config.json CHANGED
@@ -1,15 +1,54 @@
1
  {
2
- "tokenizer_class": "PreTrainedTokenizerFast",
3
- "model_max_length": 4096,
4
- "bos_token": null,
5
- "eos_token": "<|endoftext|>",
6
- "unk_token": null,
7
- "pad_token": "<|pad|>",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  "additional_special_tokens": [
9
  "<|im_start|>",
10
  "<|im_end|>"
11
  ],
 
12
  "clean_up_tokenization_spaces": false,
 
 
 
 
13
  "padding_side": "left",
14
- "truncation_side": "left"
15
- }
 
 
 
 
 
 
 
1
  {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<|endoftext|>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<|im_start|>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "<|im_end|>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<|pad|>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ }
35
+ },
36
  "additional_special_tokens": [
37
  "<|im_start|>",
38
  "<|im_end|>"
39
  ],
40
+ "bos_token": null,
41
  "clean_up_tokenization_spaces": false,
42
+ "eos_token": "<|endoftext|>",
43
+ "extra_special_tokens": {},
44
+ "model_max_length": 4096,
45
+ "pad_token": "<|pad|>",
46
  "padding_side": "left",
47
+ "tokenizer_class": "PreTrainedTokenizerFast",
48
+ "truncation_side": "left",
49
+ "unk_token": null,
50
+ "model_input_names": [
51
+ "input_ids",
52
+ "attention_mask"
53
+ ]
54
+ }