Downloads · 30 days
25
19% of all-time downloads
prithivMLmods/Q3.5-9B-GLM-5.1-v2.0
Q3.5-9B-GLM-5.1-v2.0 is a image-text-to-text model from prithivMLmods. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
25
19% of all-time downloads
All-time downloads
131
Public
Parameters
9.4B
18.8 GB on disk
Likes
4
Public
Click a slice to open those files.
.safetensors18.8 GB · 100%
From the Hugging Face model README

Q3.5-9B-GLM-5.1-v2.0 is a reasoning-capable 9B-parameter language model built on top of Qwen/Qwen3.5-9B. The model was trained through a multi-stage training pipeline using approximately 1.5K long-context GLM-5.1 math and science reasoning traces, along with additional high-quality reasoning traces, to improve long-form reasoning, mathematical problem solving, scientific analysis, and instruction-following capabilities.
[!NOTE] This model is an experimental release and may generate unexpected behaviors or reasoning artifacts in certain scenarios.
pip install transformers
pip install accelerate
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model = AutoModelForCausalLM.from_pretrained(
"prithivMLmods/Q3.5-9B-GLM-5.1-v2.0",
torch_dtype="auto",
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(
"prithivMLmods/Q3.5-9B-GLM-5.1-v2.0"
)
messages = [
{
"role": "user",
"content": "Explain how a transformer model processes text."
}
]
inputs = tokenizer.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_tensors="pt"
).to(model.device)
outputs = model.generate(
inputs,
max_new_tokens=512
)
print(
tokenizer.decode(
outputs[0][inputs.shape[-1]:],
skip_special_tokens=True
)
)
| Setting | Value |
|---|---|
| Base Model | Qwen/Qwen3.5-9B |
| Training Method | Multi-stage Supervised Fine-Tuning (SFT) |
| Maximum Sequence Length | 32,768 tokens (Long Context) |
| Training Precision | BF16 (Full Precision) |
| Training & Alignment Framework | TRL |
| Training Datasets | Jackrong/GLM-5.1-Reasoning-1M-Cleaned and additional high-quality reasoning datasets |
| Resource | Link |
|---|---|
| Transformers Model | prithivMLmods/Q3.5-9B-GLM-5.1-v2.0 |
| GGUF (llama.cpp Quantizations) | https://huggingface.co/prithivMLmods/Q3.5-9B-GLM-5.1-v2.0-GGUF |
Qwen/Qwen3.5-9B: Base model used for this project.
TRL - Transformers Reinforcement Learning: TRL is a full stack library providing tools to train transformer language models with methods including Supervised Fine-Tuning (SFT), Group Relative Policy Optimization (GRPO), Direct Preference Optimization (DPO), Reward Modeling, and more.
Transformers: Transformers provides state-of-the-art machine learning models for text, computer vision, audio, video, and multimodal tasks, supporting both inference and training.