How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="AINovice2005/quantized-SmolLM3-3B")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("AINovice2005/quantized-SmolLM3-3B")
model = AutoModelForCausalLM.from_pretrained("AINovice2005/quantized-SmolLM3-3B")
messages = [
    {"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

SmolLM3‑3B • Quantized


🚀 Model Description

This is an int8 quantized version of SmolLM3–3B, a highly efficient, open-source 3 B parameter LLM. It delivers nearly state-of-the-art multilingual reasoning and long-context performance (up to 128k tokens) with drastically reduced memory usage and inference cost, enabling fast deployment on mid‑range GPUs and edge devices.


📏 Quantization Details

  • Library: torchao
  • Precision: int8 weights and activations
  • Benefits: ~50–75% reduction in VRAM usage, enabling 12–16 GB GPU usage, with minimal performance drop on reasoning, coding, and long-context abilities

🎯 Intended Use

Ideal for:

  • Scenarios requiring fast LLM inference under constrained VRAM (e.g. small servers or laptops)
  • Multilingual reasoning tasks, chain-of-thought logic, and long-context document understanding
  • Deployments of dual-mode (think/no_think) conversational agents
  • Research into efficient LLM deployment and quantization techniques

⚠️ Limitations

  • Slight performance loss compared to full-precision SmolLM3‑3B
  • Requires proper benchmarking in your actual environment
  • Continues to exhibit standard LLM risks: hallucination, bias, etc.
  • Quant performance may vary across languages or context lengths
Downloads last month
1
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for AINovice2005/quantized-SmolLM3-3B

Quantized
(72)
this model

Collection including AINovice2005/quantized-SmolLM3-3B