INC4AI's picture
Update model card according to templates/model_card.md using INC-Quantization-Recipes
ef652fa verified
|
Raw History Blame Contribute Delete
2.67 kB
metadata
base_model:
  - MiniMaxAI/MiniMax-M3
license: other
pipeline_tag: text-generation
library_name: transformers
tags:
  - auto-round
  - mxfp8
  - compressed-tensors

Model Details

This model is an MXFP8 model of MiniMaxAI/MiniMax-M3 generated by intel/auto-round with 200 tuning iterations. Please follow the license of the original model.

  • Quantized (MXFP8): linear layers
  • Kept in BF16: lm_head / embed_tokens

How to Use

Environment

pip install vllm==0.29.0

vLLM Usage

vllm serve intel-ai/MiniMax-M3-MXFP4-CT-AutoRound \
    --trust-remote-code

Evaluation

Benchmark BF16 MXFP8 Recovery
GSM8K 94.60 94.10 99.47%
MMLU 86.20 85.80 99.54%
PIQA 83.10 82.90 99.76%
HellaSwag 75.40 74.80 99.20%
Average 84.83 84.40 99.49%

Generate the Model

auto-round \
    --model_name MiniMaxAI/MiniMax-M3 \
    --iters 200 \
    --scheme MXFP8 \
    --ignore_layers "lm_head,embed_tokens" \
    --format llm_compressor \
    --output_dir MiniMax-M3-MXFP4-CT-AutoRound

Ethical Considerations and Limitations

The model can produce factually incorrect output, and should not be relied on to produce factually accurate information. Because of the limitations of the pretrained model and the finetuning datasets, it is possible that this model could generate lewd, biased or otherwise offensive outputs. Therefore, before deploying any applications of the model, developers should perform safety testing.

Caveats and Recommendations

Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Here are a couple of useful links to learn more about Intel's AI software:

Disclaimer

The license on this model does not constitute legal advice. We are not responsible for the actions of third parties who use this model. Please consult an attorney before using this model for commercial purposes.

Cite

@article{cheng2023optimize,
  title={Optimize weight rounding via signed gradient descent for the quantization of llms},
  author={Cheng, Wenhua and Zhang, Weiwei and Shen, Haihao and Cai, Yiyang and He, Xin and Lv, Kaokao and Liu, Yi},
  journal={arXiv preprint arXiv:2309.05516},
  year={2023}
}

arxiv github

Signed-off-by: Lv, Kaokao kaokao.lv@intel.com