The palmyra-mini-thinking-a model demonstrates exceptional performance in advanced mathematical reasoning and competitive programming. Its capabilities are highlighted by an outstanding score of 0.886 on the 'MATH500' benchmark, showcasing a robust ability to solve complex mathematical problems. The strength of the model in quantitative challenges is further confirmed by its score of 0.8287 on 'gsm8k (strict-match)', which demonstrates proficiency in multi-step arithmetic reasoning. Additionally, the model proves its aptitude for high-level problem-solving with a score of 0.8 on 'AMC23'. The model also shows strong potential in the coding domain, achieving a score of 0.5631 on 'Codeforces (pass_rate)' and 0.5481 on 'Olympiadbench (extractive_match)', indicating competence in generating correct solutions for programming challenges.
Benchmark Performance
This section provides a detailed breakdown of the palmyra-mini-thinking-a model's performance across a standardized set of industry benchmarks. The data is presented in its original order from the source evaluation.
You can run conversational inference using the Transformers Auto classes with the
generate()
function. Here's an example:
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = "Writer/palmyra-mini-thinking-a"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.float16,
device_map="auto",
attn_implementation="flash_attention_2",
)
messages = [
{
"role": "user",
"content": "You have a 3-liter jug and a 5-liter jug. How can you measure exactly 4 liters of water?"
}
],
input_ids = tokenizer.apply_chat_template(
messages, tokenize=True, add_generation_prompt=True, return_tensors="pt"
)
gen_conf = {
"max_new_tokens": 256,
"eos_token_id": tokenizer.eos_token_id,
"temperature": 0.3,
"top_p": 0.9,
}
with torch.inference_mode():
output_id = model.generate(input_ids, **gen_conf)
output_text = tokenizer.decode(output_id[0][input_ids.shape[1] :])
print(output_text)
Running with vLLM
vllm serve Writer/palmyra-mini-thinking-a
curl -X POST http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{ "model": "Writer/palmyra-mini-thinking-a", "messages": [ { "role": "user", "content": "You have a 3-liter jug and a 5-liter jug. How can you measure exactly 4 liters of water?" } ], "max_tokens": 8000, "temperature": 0.2 }'
Ethical Considerations
As with any language model, there is a potential for generating biased or inaccurate information. Users should be aware of these limitations and use the model responsibly.
Citation and Related Information
To cite this model:
@misc{Palmyra-mini-thinking-a,
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
}
palmyra-mini-thinking-a-GGUF huggingface.co is an AI model on huggingface.co that provides palmyra-mini-thinking-a-GGUF's model effect (), which can be used instantly with this QuantFactory palmyra-mini-thinking-a-GGUF model. huggingface.co supports a free trial of the palmyra-mini-thinking-a-GGUF model, and also provides paid use of the palmyra-mini-thinking-a-GGUF. Support call palmyra-mini-thinking-a-GGUF model through api, including Node.js, Python, http.
palmyra-mini-thinking-a-GGUF huggingface.co is an online trial and call api platform, which integrates palmyra-mini-thinking-a-GGUF's modeling effects, including api services, and provides a free online trial of palmyra-mini-thinking-a-GGUF, you can try palmyra-mini-thinking-a-GGUF online for free by clicking the link below.
QuantFactory palmyra-mini-thinking-a-GGUF online free url in huggingface.co:
palmyra-mini-thinking-a-GGUF is an open source model from GitHub that offers a free installation service, and any user can find palmyra-mini-thinking-a-GGUF on GitHub to install. At the same time, huggingface.co provides the effect of palmyra-mini-thinking-a-GGUF install, users can directly use palmyra-mini-thinking-a-GGUF installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
palmyra-mini-thinking-a-GGUF install url in huggingface.co: