feihu.hf commited on
Commit
297ae9b
1 Parent(s): 037844f

update readme

Browse files
Files changed (1) hide show
  1. README.md +6 -7
README.md CHANGED
@@ -1,7 +1,8 @@
1
  ---
2
  license: other
3
  license_name: tongyi-qianwen
4
- license_link: https://huggingface.co/Qwen/Qwen1.5-14B-Chat/blob/main/LICENSE
 
5
  language:
6
  - en
7
  pipeline_tag: text-generation
@@ -28,18 +29,15 @@ For more details, please refer to our blog post and GitHub repo.
28
  ## Model Details
29
  Qwen1.5 is a language model series including decoder language models of different model sizes. For each size, we release the base language model and the aligned chat model. It is based on the Transformer architecture with SwiGLU activation, attention QKV bias, group query attention, mixture of sliding window attention and full attention, etc. Additionally, we have an improved tokenizer adaptive to multiple natural languages and codes. For the beta version, temporarily we did not include GQA and the mixture of SWA and full attention.
30
 
31
-
32
  ## Training details
33
  We pretrained the models with a large amount of data, and we post-trained the models with both supervised finetuning and direct preference optimization. However, DPO leads to improvements in human preference evaluation but degradation in benchmark evaluation. In the very near future, we will fix both problems.
34
 
35
-
36
  ## Requirements
37
  The code of Qwen1.5 has been in the latest Hugging face transformers and we advise you to install `transformers>=4.37.0`, or you might encounter the following error:
38
  ```
39
  KeyError: 'qwen2'
40
  ```
41
 
42
-
43
  ## Quickstart
44
 
45
  Here provides a code snippet with `apply_chat_template` to show you how to load the tokenizer and model and how to generate contents.
@@ -80,8 +78,9 @@ response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
80
  For quantized models, we advise you to use the GPTQ, AWQ, and GGUF correspondents, namely `Qwen1.5-14B-Chat-GPTQ`, `Qwen1.5-14B-Chat-AWQ`, and `Qwen1.5-14B-Chat-GGUF`.
81
 
82
 
83
- ## Limitations
84
- * Codeswitch sometimes happen. We advise you to use our provided hyperparameters in `generation_config.json`.
 
85
 
86
 
87
  ## Citation
@@ -95,4 +94,4 @@ If you find our work helpful, feel free to give us a cite.
95
  journal={arXiv preprint arXiv:2309.16609},
96
  year={2023}
97
  }
98
- ```
 
1
  ---
2
  license: other
3
  license_name: tongyi-qianwen
4
+ license_link: >-
5
+ https://huggingface.co/Qwen/Qwen1.5-14B-Chat/blob/main/LICENSE
6
  language:
7
  - en
8
  pipeline_tag: text-generation
 
29
  ## Model Details
30
  Qwen1.5 is a language model series including decoder language models of different model sizes. For each size, we release the base language model and the aligned chat model. It is based on the Transformer architecture with SwiGLU activation, attention QKV bias, group query attention, mixture of sliding window attention and full attention, etc. Additionally, we have an improved tokenizer adaptive to multiple natural languages and codes. For the beta version, temporarily we did not include GQA and the mixture of SWA and full attention.
31
 
 
32
  ## Training details
33
  We pretrained the models with a large amount of data, and we post-trained the models with both supervised finetuning and direct preference optimization. However, DPO leads to improvements in human preference evaluation but degradation in benchmark evaluation. In the very near future, we will fix both problems.
34
 
 
35
  ## Requirements
36
  The code of Qwen1.5 has been in the latest Hugging face transformers and we advise you to install `transformers>=4.37.0`, or you might encounter the following error:
37
  ```
38
  KeyError: 'qwen2'
39
  ```
40
 
 
41
  ## Quickstart
42
 
43
  Here provides a code snippet with `apply_chat_template` to show you how to load the tokenizer and model and how to generate contents.
 
78
  For quantized models, we advise you to use the GPTQ, AWQ, and GGUF correspondents, namely `Qwen1.5-14B-Chat-GPTQ`, `Qwen1.5-14B-Chat-AWQ`, and `Qwen1.5-14B-Chat-GGUF`.
79
 
80
 
81
+ ## Tips
82
+
83
+ * If you encounter code switching or other bad cases, we advise you to use our provided hyper-parameters in `generation_config.json`.
84
 
85
 
86
  ## Citation
 
94
  journal={arXiv preprint arXiv:2309.16609},
95
  year={2023}
96
  }
97
+ ```