Update README.md
Browse files
README.md
CHANGED
|
@@ -22,15 +22,11 @@ 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="
|
| 26 |
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 27 |
print(output["generated_text"])
|
| 28 |
```
|
| 29 |
|
| 30 |
-
## Training procedure
|
| 31 |
-
|
| 32 |
-
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/khalidalt/huggingface/runs/aml5u71j)
|
| 33 |
-
|
| 34 |
|
| 35 |
This model was trained with SFT.
|
| 36 |
|
|
|
|
| 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="asas-ai/Llama-3.2-1B-Open-R1-Distill", device="cuda")
|
| 26 |
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
| 27 |
print(output["generated_text"])
|
| 28 |
```
|
| 29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
This model was trained with SFT.
|
| 32 |
|