abednegokam commited on
Commit
fbd5edc
1 Parent(s): 58943bd

Upload tokenizer

Browse files
special_tokens_map.json CHANGED
@@ -14,7 +14,7 @@
14
  "single_word": false
15
  },
16
  "pad_token": {
17
- "content": "<|im_end|>",
18
  "lstrip": false,
19
  "normalized": false,
20
  "rstrip": false,
 
14
  "single_word": false
15
  },
16
  "pad_token": {
17
+ "content": "</s>",
18
  "lstrip": false,
19
  "normalized": false,
20
  "rstrip": false,
tokenizer.json CHANGED
@@ -1,11 +1,6 @@
1
  {
2
  "version": "1.0",
3
- "truncation": {
4
- "direction": "Right",
5
- "max_length": 256,
6
- "strategy": "LongestFirst",
7
- "stride": 0
8
- },
9
  "padding": null,
10
  "added_tokens": [
11
  {
 
1
  {
2
  "version": "1.0",
3
+ "truncation": null,
 
 
 
 
 
4
  "padding": null,
5
  "added_tokens": [
6
  {
tokenizer_config.json CHANGED
@@ -856,13 +856,9 @@
856
  "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
857
  "clean_up_tokenization_spaces": false,
858
  "eos_token": "<|im_end|>",
859
- "max_length": 256,
860
  "model_max_length": 1000000000000000019884624838656,
861
- "pad_token": "<|im_end|>",
862
- "stride": 0,
863
  "tokenizer_class": "LlamaTokenizer",
864
- "truncation_side": "right",
865
- "truncation_strategy": "longest_first",
866
  "unk_token": "<unk>",
867
  "use_default_system_prompt": true
868
  }
 
856
  "chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
857
  "clean_up_tokenization_spaces": false,
858
  "eos_token": "<|im_end|>",
 
859
  "model_max_length": 1000000000000000019884624838656,
860
+ "pad_token": "</s>",
 
861
  "tokenizer_class": "LlamaTokenizer",
 
 
862
  "unk_token": "<unk>",
863
  "use_default_system_prompt": true
864
  }