Views
No views yet

| Benchmark | Pass@1 (avg-of-64) | Majority@64 |
|---|---|---|
| AIME24 | 59.43% | 71.67% |
| AIME25 | 49.69% | 60.00% |
| GPQA | 42.01% | 47.22% |
| HMMT25 | 27.86% | 30.00% |
| HLE | 5.22% | N/A |
| MMLU-PRO | 55.49% | 60.60% |
| MATH500 | 93.80% | 95.40% |
| LCB | 34.51% | N/A |
| Benchmark | Score (%) |
|---|---|
| GSM8K (strict-match) | 42.68% |
| Minerva Math (exact match) | 7.08% |
| MMLU-PRO (exact match) | 29.26% |
| MATH (Hendrycks) | 0.16% |
| IFEval (inst_level_loose_acc) | 32.97% |
| MathQA (acc) | 30.45% |
| HumanEval (pass@1) | 7.32% |
| BBH (get-answer)(exact match) | 28.80% |
| MBPP | 16.80% |
| GPQA (diamond, pass@1: 8 samples) | 39.58% |
| AIME24 (pass@1)(avg-of-1) | 60.00% |
| AIME25 (pass@1)(avg-of-1) | 50.00% |
| Livecodebench-codegen (livecodebench/code_generation_lite v4_v5) | 28.73% |
| AMC23 | 92.50% |
| MATH500 | 88.20% |
| Minerva | 29.41% |
| Olympiadbench (extractive_match) | 57.33% |
| Codecontests (pass_rate) | 20.18% |
| Codeforces (pass_rate) | 63.43% |
| Taco (pass_rate) | 34.56% |
| APPS (all_levels) | 5.84% |
| HMMT (Feb 2025) (extractive_match) | 23.33% |
| Average | 35.94% |
generate() function. Here's an example:1import torch
2from transformers import AutoTokenizer, AutoModelForCausalLM
3
4model_id = "Writer/palmyra-mini-thinking-b"
5
6tokenizer = AutoTokenizer.from_pretrained(model_id)
7
8model = AutoModelForCausalLM.from_pretrained(
9 model_id,
10 torch_dtype=torch.float16,
11 device_map="auto",
12 attn_implementation="flash_attention_2",
13)
14
15messages = [
16 {
17 "role": "user",
18 "content": "You have a 3-liter jug and a 5-liter jug. How can you measure exactly 4 liters of water?"
19 }
20 ],
21
22input_ids = tokenizer.apply_chat_template(
23 messages, tokenize=True, add_generation_prompt=True, return_tensors="pt"
24)
25
26gen_conf = {
27 "max_new_tokens": 256,
28 "eos_token_id": tokenizer.eos_token_id,
29 "temperature": 0.3,
30 "top_p": 0.9,
31}
32
33with torch.inference_mode():
34 output_id = model.generate(input_ids, **gen_conf)
35
36output_text = tokenizer.decode(output_id[0][input_ids.shape[1] :])
37
38print(output_text)vllm serve Writer/palmyra-mini-thinking-b1curl -X POST http://localhost:8000/v1/chat/completions \
2 -H "Content-Type: application/json" \
3 -d '{
4 "model": "Writer/palmyra-mini-thinking-b",
5 "messages": [
6 {
7 "role": "user",
8 "content": "You have a 3-liter jug and a 5-liter jug. How can you measure exactly 4 liters of water?"
9 }
10 ],
11 "max_tokens": 8000,
12 "temperature": 0.2
13 }'https://huggingface.co/nvidia/OpenReasoning-Nemotron-1.5B).lm_eval and lighteval.nemoskills.@misc{Palmyra-mini-thinking-b,
author = {Writer Engineering team},
title = {{Palmyra-mini: A powerful LLM designed for math and coding}},
howpublished = {\url{https://dev.writer.com}},
year = 2025,
month = Sep
}