Skip to content

Add accuracy server configs for Mistral-Small-3.1-24B with mistral tokenizer#94

Draft
dbarbuzzi wants to merge 1 commit into
mainfrom
fix/mistral-small-accuracy-tokenizer
Draft

Add accuracy server configs for Mistral-Small-3.1-24B with mistral tokenizer#94
dbarbuzzi wants to merge 1 commit into
mainfrom
fix/mistral-small-accuracy-tokenizer

Conversation

@dbarbuzzi

Copy link
Copy Markdown
Contributor

Summary

  • Add accuracy/server.yml for mistralai/Mistral-Small-3.1-24B-Instruct-2503 and RedHatAI/Mistral-Small-3.1-24B-Instruct-2503-FP8-dynamic
  • Sets tokenizer_mode: mistral, config_format: mistral, load_format: mistral matching the existing performance configs and Voxtral precedent
  • Fixes lm-eval accuracy tests scoring near-zero on HPU due to HuggingFace tokenizer regex bug (upstream discussion)

Test plan

  • Re-run lm-eval on HPU for mistralai/Mistral-Small-3.1-24B-Instruct-2503 — confirm GSM8K score is within 10% of ground truth (0.89)
  • Re-run lm-eval on HPU for RedHatAI/Mistral-Small-3.1-24B-Instruct-2503-FP8-dynamic — confirm GSM8K score is within 10% of ground truth
  • Verify the tokenizer warning no longer appears in logs

🤖 Generated with Claude Code

…kenizer

The lm-eval accuracy test for Mistral-Small-3.1-24B-Instruct-2503 on HPU
scored near-zero due to incorrect tokenization. The HuggingFace tokenizer
has a known regex bug for this model, and without an accuracy/server.yml
the test falls back to common/accuracy/server.yml which lacks tokenizer
settings. Add per-model configs with tokenizer_mode/config_format/load_format
set to mistral, matching the existing performance/server.yml and the pattern
used by Voxtral models.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Domenic Barbuzzi <dbarbuzz@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant