Sidharthan
commited on
Commit
•
0147772
1
Parent(s):
2b10a67
Update README.md
Browse files
README.md
CHANGED
@@ -8,6 +8,12 @@ tags:
|
|
8 |
- trl
|
9 |
- sft
|
10 |
licence: license
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
# Model Card for results
|
@@ -21,7 +27,7 @@ It has been trained using [TRL](https://github.com/huggingface/trl).
|
|
21 |
from transformers import pipeline
|
22 |
|
23 |
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?"
|
24 |
-
generator = pipeline("text-generation", model="Sidharthan/
|
25 |
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
26 |
print(output["generated_text"])
|
27 |
```
|
|
|
8 |
- trl
|
9 |
- sft
|
10 |
licence: license
|
11 |
+
license: apache-2.0
|
12 |
+
datasets:
|
13 |
+
- facebook/empathetic_dialogues
|
14 |
+
language:
|
15 |
+
- en
|
16 |
+
pipeline_tag: text-generation
|
17 |
---
|
18 |
|
19 |
# Model Card for results
|
|
|
27 |
from transformers import pipeline
|
28 |
|
29 |
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?"
|
30 |
+
generator = pipeline("text-generation", model="Sidharthan/llama-3.2-3B-empathetic-conv", device="cuda")
|
31 |
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
32 |
print(output["generated_text"])
|
33 |
```
|