Run this model with HF Jobs

Run Cannae-AI/GsMath-Llama-1B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/Cannae-AI/GsMath-Llama-1B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Cannae-AI/GsMath-Llama-1B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/Cannae-AI/GsMath-Llama-1B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/Cannae-AI/GsMath-Llama-1B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

GsMath-Llama-1B

Model Description:

This is a fine-tuned version of unsloth/Llama-3.2-1B!

  • recommended settings for inference: min_p = 0.1 and temperature = 1.5 , Read this Tweet to understand why.
  • License : apache-2.0
  • Finetuned from model : unsloth/Llama-3.2-1B

Benchmarks:

We evaluate both models on GSM8K using the standard lm-eval 5-shot exact-match protocol. Under identical decoding and extraction settings,GsMath-Llama-1B outperforms Meta’s Llama-3.2-1B by 2x,demonstrating an improvement in small-model mathematical capability.

Model Params GSM8K (5-shot, EM)
GsMath-Llama-1B 1B 0.137
Llama-3.2-1B 1B 0.068

GsMath-Llama-1B

Downloads last month
110
Safetensors
Model size
1B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Cannae-AI/GsMath-Llama-1B

Finetuned
(127)
this model
Quantizations
1 model

Collection including Cannae-AI/GsMath-Llama-1B