Views
No views yet

<|im_start|>system
You are Orca Mini, a helpful AI assistant.<|im_end|>
<|im_start|>user
Hello Orca Mini, what can you do for me?<|im_end|>
<|im_start|>assistant1from transformers import AutoModel, AutoTokenizer
2model_slug = "pankajmathur/orca_mini_v6_8b_dpo"
3model = AutoModel.from_pretrained(model_slug)
4tokenizer = AutoTokenizer.from_pretrained(model_slug)
5
6messages = [
7 {"role": "system", "content": "You are Orca Mini, a helpful AI assistant."},
8 {"role": "user", "content": "Hello Orca Mini, what can you do for me?"}
9]
10
11gen_input = tokenizer.apply_chat_template(messages, return_tensors="pt")
12model.generate(**gen_input)| Metric | Value |
|---|---|
| Avg. | 20.29 |
| IFEval (0-Shot) | 38.83 |
| BBH (3-Shot) | 32.48 |
| MATH Lvl 5 (4-Shot) | 5.51 |
| GPQA (0-shot) | 6.82 |
| MuSR (0-shot) | 9.26 |
| MMLU-PRO (5-shot) | 28.85 |