How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "KiteFishAI/Minnow-Math-2B" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "KiteFishAI/Minnow-Math-2B",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "KiteFishAI/Minnow-Math-2B" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "KiteFishAI/Minnow-Math-2B",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Quick Links

🐟 Minnow-Math-2B

Minnow-Math-2B is a 2B-parameter language model by Kitefish, focused on mathematical reasoning, symbolic understanding, and structured problem solving.

This is an early release and part of our ongoing effort to build strong, efficient models for reasoning-heavy tasks.


✨ What this model is good at

  • Basic to intermediate math problem solving
  • Step-by-step reasoning for equations and word problems
  • Understanding mathematical symbols and structure
  • Educational and experimentation use cases

πŸš€ Quick start

from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("kitefish/Minnow-Math-2B")
model = AutoModelForCausalLM.from_pretrained(
    "kitefish/Minnow-Math-2B",
    torch_dtype="auto",
    device_map="auto"
)

prompt = "Solve: 2x + 5 = 13"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)

outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Downloads last month
68
Safetensors
Model size
2B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Collections including KiteFishAI/Minnow-Math-2B