Downloads · 30 days
22
17% of all-time downloads
isfs/Qwen3.5-2B-Base-int4
Qwen3.5-2B-Base-int4 is a text generation model from isfs. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as other.
This is a 4-bit quantized version of Qwen/Qwen3.5-2B-Base.
Downloads · 30 days
22
17% of all-time downloads
All-time downloads
126
Public
Parameters
1.9B
1.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.7 GB · 99%
How the weights are stored.
U81.4B · 74%
From the Hugging Face model README
This is a 4-bit quantized version of Qwen/Qwen3.5-2B-Base.
The weights on this repository are already quantized (4-bit), significantly reducing disk size and memory usage compared to the original BF16 model.
You must install bitsandbytes and transformers.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig
model_id = "isfs/Qwen3.5-2B-Base-int4"
# Since the weights are already quantized, you can simply load them.
# However, BitsAndBytes still requires a config for loading.
model = AutoModelForCausalLM.from_pretrained(
model_id,
device_map="auto",
trust_remote_code=True
)
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)