Text / HuggingFaceTB

qwen3 1.7b gsm8k sft

Qwen3-1.7B-GSM8K-SFT is an Apache-2.0 licensed, fine-tuned version of Qwen/Qwen3-1.7B optimized for mathematical reasoning. The model card reports fine-tuning on GSM8K and MetaMathQA GSM-related examples (247,467 examples) using chain-of-thought reasoning. Reported accuracy is 77.2% on the GSM8K test set and 55.2% on MATH-500, with a noted baseline GSM8K accuracy of about 20% for the original Qwen3-1.7B. The repository provides safetensors and GGUF formats, including q8_0 and f16 GGUF files. The model is intended for text generation and math reasoning tasks in English.

EstimatedRepository opened Mar 25, 2026Source checked 9/25/2026Version: b0a537b7
LOCALRENTED GPUOPEN WEIGHTS
Freshness 46 out of 100. Repository age: 204 days old, Mar 25, 2026. Measures age, not quality.
Popularity 40 out of 100. 1,791 downloads in 30 days; 4 lifetime likes. Checked Oct 15, 2026. Measures adoption, not quality.
What do these scores mean?

Two ways to compare models. Neither score measures answer quality, benchmark performance, or whether a model fits your machine.

Freshness · release age

A new release starts at 100. The score halves every 180 days: 100 × 2^(−age in days / 180). When the release date is unavailable, a repository date is a fallback—not proof of when the model was released. Missing dates stay unscored.

Check the date source
Popularity · adoption

Downloads over the past 30 days carry 80% of the score; lifetime likes carry 20%. Both use a logarithmic scale, capped at 10 million downloads and 100,000 likes. If likes are unavailable, downloads carry all the weight. Missing download statistics stay unscored.

round(80 × min(1, log10(1 + downloads) / 7) + 20 × min(1, log10(1 + likes) / 5))

Check the statistics source
Scores as of Oct 15, 2026. Statistics checked Oct 15, 2026. Statistics are marked for refresh after 72 hours.Full scoring method

At a glance

Parameters
1.72B
Architecture
qwen3
Context length
40,960
License
apache-2.0
Disk space
3.2 GB
Software
Ollama, Transformers
View the model source
MY HARDWARE

Will it run on your machine?

Save your machine to see a personalized rating and its reasoning.

Add my hardware

Best for

  • Solving grade-school math word problems similar to GSM8K
  • Generating chain-of-thought math reasoning
  • Running local text-generation inference with GGUF-compatible runtimes such as llama.cpp or Ollama
  • English-language mathematical question answering
  • Practice or experimentation with fine-tuned small math reasoning models

Tradeoffs

  • Fine-tuning focused on GSM8K-style problems may reduce MATH-500 performance relative to the base model
  • Reported MATH-500 accuracy drops at higher difficulty levels, with 29.1% on Level 5
  • Lower reported accuracy on geometry, precalculus, and intermediate algebra subjects
  • Language coverage listed only as English
  • No compatibility, performance, or numerical hardware requirements beyond the supplied model card should be assumed

Ways to run it

Ollama · Windows, macOS, Linux

Repository-specific command in publisher documentation; confirm dependencies and hardware in the source.

ollama run hf.co/HuggingFaceTB/qwen3-1.7b-gsm8k-sft:q8_0
Official instructions

Transformers · See official guide

Repository-specific command in publisher documentation; confirm dependencies and hardware in the source.

from transformers import AutoModelForCausalLM, AutoTokenizer import torch model = AutoModelForCausalLM.from_pretrained( "HuggingFaceTB/qwen3-1.7b-gsm8k-sft", torch_dtype=torch.bfloat16, device_map="auto" ) tokenizer = AutoTokenizer.from_pretrained("HuggingFaceTB/qwen3-1.7b-gsm8k-sft") # For math problems, the model uses chain-of-thought reasoning messages = [ {"role": "user", "content": "Natalia sold clips to 48 of her friends in April, and then she sold half as many clips in May. How many clips did Natalia sell altogether in April and May?"} ] text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True) inputs = tokenizer(text, return_tensors="pt").to(model.device) outputs = model.generate(**inputs, max_new_tokens=1024, do_sample=False) print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Official instructions

Explore its uses

SAFETENSORSGGUFREASONINGTEXT-GENERATION

Keep exploring

qwen3 1.7b gsm8k sft: hardware, VRAM & setup | YouRunAI