Qemma
is a HuggingFace-native hybrid model that merges
Gemma-3 (1B)
and
Qwen-3 (0.6B)
at the weight level (no adapters).
Design: Gemma MLP/body + Qwen attention/head, projected and aligned to Gemma’s hidden size. The model is then SFT-tuned for stepwise reasoning.
Quick start
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model_id = "reaperdoesntknow/Qemma"
tok = AutoTokenizer.from_pretrained(model_id, use_fast=True)
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16).eval()
messages = [{"role": "user", "content": "Explain finite-scale discrepancy Δ_r in one paragraph."}]
inputs = tok.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt")
out = model.generate(inputs, max_new_tokens=256, do_sample=True, temperature=0.7, top_p=0.9)
print(tok.decode(out[0], skip_special_tokens=True))
What’s inside
Architecture:
Gemma-3 backbone (26 layers, hidden 1152, MLP 6912) with
Qwen-style attention
regrouped to Gemma’s 4×256 heads.
Tokenizer:
Gemma-3 tokenizer and chat template (see
chat_template.jinja
).
Training:
SFT for instruction following and stepwise reasoning.
Intended use & limitations
Use:
research, instruction following, code/help, analysis, further SFT/RLHF.
Limits:
may hallucinate; not for safety-critical, medical, legal, or financial decisions. Follow dataset/model licenses.
Training procedure
~512 warm-start steps (Alpaca-style data)
256 SFT steps on
O1-OPEN/OpenO1-SFT
+100 top-up SFT steps for reasoning behaviors
This model was trained with SFT.
Framework versions
TRL: 0.25.0
Transformers: 4.57.1
Pytorch: 2.8.0+cpu
Datasets: 4.4.1
Tokenizers: 0.22.1
Citations
Cite TRL as:
@misc{vonwerra2022trl,
title = {{TRL: Transformer Reinforcement Learning}},
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
year = 2020,
journal = {GitHub repository},
publisher = {GitHub},
howpublished = {\url{https://github.com/huggingface/trl}}
}
Qemma huggingface.co is an AI model on huggingface.co that provides Qemma's model effect (), which can be used instantly with this reaperdoesntknow Qemma model. huggingface.co supports a free trial of the Qemma model, and also provides paid use of the Qemma. Support call Qemma model through api, including Node.js, Python, http.
Qemma huggingface.co is an online trial and call api platform, which integrates Qemma's modeling effects, including api services, and provides a free online trial of Qemma, you can try Qemma online for free by clicking the link below.
reaperdoesntknow Qemma online free url in huggingface.co:
Qemma is an open source model from GitHub that offers a free installation service, and any user can find Qemma on GitHub to install. At the same time, huggingface.co provides the effect of Qemma install, users can directly use Qemma installed effect in huggingface.co for debugging and trial. It also supports api for free installation.