This model is a fine-tuned version of
google/gemma-3-270m-it.
It has been trained using
TRL.
1from transformers import pipeline
2
3question = "Hey how to deal with anxiousness, like I feel anxious everytime ?"
4generator = pipeline("text-generation", model="RohanSardar/mental-health-qa", device="cuda")
5output = generator([{"role": "user", "content": question}], max_new_tokens=300, return_full_text=False)[0]
6print(output["generated_text"])
This model was trained with SFT.
1@misc{vonwerra2022trl,
2 title = {{TRL: Transformer Reinforcement Learning}},
3 author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
4 year = 2020,
5 journal = {GitHub repository},
6 publisher = {GitHub},
7 howpublished = {\url{https://github.com/huggingface/trl}}
8}