Views
No views yet
vllm>=0.21.0 and Cohere's melody library for accurate response parsing.pip install vllm>=0.21.0 transformers cohere_melody>=0.9.01from vllm import LLM, SamplingParams
2from transformers import AutoTokenizer
3
4model_id = "RedHatAI/command-a-plus-05-2026-fp8"
5number_gpus = 4
6
7sampling_params = SamplingParams(temperature=0.6, top_p=0.95, max_tokens=4096)
8tokenizer = AutoTokenizer.from_pretrained(model_id)
9
10messages = [{"role": "user", "content": "Give me a short introduction to large language models."}]
11prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
12
13llm = LLM(model=model_id, tensor_parallel_size=number_gpus)
14outputs = llm.generate(prompt, sampling_params)
15generated_text = outputs[0].outputs[0].text
16print(generated_text)cohere_melody>=0.9.0):1pip install cohere_melody>=0.9.0
2
3vllm serve RedHatAI/command-a-plus-05-2026-fp8 \
4 --tensor-parallel-size 4 \
5 --tool-call-parser cohere_command4 \
6 --reasoning-parser cohere_command4 \
7 --enable-auto-tool-choice| Benchmark | CohereLabs/command-a-plus-05-2026-bf16 | RedHatAI/command-a-plus-05-2026-fp8 (this model) | Recovery |
|---|---|---|---|
| AIME 2025 (pass@1, 8 seeds) | 90.42 | 91.25 | 100.9% |
| MATH-500 (pass@1, 3 seeds) | 89.80 | 91.20 | 101.6% |
| GPQA Diamond (pass@1, 3 seeds) | 74.41 | 76.77 | 103.2% |
| MMLU (5-shot CoT, exact_match) | 82.75 | 84.33 | 101.9% |
| MMLU-Pro (0-shot, exact_match) | 77.76 | 79.31 | 102.0% |
| GSM8K Platinum (0-shot CoT, exact_match) | 94.98 | 95.12 | 100.1% |
| IFEval (0-shot, inst_level_strict_acc) | 86.49 | 93.96 | 108.6% |
| IFEval (0-shot, prompt_level_strict_acc) | 84.35 | 91.56 | 108.5% |
| BFCL Non-Live AST (Acc) | 86.40 | 86.17 | 99.7% |
| BFCL Multi-Turn (Acc) | 22.75 | 23.50 | 103.3% |