Text Generation
Transformers
Safetensors
English
llama
text-generation-inference
4-bit precision
gptq
TheBloke mzbac commited on
Commit
13b9c63
1 Parent(s): 8a76971

fix load tokenizer error (#1)

Browse files

- Update tokenizer_config.json (422d9f8224d83ce82d0582b9eb882fd0b05f2871)


Co-authored-by: null <mzbac@users.noreply.huggingface.co>

Files changed (1) hide show
  1. tokenizer_config.json +6 -5
tokenizer_config.json CHANGED
@@ -3,7 +3,7 @@
3
  "add_eos_token": false,
4
  "bos_token": {
5
  "__type": "AddedToken",
6
- "content": "",
7
  "lstrip": false,
8
  "normalized": true,
9
  "rstrip": false,
@@ -12,22 +12,23 @@
12
  "clean_up_tokenization_spaces": false,
13
  "eos_token": {
14
  "__type": "AddedToken",
15
- "content": "",
16
  "lstrip": false,
17
  "normalized": true,
18
  "rstrip": false,
19
  "single_word": false
20
  },
21
- "model_max_length": 1000000000000000019884624838656,
22
  "pad_token": null,
 
23
  "sp_model_kwargs": {},
24
  "tokenizer_class": "LlamaTokenizer",
25
  "unk_token": {
26
  "__type": "AddedToken",
27
- "content": "",
28
  "lstrip": false,
29
  "normalized": true,
30
  "rstrip": false,
31
  "single_word": false
32
  }
33
- }
 
3
  "add_eos_token": false,
4
  "bos_token": {
5
  "__type": "AddedToken",
6
+ "content": "<s>",
7
  "lstrip": false,
8
  "normalized": true,
9
  "rstrip": false,
 
12
  "clean_up_tokenization_spaces": false,
13
  "eos_token": {
14
  "__type": "AddedToken",
15
+ "content": "</s>",
16
  "lstrip": false,
17
  "normalized": true,
18
  "rstrip": false,
19
  "single_word": false
20
  },
21
+ "model_max_length": 2048,
22
  "pad_token": null,
23
+ "padding_side": "right",
24
  "sp_model_kwargs": {},
25
  "tokenizer_class": "LlamaTokenizer",
26
  "unk_token": {
27
  "__type": "AddedToken",
28
+ "content": "<unk>",
29
  "lstrip": false,
30
  "normalized": true,
31
  "rstrip": false,
32
  "single_word": false
33
  }
34
+ }