Upload tokenizer
Browse files- README.md +2 -2
- tokenizer.json +1 -0
- tokenizer_config.json +1 -1
README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
---
|
|
|
2 |
pipeline_tag: text-generation
|
3 |
inference: true
|
4 |
widget:
|
5 |
-
- text:
|
6 |
example_title: Hello world
|
7 |
group: Python
|
8 |
-
library_name: transformers
|
9 |
---
|
10 |
|
11 |
This model is randomly initialized, using the config from [Qwen/Qwen1.5-MoE-A2.7B-Chat](https://huggingface.co/Qwen/Qwen1.5-MoE-A2.7B-Chat/blob/main/config.json) but with smaller size.
|
|
|
1 |
---
|
2 |
+
library_name: transformers
|
3 |
pipeline_tag: text-generation
|
4 |
inference: true
|
5 |
widget:
|
6 |
+
- text: Hello!
|
7 |
example_title: Hello world
|
8 |
group: Python
|
|
|
9 |
---
|
10 |
|
11 |
This model is randomly initialized, using the config from [Qwen/Qwen1.5-MoE-A2.7B-Chat](https://huggingface.co/Qwen/Qwen1.5-MoE-A2.7B-Chat/blob/main/config.json) but with smaller size.
|
tokenizer.json
CHANGED
@@ -73,6 +73,7 @@
|
|
73 |
"end_of_word_suffix": "",
|
74 |
"fuse_unk": false,
|
75 |
"byte_fallback": false,
|
|
|
76 |
"vocab": {
|
77 |
"!": 0,
|
78 |
"\"": 1,
|
|
|
73 |
"end_of_word_suffix": "",
|
74 |
"fuse_unk": false,
|
75 |
"byte_fallback": false,
|
76 |
+
"ignore_merges": false,
|
77 |
"vocab": {
|
78 |
"!": 0,
|
79 |
"\"": 1,
|
tokenizer_config.json
CHANGED
@@ -31,7 +31,7 @@
|
|
31 |
"<|im_end|>"
|
32 |
],
|
33 |
"bos_token": null,
|
34 |
-
"chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content']
|
35 |
"clean_up_tokenization_spaces": false,
|
36 |
"eos_token": "<|im_end|>",
|
37 |
"errors": "replace",
|
|
|
31 |
"<|im_end|>"
|
32 |
],
|
33 |
"bos_token": null,
|
34 |
+
"chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
35 |
"clean_up_tokenization_spaces": false,
|
36 |
"eos_token": "<|im_end|>",
|
37 |
"errors": "replace",
|