Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- lora_chat_template.jinja +1 -0
- lora_tokenizer.json +3 -0
- lora_tokenizer_config.json +5 -0
- qmodel.lora +3 -0
- trillim_config.json +13 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
lora_tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
qmodel.lora filter=lfs diff=lfs merge=lfs -text
|
lora_chat_template.jinja
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{% set has_system = messages | selectattr('role', 'equalto', 'system') | list | length > 0 %}{% if not has_system %}System: You have access to a search tool. To search the web, write <search>your query</search> and you will receive results. Use search for questions about current events, specific people, places, or facts you are unsure about. Answer directly for math, reasoning, coding, or general knowledge you are confident about.<|eot_id|>{% endif %}{% for message in messages %}{% if message['role'] == 'system' %}System: {{ message['content'] | trim }}<|eot_id|>{% elif message['role'] == 'user' %}User: {{ message['content'] | trim }}<|eot_id|>{% elif message['role'] == 'assistant' %}Assistant: {{ message['content'] | trim }}<|eot_id|>{% elif message['role'] == 'search' %}Search: {{ message['content'] | trim }}<|eot_id|>{% endif %}{% endfor %}{% if add_generation_prompt %}{{ 'Assistant: ' }}{% endif %}
|
lora_tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8fc5ed64d17c57f61c0ef996ac8b3a8918e7d406866cc4a0292d362a31a217e4
|
| 3 |
+
size 17210125
|
lora_tokenizer_config.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": "<|begin_of_text|>",
|
| 3 |
+
"eos_token": "<|eot_id|>",
|
| 4 |
+
"pad_token": "<|eot_id|>"
|
| 5 |
+
}
|
qmodel.lora
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fc60bb99ae8475d5e3e50b0e5e6ef39d3367750963dfa79c3367f51c1b589557
|
| 3 |
+
size 86507754
|
trillim_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"trillim_version": "0.3.0",
|
| 3 |
+
"format_version": 3,
|
| 4 |
+
"type": "lora_adapter",
|
| 5 |
+
"quantization": "ternary",
|
| 6 |
+
"source_model": "microsoft/bitnet-b1.58-2B-4T-bf16",
|
| 7 |
+
"architecture": "bitnet",
|
| 8 |
+
"platforms": [
|
| 9 |
+
"x86_64",
|
| 10 |
+
"aarch64"
|
| 11 |
+
],
|
| 12 |
+
"base_model_config_hash": "46c46efcb3b6ca1e0e6ce2f822cdb6d211b165b4d4f6359b3581ced1616b01ba"
|
| 13 |
+
}
|