Upload tokenizer
Browse files- README.md +4 -4
- tokenizer_config.json +1 -1
README.md
CHANGED
@@ -1,16 +1,16 @@
|
|
1 |
---
|
|
|
2 |
language:
|
3 |
- en
|
4 |
- fr
|
5 |
- es
|
6 |
- pt
|
7 |
-
|
8 |
-
- falcon3
|
9 |
-
base_model: tiiuae/Falcon3-3B-Instruct
|
10 |
license: other
|
11 |
license_name: falcon-llm-license
|
12 |
license_link: https://falconllm.tii.ae/falcon-terms-and-conditions.html
|
13 |
-
|
|
|
14 |
---
|
15 |
|
16 |
<div align="center">
|
|
|
1 |
---
|
2 |
+
base_model: tiiuae/Falcon3-3B-Instruct
|
3 |
language:
|
4 |
- en
|
5 |
- fr
|
6 |
- es
|
7 |
- pt
|
8 |
+
library_name: transformers
|
|
|
|
|
9 |
license: other
|
10 |
license_name: falcon-llm-license
|
11 |
license_link: https://falconllm.tii.ae/falcon-terms-and-conditions.html
|
12 |
+
tags:
|
13 |
+
- falcon3
|
14 |
---
|
15 |
|
16 |
<div align="center">
|
tokenizer_config.json
CHANGED
@@ -16219,7 +16219,7 @@
|
|
16219 |
">>PASSWORD<<",
|
16220 |
">>KEY<<"
|
16221 |
],
|
16222 |
-
"chat_template": "{% for message in messages %}{% if message['role'] == 'system' %}{{ '<|system|>\n' + message['content'] + '\n' }}{% elif message['role'] == 'user' %}{{ '<|user|>\n' + message['content'] + '\n' }}{% elif message['role'] == 'assistant' %}{% if not loop.last %}{{ '<|assistant|>\n'
|
16223 |
"clean_up_tokenization_spaces": true,
|
16224 |
"eos_token": "<|endoftext|>",
|
16225 |
"extra_special_tokens": {},
|
|
|
16219 |
">>PASSWORD<<",
|
16220 |
">>KEY<<"
|
16221 |
],
|
16222 |
+
"chat_template": "{% if tools %}{% for message in messages %}{% if message['role'] == 'system' %}{{ '<|system|>\n' + message['content'] + '\nYou are an expert in composing functions. You are given a question and a set of possible functions. \nBased on the question, you will need to make one or more function/tool calls to achieve the purpose. \nIf none of the functions can be used, point it out and refuse to answer. \nIf the given question lacks the parameters required by the function, also point it out.\n\n You have access to the following tools:\n<tools>' + tools|tojson + '</tools>\n\nThe output MUST strictly adhere to the following format, and NO other text MUST be included.\nThe example format is as follows. Please make sure the parameter type is correct. If no function call is needed, please make the tool calls an empty list [].\n<tool_call>[\n{\"name\": \"function_name1\", \"arguments\": {\"argument1\": \"value1\", \"argument2\": \"value2\"}},\n... (more tool calls as required)\n]</tool_call>' }}{% elif message['role'] == 'user' %}{{ '<|user|>\n' + message['content'] + '\n' }}{% elif message['role'] == 'assistant' %}{% if not loop.last %}{{ '<|assistant|>\n' + message['content'] + eos_token + '\n' }}{% else %}{{ '<|assistant|>\n' + message['content'] + eos_token }}{% endif %}{% endif %}{% if loop.last and add_generation_prompt %}{{ '<|assistant|>\n' }}{% endif %}{% endfor %}{% else %}{% for message in messages %}{% if message['role'] == 'system' %}{{ '<|system|>\n' + message['content'] + '\n' }}{% elif message['role'] == 'user' %}{{ '<|user|>\n' + message['content'] + '\n' }}{% elif message['role'] == 'assistant' %}{% if not loop.last %}{{ '<|assistant|>\n' + message['content'] + eos_token + '\n' }}{% else %}{{ '<|assistant|>\n' + message['content'] + eos_token }}{% endif %}{% endif %}{% if loop.last and add_generation_prompt %}{{ '<|assistant|>\n' }}{% endif %}{% endfor %}{% endif %}",
|
16223 |
"clean_up_tokenization_spaces": true,
|
16224 |
"eos_token": "<|endoftext|>",
|
16225 |
"extra_special_tokens": {},
|