Update README.md
Browse files
README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
---
|
2 |
-
license:
|
|
|
|
|
|
|
3 |
datasets:
|
4 |
- Salesforce/xlam-function-calling-60k
|
5 |
base_model: Qwen/Qwen1.5-4B-Chat
|
@@ -154,4 +157,13 @@ inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, ret
|
|
154 |
# tokenizer.eos_token_id is the id of <|EOT|> token
|
155 |
outputs = model.generate(inputs, max_new_tokens=512, do_sample=False, num_return_sequences=1, eos_token_id=tokenizer.eos_token_id)
|
156 |
print(tokenizer.decode(outputs[0][len(inputs[0]):], skip_special_tokens=True))
|
157 |
-
~~~
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
license: other
|
3 |
+
license_name: tongyi-qianwen-research
|
4 |
+
license_link: >-
|
5 |
+
https://huggingface.co/Qwen/Qwen1.5-4B-Chat/blob/main/LICENSE
|
6 |
datasets:
|
7 |
- Salesforce/xlam-function-calling-60k
|
8 |
base_model: Qwen/Qwen1.5-4B-Chat
|
|
|
157 |
# tokenizer.eos_token_id is the id of <|EOT|> token
|
158 |
outputs = model.generate(inputs, max_new_tokens=512, do_sample=False, num_return_sequences=1, eos_token_id=tokenizer.eos_token_id)
|
159 |
print(tokenizer.decode(outputs[0][len(inputs[0]):], skip_special_tokens=True))
|
160 |
+
~~~
|
161 |
+
|
162 |
+
|
163 |
+
|
164 |
+
## License Information
|
165 |
+
|
166 |
+
This model is subject to two different licenses:
|
167 |
+
|
168 |
+
1. **Base Model (Qwen)**: The base model is licensed under the [tongyi-qianwen-research License](https://huggingface.co/Qwen/Qwen1.5-4B-Chat/blob/main/LICENSE). It is intended for non-commercial use only.
|
169 |
+
2. **Fine-tuning and Modifications**: The fine-tuning data and modifications are licensed under the [Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/), allowing for sharing and adaptation with proper attribution.
|