example
Browse files
README.md
CHANGED
@@ -5,8 +5,9 @@ license_link: https://huggingface.co/Qwen/Qwen1.5-0.5B/blob/main/LICENSE
|
|
5 |
---
|
6 |
# A fine-tuned version of the Qwen/Qwen1.5-0.5B model, the data set used is alpaca_gpt4_data_zh.json
|
7 |
· Call example
|
8 |
-
```python
|
9 |
|
|
|
|
|
10 |
import os
|
11 |
|
12 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
@@ -49,4 +50,5 @@ if __name__ == '__main__':
|
|
49 |
print(response)
|
50 |
messages.append({"role": "system", "content": response}, )
|
51 |
|
52 |
-
|
|
|
|
5 |
---
|
6 |
# A fine-tuned version of the Qwen/Qwen1.5-0.5B model, the data set used is alpaca_gpt4_data_zh.json
|
7 |
· Call example
|
|
|
8 |
|
9 |
+
|
10 |
+
```
|
11 |
import os
|
12 |
|
13 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
|
50 |
print(response)
|
51 |
messages.append({"role": "system", "content": response}, )
|
52 |
|
53 |
+
|
54 |
+
```
|