Run this model with HF Jobs

Run MiniMaxAI/MiniMax-M2.5 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs and TRL to fine-tune https://huggingface.co/MiniMaxAI/MiniMax-M2.5. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/MiniMaxAI/MiniMax-M2.5 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/MiniMaxAI/MiniMax-M2.5. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/MiniMaxAI/MiniMax-M2.5. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.

[Model bug] Typos issues with either quantization or Fp8 with transformers v5 (or both).

#48
by mratsim - opened

With @ktsaou , @Doctor-Shotgun and @lukealonso , we noticed that the model can be stuck in annoying typos:

  • The base FP8 model, @Doctor-Shotgun , when using Transformers v5 instead of Transformers v4
  • The NVFP4 quant from @lukealonso , when using Transformers v5 instead of Transformers v4, see
    image
    The pattern is a space after a dot . which is really handicapping for code
  • My BF16+INT4 AWQ quant, with Transformers v4, see
    image
    The pattern is plural being dropped before:
    • an underscore test_layer_fixtures.nim instead of test_layers_fixtures.nim
    • a slash action/checkout instead of actions/checkout
    • a colon tag: instead of tags:
    • an uppercase letter

Investigation is being done in this thread: https://huggingface.co/mratsim/MiniMax-M2.5-BF16-INT4-AWQ/discussions/4

Running a native FP8 model on the A100 also exhibits this problem

With transfromers==5.3.0 and sglang (latest) I had same issues. Even tool calls failed due to missing characters in tool names:

<invoke name="list_irectory">
<parameter name="path">/home/yyyyyy/yyyyyyyy/crates</parameter>
</invoke>
</minimax:tool_call>

see missing d in list_directory

After downgrading transformers uv pip install transformers==4.57.6 the issue was gone.

Sign up or log in to comment