kimleang123 lbourdois commited on
Commit
4ae0743
·
verified ·
1 Parent(s): 3a96407

Improve language tag (#1)

Browse files

- Improve language tag (1835beb637bb551f8084de6973a0944ad0167755)


Co-authored-by: Loïck BOURDOIS <[email protected]>

Files changed (1) hide show
  1. README.md +102 -90
README.md CHANGED
@@ -1,91 +1,103 @@
1
- ---
2
- base_model:
3
- - Qwen/Qwen2.5-14B
4
- license: apache-2.0
5
- license_link: https://huggingface.co/Qwen/Qwen2.5-14B/blob/main/LICENSE
6
- language:
7
- - en
8
- pipeline_tag: text-generation
9
- tags:
10
- - bnb-my-repo
11
- ---
12
- # Qwen/Qwen2.5-14B (Quantized)
13
-
14
- ## Description
15
- This model is a quantized version of the original model [`Qwen/Qwen2.5-14B`](https://huggingface.co/Qwen/Qwen2.5-14B).
16
-
17
- It's quantized using the BitsAndBytes library to 4-bit using the [bnb-my-repo](https://huggingface.co/spaces/bnb-community/bnb-my-repo) space.
18
-
19
- ## Quantization Details
20
- - **Quantization Type**: int4
21
- - **bnb_4bit_quant_type**: nf4
22
- - **bnb_4bit_use_double_quant**: True
23
- - **bnb_4bit_compute_dtype**: bfloat16
24
- - **bnb_4bit_quant_storage**: bfloat16
25
-
26
-
27
-
28
- # 📄 Original Model Information
29
-
30
-
31
-
32
- # Qwen2.5-14B
33
-
34
- ## Introduction
35
-
36
- Qwen2.5 is the latest series of Qwen large language models. For Qwen2.5, we release a number of base language models and instruction-tuned language models ranging from 0.5 to 72 billion parameters. Qwen2.5 brings the following improvements upon Qwen2:
37
-
38
- - Significantly **more knowledge** and has greatly improved capabilities in **coding** and **mathematics**, thanks to our specialized expert models in these domains.
39
- - Significant improvements in **instruction following**, **generating long texts** (over 8K tokens), **understanding structured data** (e.g, tables), and **generating structured outputs** especially JSON. **More resilient to the diversity of system prompts**, enhancing role-play implementation and condition-setting for chatbots.
40
- - **Long-context Support** up to 128K tokens and can generate up to 8K tokens.
41
- - **Multilingual support** for over 29 languages, including Chinese, English, French, Spanish, Portuguese, German, Italian, Russian, Japanese, Korean, Vietnamese, Thai, Arabic, and more.
42
-
43
- **This repo contains the base 14B Qwen2.5 model**, which has the following features:
44
- - Type: Causal Language Models
45
- - Training Stage: Pretraining
46
- - Architecture: transformers with RoPE, SwiGLU, RMSNorm, and Attention QKV bias
47
- - Number of Parameters: 14.7B
48
- - Number of Paramaters (Non-Embedding): 13.1B
49
- - Number of Layers: 48
50
- - Number of Attention Heads (GQA): 40 for Q and 8 for KV
51
- - Context Length: 131,072 tokens
52
-
53
- **We do not recommend using base language models for conversations.** Instead, you can apply post-training, e.g., SFT, RLHF, continued pretraining, etc., on this model.
54
-
55
- For more details, please refer to our [blog](https://qwenlm.github.io/blog/qwen2.5/), [GitHub](https://github.com/QwenLM/Qwen2.5), and [Documentation](https://qwen.readthedocs.io/en/latest/).
56
-
57
- ## Requirements
58
-
59
- The code of Qwen2.5 has been in the latest Hugging face `transformers` and we advise you to use the latest version of `transformers`.
60
-
61
- With `transformers<4.37.0`, you will encounter the following error:
62
- ```
63
- KeyError: 'qwen2'
64
- ```
65
-
66
- ## Evaluation & Performance
67
-
68
- Detailed evaluation results are reported in this [📑 blog](https://qwenlm.github.io/blog/qwen2.5/).
69
-
70
- For requirements on GPU memory and the respective throughput, see results [here](https://qwen.readthedocs.io/en/latest/benchmark/speed_benchmark.html).
71
-
72
- ## Citation
73
-
74
- If you find our work helpful, feel free to give us a cite.
75
-
76
- ```
77
- @misc{qwen2.5,
78
- title = {Qwen2.5: A Party of Foundation Models},
79
- url = {https://qwenlm.github.io/blog/qwen2.5/},
80
- author = {Qwen Team},
81
- month = {September},
82
- year = {2024}
83
- }
84
-
85
- @article{qwen2,
86
- title={Qwen2 Technical Report},
87
- author={An Yang and Baosong Yang and Binyuan Hui and Bo Zheng and Bowen Yu and Chang Zhou and Chengpeng Li and Chengyuan Li and Dayiheng Liu and Fei Huang and Guanting Dong and Haoran Wei and Huan Lin and Jialong Tang and Jialin Wang and Jian Yang and Jianhong Tu and Jianwei Zhang and Jianxin Ma and Jin Xu and Jingren Zhou and Jinze Bai and Jinzheng He and Junyang Lin and Kai Dang and Keming Lu and Keqin Chen and Kexin Yang and Mei Li and Mingfeng Xue and Na Ni and Pei Zhang and Peng Wang and Ru Peng and Rui Men and Ruize Gao and Runji Lin and Shijie Wang and Shuai Bai and Sinan Tan and Tianhang Zhu and Tianhao Li and Tianyu Liu and Wenbin Ge and Xiaodong Deng and Xiaohuan Zhou and Xingzhang Ren and Xinyu Zhang and Xipin Wei and Xuancheng Ren and Yang Fan and Yang Yao and Yichang Zhang and Yu Wan and Yunfei Chu and Yuqiong Liu and Zeyu Cui and Zhenru Zhang and Zhihao Fan},
88
- journal={arXiv preprint arXiv:2407.10671},
89
- year={2024}
90
- }
 
 
 
 
 
 
 
 
 
 
 
 
91
  ```
 
1
+ ---
2
+ base_model:
3
+ - Qwen/Qwen2.5-14B
4
+ license: apache-2.0
5
+ license_link: https://huggingface.co/Qwen/Qwen2.5-14B/blob/main/LICENSE
6
+ language:
7
+ - zho
8
+ - eng
9
+ - fra
10
+ - spa
11
+ - por
12
+ - deu
13
+ - ita
14
+ - rus
15
+ - jpn
16
+ - kor
17
+ - vie
18
+ - tha
19
+ - ara
20
+ pipeline_tag: text-generation
21
+ tags:
22
+ - bnb-my-repo
23
+ ---
24
+ # Qwen/Qwen2.5-14B (Quantized)
25
+
26
+ ## Description
27
+ This model is a quantized version of the original model [`Qwen/Qwen2.5-14B`](https://huggingface.co/Qwen/Qwen2.5-14B).
28
+
29
+ It's quantized using the BitsAndBytes library to 4-bit using the [bnb-my-repo](https://huggingface.co/spaces/bnb-community/bnb-my-repo) space.
30
+
31
+ ## Quantization Details
32
+ - **Quantization Type**: int4
33
+ - **bnb_4bit_quant_type**: nf4
34
+ - **bnb_4bit_use_double_quant**: True
35
+ - **bnb_4bit_compute_dtype**: bfloat16
36
+ - **bnb_4bit_quant_storage**: bfloat16
37
+
38
+
39
+
40
+ # 📄 Original Model Information
41
+
42
+
43
+
44
+ # Qwen2.5-14B
45
+
46
+ ## Introduction
47
+
48
+ Qwen2.5 is the latest series of Qwen large language models. For Qwen2.5, we release a number of base language models and instruction-tuned language models ranging from 0.5 to 72 billion parameters. Qwen2.5 brings the following improvements upon Qwen2:
49
+
50
+ - Significantly **more knowledge** and has greatly improved capabilities in **coding** and **mathematics**, thanks to our specialized expert models in these domains.
51
+ - Significant improvements in **instruction following**, **generating long texts** (over 8K tokens), **understanding structured data** (e.g, tables), and **generating structured outputs** especially JSON. **More resilient to the diversity of system prompts**, enhancing role-play implementation and condition-setting for chatbots.
52
+ - **Long-context Support** up to 128K tokens and can generate up to 8K tokens.
53
+ - **Multilingual support** for over 29 languages, including Chinese, English, French, Spanish, Portuguese, German, Italian, Russian, Japanese, Korean, Vietnamese, Thai, Arabic, and more.
54
+
55
+ **This repo contains the base 14B Qwen2.5 model**, which has the following features:
56
+ - Type: Causal Language Models
57
+ - Training Stage: Pretraining
58
+ - Architecture: transformers with RoPE, SwiGLU, RMSNorm, and Attention QKV bias
59
+ - Number of Parameters: 14.7B
60
+ - Number of Paramaters (Non-Embedding): 13.1B
61
+ - Number of Layers: 48
62
+ - Number of Attention Heads (GQA): 40 for Q and 8 for KV
63
+ - Context Length: 131,072 tokens
64
+
65
+ **We do not recommend using base language models for conversations.** Instead, you can apply post-training, e.g., SFT, RLHF, continued pretraining, etc., on this model.
66
+
67
+ For more details, please refer to our [blog](https://qwenlm.github.io/blog/qwen2.5/), [GitHub](https://github.com/QwenLM/Qwen2.5), and [Documentation](https://qwen.readthedocs.io/en/latest/).
68
+
69
+ ## Requirements
70
+
71
+ The code of Qwen2.5 has been in the latest Hugging face `transformers` and we advise you to use the latest version of `transformers`.
72
+
73
+ With `transformers<4.37.0`, you will encounter the following error:
74
+ ```
75
+ KeyError: 'qwen2'
76
+ ```
77
+
78
+ ## Evaluation & Performance
79
+
80
+ Detailed evaluation results are reported in this [📑 blog](https://qwenlm.github.io/blog/qwen2.5/).
81
+
82
+ For requirements on GPU memory and the respective throughput, see results [here](https://qwen.readthedocs.io/en/latest/benchmark/speed_benchmark.html).
83
+
84
+ ## Citation
85
+
86
+ If you find our work helpful, feel free to give us a cite.
87
+
88
+ ```
89
+ @misc{qwen2.5,
90
+ title = {Qwen2.5: A Party of Foundation Models},
91
+ url = {https://qwenlm.github.io/blog/qwen2.5/},
92
+ author = {Qwen Team},
93
+ month = {September},
94
+ year = {2024}
95
+ }
96
+
97
+ @article{qwen2,
98
+ title={Qwen2 Technical Report},
99
+ author={An Yang and Baosong Yang and Binyuan Hui and Bo Zheng and Bowen Yu and Chang Zhou and Chengpeng Li and Chengyuan Li and Dayiheng Liu and Fei Huang and Guanting Dong and Haoran Wei and Huan Lin and Jialong Tang and Jialin Wang and Jian Yang and Jianhong Tu and Jianwei Zhang and Jianxin Ma and Jin Xu and Jingren Zhou and Jinze Bai and Jinzheng He and Junyang Lin and Kai Dang and Keming Lu and Keqin Chen and Kexin Yang and Mei Li and Mingfeng Xue and Na Ni and Pei Zhang and Peng Wang and Ru Peng and Rui Men and Ruize Gao and Runji Lin and Shijie Wang and Shuai Bai and Sinan Tan and Tianhang Zhu and Tianhao Li and Tianyu Liu and Wenbin Ge and Xiaodong Deng and Xiaohuan Zhou and Xingzhang Ren and Xinyu Zhang and Xipin Wei and Xuancheng Ren and Yang Fan and Yang Yao and Yichang Zhang and Yu Wan and Yunfei Chu and Yuqiong Liu and Zeyu Cui and Zhenru Zhang and Zhihao Fan},
100
+ journal={arXiv preprint arXiv:2407.10671},
101
+ year={2024}
102
+ }
103
  ```