weiweiz1 commited on
Commit
a6cd7a3
·
verified ·
1 Parent(s): 0ecaa8a

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +56 -0
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model:
3
+ - google/gemma-4-31B-it
4
+ tags:
5
+ - text-generation-inference
6
+ ---
7
+
8
+ ## Model Details
9
+
10
+ This model is an int4 model(enhanced version) with group_size 128 and symmetric quantization of [google/gemma-4-31B-it](https://huggingface.co/google/gemma-4-31B-it) generated by [intel/auto-round](https://github.com/intel/auto-round).
11
+ Please follow the license of the original model.
12
+
13
+
14
+ A [youtube video](https://youtu.be/uShK_3415p0) by Fahd Mirza demonstrates how to use this model.
15
+
16
+
17
+
18
+
19
+ ## Generate the Model
20
+
21
+ https://github.com/intel/auto-round/pull/1656 is required
22
+ ~~~bash
23
+ auto-round google/gemma-4-31B-it
24
+ --scheme W4A16
25
+ --iters 1000
26
+ --nsamples 512
27
+ --enable_alg_ext
28
+ --enable_torch_compile
29
+ --output_dir "./quantized"
30
+ ~~~
31
+
32
+
33
+
34
+ ## Ethical Considerations and Limitations
35
+
36
+ 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.
37
+
38
+ Therefore, before deploying any applications of the model, developers should perform safety testing.
39
+
40
+ ## Caveats and Recommendations
41
+
42
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.
43
+
44
+ Here are a couple of useful links to learn more about Intel's AI software:
45
+
46
+ - [Intel Neural Compressor](https://github.com/intel/neural-compressor)
47
+
48
+ ## Disclaimer
49
+
50
+ 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.
51
+
52
+ ## Cite
53
+
54
+ @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} }
55
+
56
+ [arxiv](https://arxiv.org/abs/2309.05516) [github](https://github.com/intel/auto-round)