Update README.md
Browse files
README.md
CHANGED
|
@@ -22,7 +22,7 @@ It has been trained using [TRL](https://github.com/huggingface/trl).
|
|
| 22 |
from transformers import pipeline
|
| 23 |
|
| 24 |
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
| 25 |
-
generator = pipeline("text-generation", model="frascuchon/Qwen3-0.6B", device="cuda")
|
| 26 |
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 27 |
print(output["generated_text"])
|
| 28 |
```
|
|
|
|
| 22 |
from transformers import pipeline
|
| 23 |
|
| 24 |
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
| 25 |
+
generator = pipeline("text-generation", model="frascuchon/midigen-Qwen3-0.6B", device="cuda")
|
| 26 |
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 27 |
print(output["generated_text"])
|
| 28 |
```
|