Sponsored by
Vmake Labs Video Enhancer
-Vmake Labs Video Enhancer uses AI to improve video quality, restore details, reduce blur, and upscale videos to 8K.
Current quantizations were done from the FP16 model.
If you need custom compression or fine-tuning, please write to me and I'll perform QAT from your dataset, tailored specifically to your task.
Plus double QAT via ONNX QAT.
Adapt train process to avoid catastrophic forgetting with NDA
Adapt train process to avoid fast plateau in training with NDA
Adapts to agentic or instruct models for tool calling, using the JiRack tokenizer to enable high-quality tool calling on small models — built as a domain-specific tool expert.
from transformers import AutoTokenizer
tok = AutoTokenizer.from_pretrained("CMSManhattan/GemmaRoboticsTokenizer")
prompt = tok.apply_chat_template(
[{"role": "user", "content": "Hello"}],
add_generation_prompt=True,
enable_thinking=False,
tokenize=False,
)
Official
google/gemma-4-26B-A4B-it
tokenizer also works for plain chat (vocab 262,144).
Robotics / routing tags need the extended tokenizer.
The extra 107 tokens sit
past
this checkpoint’s
token_emb
(262,144).
They are safe in the template and in datasets; do not emit those ids until you
resize_token_embeddings(len(tokenizer))
and train the new rows.
Training Notice
During Quantization-Aware Training, the routing mechanism should remain frozen. Router training should only commence once the lambda parameter reaches 1.0 and the base model's quality has been verified.
(Note: "lamba" was corrected to "lambda" in these revisions, assuming it refers to the standard scaling parameter often used in QAT and straight-through estimators).
Run Notice
Please note that the model has not been tested on large contexts yet. Let me know if you notice any difference in quality compared to the original.
Chat template
Gemma 4 native (
<|turn>user
/
<|turn>model
/
<turn|>
).
Thinking is a template flag (
enable_thinking
), not a
</think>
suffix.
With thinking off the model still emits an empty
<|channel>thought\n<channel|>
block — strip it from history.
from transformers import AutoTokenizer
from JiRackTernaryGemma4_26b import JiRackTernaryGemma4_26b, JiRackConfig
tok = AutoTokenizer.from_pretrained("CMSManhattan/GemmaRoboticsTokenizer")
# load shards via model.safetensors.index.json into JiRackTernaryGemma4_26b# model.set_lambda(0.0)
ollama run cmsmanhattan/JiRackTernaryGemma4-26b-q3 "Hello"
ollama run cmsmanhattan/JiRackTernaryGemma4-26b-q4 "Hello"
ollama run cmsmanhattan/JiRackTernaryGemma4-26b-q5 "Hello"
ollama run cmsmanhattan/JiRackTernaryGemma4-26b-q6 "Hello"
ollama run cmsmanhattan/JiRackTernaryGemma4-26b-q8 "Hello"
Hardware
Use
RAM
Quant
Recommended
24–32 GB
Q4_K_M
High quality
48 GB+
Q6 / Q8 / F16
Low memory
16–24 GB
Q3_K_M
bf16 safetensors need ~50 GB RAM/VRAM resident even though only ~4B params fire per token.
JiRackTernaryGemma4_26b huggingface.co is an AI model on huggingface.co that provides JiRackTernaryGemma4_26b's model effect (), which can be used instantly with this CMSManhattan JiRackTernaryGemma4_26b model. huggingface.co supports a free trial of the JiRackTernaryGemma4_26b model, and also provides paid use of the JiRackTernaryGemma4_26b. Support call JiRackTernaryGemma4_26b model through api, including Node.js, Python, http.
JiRackTernaryGemma4_26b huggingface.co is an online trial and call api platform, which integrates JiRackTernaryGemma4_26b's modeling effects, including api services, and provides a free online trial of JiRackTernaryGemma4_26b, you can try JiRackTernaryGemma4_26b online for free by clicking the link below.
CMSManhattan JiRackTernaryGemma4_26b online free url in huggingface.co:
JiRackTernaryGemma4_26b is an open source model from GitHub that offers a free installation service, and any user can find JiRackTernaryGemma4_26b on GitHub to install. At the same time, huggingface.co provides the effect of JiRackTernaryGemma4_26b install, users can directly use JiRackTernaryGemma4_26b installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
JiRackTernaryGemma4_26b install url in huggingface.co: