Downloads · 30 days
67
0% of all-time downloads
NEU-HAI/mental-alpaca
mental-alpaca is a text generation model from NEU-HAI. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-nc-4.0.
This is a fine-tuned large language model for mental health prediction via online text data.
Downloads · 30 days
67
0% of all-time downloads
All-time downloads
56.4K
Public
Parameters
6.7B
53.9 GB on disk
Likes
12
Public
Click a slice to open those files.
.bin27 GB · 50%
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 an Alpaca 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 FLAN-T5-XXL, namely Mental-FLAN-T5, 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 stanford_alpaca project and Llama-2-7b.
The out-of-scope use of this model should comply with stanford_alpaca project and Llama-2-7b.
The Bias, Risks, and Limitations of this model should also comply with stanford_alpaca project and Llama-2-7b.
Use the code below to get started with the model.
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("NEU-HAI/Llama-2-7b-alpaca-cleaned")
model = AutoModelForCausalLM.from_pretrained("NEU-HAI/Llama-2-7b-alpaca-cleaned")
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}
}