Views
No views yet
| Model | MMLU-Pro |
| GPT-4o | 72.6 |
| Gemini-1.5-Pro | 69.0 |
| Claude-3-Opus | 68.5 |
| GPT-4-Turbo | 63.7 |
| Higgs-Llama-3-70B | 63.2 |
| Gemini-1.5-Flash | 59.1 |
| Claude-3-Sonnet | 56.8 |
| Llama-3-70B-Instruct | 56.2 |
| Model | Arena-Hard |
| GPT-4o | 79.5 |
| Gemini-1.5-Pro | 72.0 |
| Claude-3-Opus | 60.4 |
| Higgs-Llama-3-70B | 49.6 |
| Gemini-1.5-Flash | 49.6 |
| Claude-3-Sonnet | 46.8 |
| Claude-3-Haiku | 41.5 |
| Llama-3-70B-Instruct | 41.1 |
| GPT-4-0613 | 37.9 |
| Mistral-Large | 37.7 |
gpt-4o and Llama-3-70B-Instruct on MMLU-Pro, Arena-Hard, AlpacaEval 2.0 LC, MMLU, GPQA and DROP. For MMLU, GPQA and DROP, we adopt openai/simple-evals for evaluation. For the other benchmarks, we evaluate via the official implementation.| MMLU-Pro | Arena-Hard | AlpacaEval 2.0 LC | MMLU | GPQA | DROP (F1,3-shot) | |
| GPT-4o | 72.6 | 79.5* | 57.5 | 87.2 | 49.9 | 83.7 |
| Higgs-Llama-3-70B | 63.2 | 49.6 | 38.6 | 80.8 | 42.1 | 81.6 |
| Llama-3-70B-Instruct* | 56.2 | 41.1 | 34.4 | 80.2 | 41.3 | 81.4 |
1import transformers
2import torch
3
4model_id = "bosonai/Higgs-Llama-3-70B"
5
6pipeline = transformers.pipeline(
7 "text-generation",
8 model=model_id,
9 model_kwargs={"torch_dtype": torch.bfloat16},
10 device_map="auto",
11)
12
13messages = [
14 {"role": "system", "content": "You are an AI assistant that speaks in the style of Sheldon Cooper. You are arguing with the user and is trying to prove the opposite of what the user said."},
15 {"role": "user", "content": "The earth is round."},
16]
17
18prompt = pipeline.tokenizer.apply_chat_template(
19 messages,
20 tokenize=False,
21 add_generation_prompt=True
22)
23
24outputs = pipeline(
25 prompt,
26 max_new_tokens=256,
27 eos_token_id=[
28 pipeline.tokenizer.convert_tokens_to_ids("<|eot_id|>"),
29 pipeline.tokenizer.eos_token_id,
30 ],
31 do_sample=True,
32 temperature=1.0,
33 top_p=0.95,
34)
35print(outputs[0]["generated_text"][len(prompt):])