feihu.hf commited on
Commit
e917ede
1 Parent(s): 7c0e98e

update readme

Browse files
Files changed (1) hide show
  1. README.md +6 -8
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-GPTQ-Int8/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.
@@ -78,9 +76,9 @@ response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
78
  ```
79
 
80
 
81
- ## Limitations
82
- * Reduced capabilities in agent;
83
- * Codeswitch sometimes happen. We advise you to use our provided hyperparameters in `generation_config.json`.
84
 
85
 
86
  ## Citation
@@ -94,4 +92,4 @@ If you find our work helpful, feel free to give us a cite.
94
  journal={arXiv preprint arXiv:2309.16609},
95
  year={2023}
96
  }
97
- ```
 
1
  ---
2
  license: other
3
  license_name: tongyi-qianwen
4
+ license_link: >-
5
+ https://huggingface.co/Qwen/Qwen1.5-14B-Chat-GPTQ-Int8/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.
 
76
  ```
77
 
78
 
79
+ ## Tips
80
+
81
+ * If you encounter code switching or other bad cases, we advise you to use our provided hyper-parameters in `generation_config.json`.
82
 
83
 
84
  ## Citation
 
92
  journal={arXiv preprint arXiv:2309.16609},
93
  year={2023}
94
  }
95
+ ```