{"id":"arxiv:2304.10447","kind":"preprint","title":"Domain-specific Continued Pretraining of Language Models for Capturing Long Context in Mental Health","authors":["Shaoxiong Ji","Tianlin Zhang","Kailai Yang","Sophia Ananiadou","Erik Cambria","Jörg Tiedemann"],"author_count":6,"year":2023,"published":"2023-04-20","venue":null,"cited_by":null,"doi":null,"arxiv_id":"2304.10447","nct_id":null,"source_url":"https://arxiv.org/abs/2304.10447","archive_url":"https://space-kitty.com/papers/arxiv:2304.10447","updated":"2023-04-20","pmid":null,"pmcid":null,"openalex_id":null,"pdf_url":"https://arxiv.org/pdf/2304.10447","abstract":"Pretrained language models have been used in various natural language processing applications. In the mental health domain, domain-specific language models are pretrained and released, which facilitates the early detection of mental health conditions. Social posts, e.g., on Reddit, are usually long documents. However, there are no domain-specific pretrained models for long-sequence modeling in the mental health domain. This paper conducts domain-specific continued pretraining to capture the long context for mental health. Specifically, we train and release MentalXLNet and MentalLongformer based on XLNet and Longformer. We evaluate the mental health classification performance and the long-range ability of these two domain-specific pretrained models. Our models are released in HuggingFace.","abstract_license":"CC0-1.0 (arXiv descriptive metadata)","license":null,"is_open_access":false,"retracted":false,"peer_reviewed":false,"categories":["cs.CL"],"details":null,"provenance":"arxiv","attribution":"Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.","topics":[],"cited_in_dossiers":[]}