Downloads · 30 days
10
0% of all-time downloads
NEU-HAI/mental-flan-t5-xxl
mental-flan-t5-xxl is a machine learning model from NEU-HAI. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
This is a fine-tuned large language model for mental health prediction via online text data.
Downloads · 30 days
10
0% of all-time downloads
All-time downloads
3.6K
Public
Repo size
89.1 GB
Likes
4
Public
Click a slice to open those files.
.bin44.5 GB · 100%
From the Hugging Face model README
This is a fine-tuned large language model for mental health prediction via online text data.
We fine-tune a FLAN-T5-XXL model with 4 high-quality text (6 tasks in total) datasets for the mental health prediction scenario: Dreaddit, DepSeverity, SDCNL, and CCRS-Suicide. We have a separate model, fine-tuned on Alpaca, namely Mental-Alpaca, shared here
The model is intended to be used for research purposes only in English. The model has been fine-tuned for mental health prediction via online text data. Detailed information about the fine-tuning process and prompts can be found in our paper. The use of this model should also comply with the restrictions from FLAN-T5-XXL
The out-of-scope use of this model should comply with FLAN-T5-XXL.
The Bias, Risks, and Limitations of this model should also comply with FLAN-T5-XXL.
Use the code below to get started with the model.
from transformers import T5ForConditionalGeneration, T5Tokenizer
tokenizer = T5ForConditionalGeneration.from_pretrained("NEU-HAI/mental-flan-t5-xxl")
mdoel = T5Tokenizer.from_pretrained("NEU-HAI/mental-flan-t5-xxl")
Detailed information about our work can be found in our paper.
@article{xu2023leveraging,
title={Mental-LLM: Leveraging large language models for mental health prediction via online text data},
author={Xu, Xuhai and Yao, Bingshen and Dong, Yuanzhe and Gabriel, Saadia and Yu, Hong and Ghassemi, Marzyeh and Hendler, James and Dey, Anind K and Wang, Dakuo},
journal={arXiv preprint arXiv:2307.14385},
year={2023}
}