Instructions to use DRUPEs/CherryPit-1.3-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DRUPEs/CherryPit-1.3-2B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DRUPEs/CherryPit-1.3-2B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DRUPEs/CherryPit-1.3-2B") model = AutoModelForCausalLM.from_pretrained("DRUPEs/CherryPit-1.3-2B", device_map="auto") 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DRUPEs/CherryPit-1.3-2B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DRUPEs/CherryPit-1.3-2B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DRUPEs/CherryPit-1.3-2B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DRUPEs/CherryPit-1.3-2B
- SGLang
How to use DRUPEs/CherryPit-1.3-2B with 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 "DRUPEs/CherryPit-1.3-2B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DRUPEs/CherryPit-1.3-2B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "DRUPEs/CherryPit-1.3-2B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DRUPEs/CherryPit-1.3-2B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use DRUPEs/CherryPit-1.3-2B with Docker Model Runner:
docker model run hf.co/DRUPEs/CherryPit-1.3-2B
CherryPit-1.3-2B
CherryPit-1.3-2B is the fourth release of CherryPit from DRUPEs (Dense Representation & Unified Parameter Encoding Systems), built on MiniCPM5-2B. It is a big step up in math: AIME 2025 + 2026 with thinking goes from 67.5 to 79.2, and MATH-500 from 87.2 to 91.8. Web apps that combine several features and instruction following also improved. Same size, architecture and speed as 1.0-1.2.
Results vs CherryPit-1.2
Both models were run on the same harness, items, prompts and seeds (bf16 weights in vLLM, one start-of-text token). 1.2 was measured as shipped; its own card's numbers came from its weights before the final merge, so a few differ.
| Benchmark | Setting | CherryPit-1.2 | CherryPit-1.3 | Δ |
|---|---|---|---|---|
| Math | ||||
| AIME 2025 + 2026 | thinking, 32K, 2 samples each | 67.5 | 79.2 | +11.7 |
| MATH-500 | no thinking, greedy | 87.2 | 91.8 | +4.6 |
| Web development | ||||
| WebApp1K-React, 1 feature | no thinking, 1,000 tasks | 83.2 | 84.6 | +1.4 |
| WebApp1K Duo, 2 features in one component | no thinking, 1,000 tasks | 48.3 | 52.7 | +4.4 |
| WebApp1K Trio, 3 features | no thinking, 1,000 tasks | 45.7 | 49.7 | +4.0 |
| WebApp1K Quartet, 4 features | no thinking, 1,000 tasks | 29.5 | 35.0 | +5.5 |
| Coding | ||||
| LiveCodeBench v6 | thinking, 8K, avg of 2 | 47.7 | 45.7 | −2.0 (not significant) |
| LiveCodeBench v6 | no thinking, avg of 4 | 38.4 | 36.0 | −2.4 (not significant) |
| HumanEval+ | no thinking, greedy | 84.8 | 84.1 | −0.7 (not significant) |
| MBPP+ | no thinking, greedy | 68.3 | 68.8 | +0.5 |
| Instruction following | ||||
| IFEval | strict, prompt level | 86.1 | 87.2 | +1.1 |
- AIME, problem by problem: 1.3 solves 22 that 1.2 misses and misses 8 that 1.2 solves (one-sided sign test p = 0.008).
- No benchmark got significantly worse: every row was checked per item (paired sign tests) against 1.0, 1.1 and 1.2.
- None of these benchmarks was used for training. The 75 / 25 blend ratio was fixed before it was measured.
What's new in 1.3
- Math from a weight merge: CherryPit-1.1 averaged with Caldalis/MiniCPM5-2B-Math, an open (Apache-2.0) math fine-tune of the same base model. The average beat both parents on long-budget math and commits to wrong answers far less often.
- Repairs on top: fine-tuned on our own verified web-app, Python, instruction-following and code data, then blended 75 / 25 with a CherryPit-1.2-line model, which put instruction following above both parents. No parameters added.
- The GGUF repo's Q4_K_M uses a new Hessian-aware rounding that is about 2.2x closer to full precision at the same size.
Model Details
- Developed by: DRUPEs
- Model type: Causal language model
- Parameters: ~2B
- Base model: MiniCPM5-2B; merged with Caldalis/MiniCPM5-2B-Math (same base)
- Previous version: CherryPit-1.2-2B
- Architecture: Standard Llama
- Context length: 128K tokens (131,072)
- Tool calling: Supported (via the built-in chat template)
- Language(s): English
- License: Apache 2.0
- Version: 1.3
How to Use
Full-precision (bf16) weights for transformers, vLLM and further fine-tuning. For llama.cpp, Ollama or LM Studio use DRUPEs/CherryPit-1.3-2B-GGUF.
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("DRUPEs/CherryPit-1.3-2B")
model = AutoModelForCausalLM.from_pretrained("DRUPEs/CherryPit-1.3-2B", torch_dtype="bfloat16", device_map="auto")
msgs = [{"role": "user", "content": "How many positive integers n < 1000 make n^2 + n + 41 prime?"}]
ids = tok.apply_chat_template(msgs, add_generation_prompt=True, return_tensors="pt").to(model.device)
out = model.generate(ids, max_new_tokens=16384, do_sample=True, temperature=1.0, top_p=0.95)
print(tok.decode(out[0][ids.shape[1]:], skip_special_tokens=True))
vllm serve DRUPEs/CherryPit-1.3-2B --max-model-len 32768
Recommended sampling: temperature 1.0, top_p 0.95. The template starts in thinking mode; give hard math room
(the AIME numbers use up to 32K new tokens). Pass enable_thinking=False to apply_chat_template (vLLM:
chat_template_kwargs) for short, direct answers.
Limitations
- It is a 2B model: it can be confidently wrong, so check answers that matter.
- Coding is about level with 1.2, not better: LiveCodeBench −2.0 with thinking and −2.4 without, HumanEval+ −0.7, all within noise.
- Combining features is better but not solved: four features in one component pass 35.0% of the time vs 84.6% for one.
- Tested in English only.
- Downloads last month
- -