Update README.md
Browse files
README.md
CHANGED
@@ -25,7 +25,7 @@ It has been trained using [TRL](https://github.com/huggingface/trl).
|
|
25 |
from transformers import pipeline
|
26 |
|
27 |
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?"
|
28 |
-
generator = pipeline("text-generation", model="pr4nav101/
|
29 |
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
30 |
print(output["generated_text"])
|
31 |
```
|
|
|
25 |
from transformers import pipeline
|
26 |
|
27 |
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?"
|
28 |
+
generator = pipeline("text-generation", model="pr4nav101/Llama-3.1-8B-4bit-bnb-Math-Finetuned", device="cuda")
|
29 |
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
30 |
print(output["generated_text"])
|
31 |
```
|