Update README.md
Browse files
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
license: other
|
3 |
-
license_name:
|
4 |
license_link: https://huggingface.co/MadeAgents/Hammer2.0-3b/blob/main/LICENSE
|
5 |
datasets:
|
6 |
- Salesforce/xlam-function-calling-60k
|
@@ -150,4 +150,12 @@ inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, ret
|
|
150 |
# tokenizer.eos_token_id is the id of <|EOT|> token
|
151 |
outputs = model.generate(inputs, max_new_tokens=512, do_sample=False, num_return_sequences=1, eos_token_id=tokenizer.eos_token_id)
|
152 |
print(tokenizer.decode(outputs[0][len(inputs[0]):], skip_special_tokens=True))
|
153 |
-
~~~
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: other
|
3 |
+
license_name: other
|
4 |
license_link: https://huggingface.co/MadeAgents/Hammer2.0-3b/blob/main/LICENSE
|
5 |
datasets:
|
6 |
- Salesforce/xlam-function-calling-60k
|
|
|
150 |
# tokenizer.eos_token_id is the id of <|EOT|> token
|
151 |
outputs = model.generate(inputs, max_new_tokens=512, do_sample=False, num_return_sequences=1, eos_token_id=tokenizer.eos_token_id)
|
152 |
print(tokenizer.decode(outputs[0][len(inputs[0]):], skip_special_tokens=True))
|
153 |
+
~~~
|
154 |
+
|
155 |
+
|
156 |
+
## License Information
|
157 |
+
|
158 |
+
This model is subject to two different licenses:
|
159 |
+
|
160 |
+
1. **Base Model (Qwen)**: The base model is licensed under the [Qwen Research License](https://huggingface.co/MadeAgents/Hammer2.0-3b/blob/main/LICENSE). It is intended for non-commercial use only.
|
161 |
+
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.
|