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 = "what is alzheimer's disease ?"
|
28 |
-
generator = pipeline("text-generation", model="safoinetl/
|
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 = "what is alzheimer's disease ?"
|
28 |
+
generator = pipeline("text-generation", model="safoinetl/llm_model", device="cuda")
|
29 |
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
30 |
print(output["generated_text"])
|
31 |
```
|