Downloads · 30 days
412
2% of all-time downloads
zwzzz/Chinese-MentalBERT
Chinese-MentalBERT is a fill-mask model from zwzzz. Use it when you need the model to fill a missing word. It is set up for transformers. The card lists the license as apache-2.0.
In this study, we employ a domain-adaptive pretraining model, and introduce a novel lexicon guided masking machanism strategy based on the Chinese depression lexicon.
Downloads · 30 days
412
2% of all-time downloads
All-time downloads
25.4K
Public
Repo size
818 MB
Likes
5
Public
Click a slice to open those files.
.bin409 MB · 100%
From the Hugging Face model README
In this study, we employ a domain-adaptive pretraining model, and introduce a novel lexicon guided masking machanism strategy based on the Chinese depression lexicon.
from transformers import BertTokenizer, BertForMaskedLM
tokenizer = BertTokenizer.from_pretrained('zwzzz/Chinese-MentalBERT')
model = BertForMaskedLM.from_pretrained('zwzzz/Chinese-MentalBERT')
If you find the technical report or resource is useful, please cite the following technical report in your paper.
Article address:https://arxiv.org/pdf/2402.09151.pdf
@misc{zhai2024chinese,
title={Chinese MentalBERT: Domain-Adaptive Pre-training on Social Media for Chinese Mental Health Text Analysis},
author={Wei Zhai and Hongzhi Qi and Qing Zhao and Jianqiang Li and Ziqi Wang and Han Wang and Bing Xiang Yang and Guanghui Fu},
year={2024},
eprint={2402.09151},
archivePrefix={arXiv},
primaryClass={cs.CL}
}