File size: 2,048 Bytes
896b12f
 
 
 
 
 
 
6f50b4b
896b12f
 
 
 
f354200
896b12f
f354200
 
 
 
 
 
 
 
 
 
896b12f
 
 
f354200
896b12f
f354200
896b12f
f354200
896b12f
f354200
896b12f
f354200
896b12f
f354200
896b12f
f354200
896b12f
f354200
896b12f
f354200
896b12f
f354200
896b12f
f354200
896b12f
f354200
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
license: mit
library_name: LongCat-Flash-Lite-Sparse
pipeline_tag: text-generation
tags:
- transformers
---
This model is an mxp4 model of [LongCat-Flash-Lite-Sparse](https://huggingface.co/meituan-longcat/LongCat-Flash-Lite-Sparse) generated by [intel/auto-round](https://github.com/intel/auto-round) with RTN mode. Please follow the license of the original model.




## Generate the Model

~~~bash
auto-round \
  meituan-longcat/LongCat-Flash-Lite-Sparse \
  --model_free \
  --scheme MXFP8 \
  --ignore_layers "lm_head,embed,self_attn,mlps,router,mtp" \
  --layer_config '{mlp.experts:{bits:4,data_type:mx_fp}}' \
  --format llm_compressor \
  --output_dir ./LongCat-Flash-Lite-Sparse-MXFP4
~~~



## 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:

- [Intel Neural Compressor](https://github.com/intel/neural-compressor)

## 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](https://arxiv.org/abs/2309.05516) [github](https://github.com/intel/auto-round)