RohanSardar commited on
Commit
e1ea4cb
·
verified ·
1 Parent(s): c49678d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -22,9 +22,9 @@ It has been trained using [TRL](https://github.com/huggingface/trl).
22
  ```python
23
  from transformers import pipeline
24
 
25
- 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?"
26
  generator = pipeline("text-generation", model="RohanSardar/mental-health-qa", device="cuda")
27
- output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
28
  print(output["generated_text"])
29
  ```
30
 
@@ -39,9 +39,9 @@ This model was trained with SFT.
39
 
40
  - TRL: 0.21.0
41
  - Transformers: 4.55.2
42
- - Pytorch: 2.6.0+cu124
43
- - Datasets: 3.6.0
44
- - Tokenizers: 0.21.2
45
 
46
  ## Citations
47
 
 
22
  ```python
23
  from transformers import pipeline
24
 
25
+ question = "Hey how to deal with anxiousness, like I feel anxious everytime ?"
26
  generator = pipeline("text-generation", model="RohanSardar/mental-health-qa", device="cuda")
27
+ output = generator([{"role": "user", "content": question}], max_new_tokens=300, return_full_text=False)[0]
28
  print(output["generated_text"])
29
  ```
30
 
 
39
 
40
  - TRL: 0.21.0
41
  - Transformers: 4.55.2
42
+ - Pytorch: 2.8.0+cu128
43
+ - Datasets: 4.0.0
44
+ - Tokenizers: 0.21.4
45
 
46
  ## Citations
47