Run this model with HF Jobs

Run MiniMaxAI/MiniMax-M2 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. 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 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. 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. 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.
rogeryoungh commited on
Commit
78ba357
·
verified ·
1 Parent(s): c2b7e11

Prepare support transformers (#24)

Browse files

- update: prepare for transformers (6d30eb0302d6f70383e70ab9f6dc60466c542eeb)
- update: add modeling_minimax_m2.py (35c5c796737083a6db5becdc0d4a4ffbcd1192db)
- update: transformers docs (30a4a95ba4b15478b7ad7834cbe99db88330b79e)
- update: fix generation_config in docs (8f96eee3cf95d2565e1274f85771639a2e3272b1)
- fix: import Unpack from processing_utils (3df78b4d6ccbef8925c7a9c5e345298b72bf1ae8)

7 files changed +1105 -3
Files changed (7)
README.md+3
config.json+12-3
configuration_minimax_m2.pyAdded+200
docs/transformers_deploy_guide.mdAdded+90
docs/transformers_deploy_guide_cn.mdAdded+91
generation_config.json+2
modeling_minimax_m2.pyAdded+707