Text Generation
Safetensors
GGUF
qwen2
ternary
bitnet
1.58bit
cpu
deepseek
efficient
low-memory
jirack
web-ui
routing
tool-call
robotics
NVIDIA Inception Program Member
conversational
Instructions to use CMSManhattan/JiRackUltra_14b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use CMSManhattan/JiRackUltra_14b with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf CMSManhattan/JiRackUltra_14b:Q4_K_M # Run inference directly in the terminal: llama cli -hf CMSManhattan/JiRackUltra_14b:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf CMSManhattan/JiRackUltra_14b:Q4_K_M # Run inference directly in the terminal: llama cli -hf CMSManhattan/JiRackUltra_14b:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf CMSManhattan/JiRackUltra_14b:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf CMSManhattan/JiRackUltra_14b:Q4_K_M
Use Docker
docker model run hf.co/CMSManhattan/JiRackUltra_14b:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use CMSManhattan/JiRackUltra_14b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "CMSManhattan/JiRackUltra_14b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "CMSManhattan/JiRackUltra_14b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/CMSManhattan/JiRackUltra_14b:Q4_K_M
- Ollama
How to use CMSManhattan/JiRackUltra_14b with Ollama:
ollama run hf.co/CMSManhattan/JiRackUltra_14b:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use CMSManhattan/JiRackUltra_14b with Docker Model Runner:
docker model run hf.co/CMSManhattan/JiRackUltra_14b:Q4_K_M
- Lemonade
How to use CMSManhattan/JiRackUltra_14b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull CMSManhattan/JiRackUltra_14b:Q4_K_M
Run and chat with the model
lemonade run user.JiRackUltra_14b-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Initial upload of JiRackTernary Pro 10B weights
Browse files- .gitattributes +3 -0
- JiRackUltra_14b.Q5_K_M.gguf +3 -0
- JiRackUltra_14b.Q6_K.gguf +3 -0
- JiRackUltra_14b.Q8_0.gguf +3 -0
- chat_template.jinja +1 -1
- chat_template.jinja_with_thinking +1 -0
- gguf.txt +14 -0
- gguf_chat.sh +2 -0
- tokenizer_config.json_with_thinking +131 -0
.gitattributes
CHANGED
|
@@ -39,3 +39,6 @@ JiRackUltra_14b_Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
|
| 39 |
JiRackUltra_14b_Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
JiRackUltra_14b_Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
JiRackUltra_14b_Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
JiRackUltra_14b_Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
JiRackUltra_14b.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
JiRackUltra_14b.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
JiRackUltra_14b.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
JiRackUltra_14b.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a72b1fb708ada131d561b495da718a8e597df253b4e5a47980c3d3e1f0a8144
|
| 3 |
+
size 10508872928
|
JiRackUltra_14b.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2edb50374ef4a1de6b5915054cbe46c0472aaf5c79ff326434f83d2f74d93acf
|
| 3 |
+
size 12124683488
|
JiRackUltra_14b.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:68a9ce7aacc35b264bf97b20753b26af2a9dcd3a68e0a71d4746c58e078c2a5d
|
| 3 |
+
size 15701597408
|
chat_template.jinja
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %}{%- for message in messages %}{%- if message['role'] == 'system' %}{% set ns.system_prompt = message['content'] %}{%- endif %}{%- endfor %}{{bos_token}}{{ns.system_prompt}}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is none %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls']%}{%- if not ns.is_first %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{%- set ns.is_first = true -%}{%- else %}{{'\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- endfor %}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is not none %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|><think>\n'}}{% endif %}
|
|
|
|
| 1 |
+
{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %}{%- for message in messages %}{%- if message['role'] == 'system' %}{% set ns.system_prompt = message['content'] %}{%- endif %}{%- endfor %}{{bos_token}}{{ns.system_prompt}}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is none %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls']%}{%- if not ns.is_first %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{%- set ns.is_first = true -%}{%- else %}{{'\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- endfor %}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is not none %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|><think>\n\n</think>\n\n'}}{% endif %}
|
chat_template.jinja_with_thinking
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %}{%- for message in messages %}{%- if message['role'] == 'system' %}{% set ns.system_prompt = message['content'] %}{%- endif %}{%- endfor %}{{bos_token}}{{ns.system_prompt}}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is none %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls']%}{%- if not ns.is_first %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{%- set ns.is_first = true -%}{%- else %}{{'\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- endfor %}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is not none %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|><think>\n'}}{% endif %}
|
gguf.txt
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 1. Конвертация в bf16 (как договорились)
|
| 2 |
+
python convert_hf_to_gguf.py /mnt/nfs_share/JiRackUlrta_1 \
|
| 3 |
+
--outfile /mnt/nfs_share/JiRackUlrta_1/jirack_1p5b.gguf --outtype bf16
|
| 4 |
+
|
| 5 |
+
# 2. Сборка llama-quantize (один раз)
|
| 6 |
+
cd /mnt/nfs_share/llama.cpp
|
| 7 |
+
cmake -B build
|
| 8 |
+
cmake --build build -j
|
| 9 |
+
|
| 10 |
+
# 3. Квантование в Q4_K_M
|
| 11 |
+
./build/bin/llama-quantize \
|
| 12 |
+
/mnt/nfs_share/JiRackUlrta_1/jirack_1p5b.gguf \
|
| 13 |
+
/mnt/nfs_share/JiRackUlrta_1/jirack_1p5b.Q4_K_M.gguf \
|
| 14 |
+
Q4_K_M
|
gguf_chat.sh
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export PATH="/mnt/nfs_share/llama.cpp/build/bin:$PATH"
|
| 2 |
+
llama-cli -m /mnt/nfs_share/JiRackUltra_14b/JiRackUltra_14b.Q5_K_M.gguf -c 8192 -ngl 0 -t 16 -p "Hi" -n 256
|
tokenizer_config.json_with_thinking
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": null,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<|begin▁of▁sentence|>",
|
| 5 |
+
"clean_up_tokenization_spaces": false,
|
| 6 |
+
"eos_token": "<|end▁of▁sentence|>",
|
| 7 |
+
"is_local": false,
|
| 8 |
+
"legacy": true,
|
| 9 |
+
"local_files_only": false,
|
| 10 |
+
"model_max_length": 16384,
|
| 11 |
+
"pad_token": "<|end▁of▁sentence|>",
|
| 12 |
+
"sp_model_kwargs": {},
|
| 13 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 14 |
+
"unk_token": null,
|
| 15 |
+
"additional_special_tokens": [
|
| 16 |
+
"<|image|>",
|
| 17 |
+
"<|video|>",
|
| 18 |
+
"<|sound|>",
|
| 19 |
+
"<|voice|>",
|
| 20 |
+
"<|listening|>",
|
| 21 |
+
"<|vision|>",
|
| 22 |
+
"<|mood_happy|>",
|
| 23 |
+
"<|mood_sad|>",
|
| 24 |
+
"<|mood_angry|>",
|
| 25 |
+
"<|mood_neutral|>",
|
| 26 |
+
"<fim_prefix>",
|
| 27 |
+
"<fim_middle>",
|
| 28 |
+
"<fim_suffix>",
|
| 29 |
+
"<|action_start|>",
|
| 30 |
+
"<|action_end|>",
|
| 31 |
+
"<|trajectory_start|>",
|
| 32 |
+
"<|trajectory_end|>",
|
| 33 |
+
"<|joint_start|>",
|
| 34 |
+
"<|joint_end|>",
|
| 35 |
+
"<|sensor_start|>",
|
| 36 |
+
"<|sensor_end|>",
|
| 37 |
+
"<|command_start|>",
|
| 38 |
+
"<|command_end|>",
|
| 39 |
+
"<|state_start|>",
|
| 40 |
+
"<|state_end|>",
|
| 41 |
+
"<|pose|>",
|
| 42 |
+
"<|velocity|>",
|
| 43 |
+
"<|force|>",
|
| 44 |
+
"<|torque|>",
|
| 45 |
+
"<|gripper|>",
|
| 46 |
+
"<|navigation|>",
|
| 47 |
+
"<|obstacle|>",
|
| 48 |
+
"<|task_start|>",
|
| 49 |
+
"<|task_end|>",
|
| 50 |
+
"<|plan_start|>",
|
| 51 |
+
"<|plan_end|>",
|
| 52 |
+
"<|behavior_start|>",
|
| 53 |
+
"<|behavior_end|>",
|
| 54 |
+
"<|skill_start|>",
|
| 55 |
+
"<|skill_end|>",
|
| 56 |
+
"<|motor|>",
|
| 57 |
+
"<|servo|>",
|
| 58 |
+
"<|imu|>",
|
| 59 |
+
"<|lidar|>",
|
| 60 |
+
"<|camera|>",
|
| 61 |
+
"<|depth|>",
|
| 62 |
+
"<|waypoint|>",
|
| 63 |
+
"<|path|>",
|
| 64 |
+
"<|collision|>",
|
| 65 |
+
"<|grasp|>",
|
| 66 |
+
"<|release|>",
|
| 67 |
+
"<|homing|>",
|
| 68 |
+
"<|emergency_stop|>",
|
| 69 |
+
"<|calibration|>",
|
| 70 |
+
"<|manipulation|>",
|
| 71 |
+
"<|locomotion|>",
|
| 72 |
+
"<|feedback|>",
|
| 73 |
+
"<|control_loop|>",
|
| 74 |
+
"<|language|>",
|
| 75 |
+
"<|tool_call_start|>",
|
| 76 |
+
"<|tool_call_end|>",
|
| 77 |
+
"<|tool_result_start|>",
|
| 78 |
+
"<|tool_result_end|>",
|
| 79 |
+
"__SCIENCE__",
|
| 80 |
+
"__CODING__",
|
| 81 |
+
"__STOCK_EXCHANGE__",
|
| 82 |
+
"__MEDICINE__",
|
| 83 |
+
"__GOVERNMENT__",
|
| 84 |
+
"__NEWS__",
|
| 85 |
+
"__GENERAL__",
|
| 86 |
+
"__MATERIAL_SCIENCE__",
|
| 87 |
+
"__ELECTRONICS__",
|
| 88 |
+
"__MICROELECTRONICS__",
|
| 89 |
+
"__ENGINEERING__",
|
| 90 |
+
"__ROBOTICS__",
|
| 91 |
+
"__ENERGY__",
|
| 92 |
+
"__AUTOMOTIVE__",
|
| 93 |
+
"__AVIATION__",
|
| 94 |
+
"__MATH__",
|
| 95 |
+
"__PYTHON__",
|
| 96 |
+
"__C__",
|
| 97 |
+
"__CPP__",
|
| 98 |
+
"__C_SHARP__",
|
| 99 |
+
"__JAVA__",
|
| 100 |
+
"__JAVASCRIPT__",
|
| 101 |
+
"__TYPESCRIPT__",
|
| 102 |
+
"__RUST__",
|
| 103 |
+
"__GO__",
|
| 104 |
+
"__RUBY__",
|
| 105 |
+
"__PHP__",
|
| 106 |
+
"__SWIFT__",
|
| 107 |
+
"__KOTLIN__",
|
| 108 |
+
"__BASH__",
|
| 109 |
+
"__SQL__",
|
| 110 |
+
"__ASSEMBLY__",
|
| 111 |
+
"__PHILOSOPHY__",
|
| 112 |
+
"__LITERATURE__",
|
| 113 |
+
"__SOCIOLOGY__",
|
| 114 |
+
"__PSYCHOLOGY__",
|
| 115 |
+
"__POLITICAL_SCIENCE__",
|
| 116 |
+
"__CULTURAL_STUDIES__",
|
| 117 |
+
"__ETHNOGRAPHY__",
|
| 118 |
+
"__HUMAN_RIGHTS__",
|
| 119 |
+
"__COMPLIANCE__",
|
| 120 |
+
"__MILITARY__",
|
| 121 |
+
"__BANKING__",
|
| 122 |
+
"__OIL_INDUSTRY__",
|
| 123 |
+
"__LIGHT_INDUSTRY__",
|
| 124 |
+
"__NATURE__",
|
| 125 |
+
"__OCEAN__",
|
| 126 |
+
"__SPORT__",
|
| 127 |
+
"__CULINARY__",
|
| 128 |
+
"__TRAVEL__",
|
| 129 |
+
"__HOBBY__"
|
| 130 |
+
]
|
| 131 |
+
}
|