How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-generation", model="arcee-ai/raspberry-3B")
messages = [
    {"role": "user", "content": "Who are you?"},
]
pipe(messages)
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM

tokenizer = AutoTokenizer.from_pretrained("arcee-ai/raspberry-3B")
model = AutoModelForCausalLM.from_pretrained("arcee-ai/raspberry-3B")
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=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

Prompt Format: ChatML

This is an experimental which was heavily optimized for reasoning tasks and not meant for production-use.

GGUFs: https://huggingface.co/mradermacher/raspberry-3B-GGUF

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 15.40
IFEval (0-Shot) 31.54
BBH (3-Shot) 19.53
MATH Lvl 5 (4-Shot) 7.63
GPQA (0-shot) 3.69
MuSR (0-shot) 9.41
MMLU-PRO (5-shot) 20.60
Downloads last month
39
Safetensors
Model size
3B params
Tensor type
BF16
·
Inference Providers NEW
Input a message to start chatting with arcee-ai/raspberry-3B.

Model tree for arcee-ai/raspberry-3B

Base model

Qwen/Qwen2.5-3B
Finetuned
(392)
this model
Merges
3 models
Quantizations
4 models

Space using arcee-ai/raspberry-3B 1