This repository contains the implementation of a 3-task Arabic mental health question-answering system based on the MentalQA dataset.
git clone https://github.com/MamdouhKoritm/NLP_workshop.git
cd NLP_workshop
python setup_environment.py
python create_test_sets.py
python create_train_dev_test_split.py
Note: Large model files and checkpoints are not included in the repository. When you run the training:
The project consists of three main tasks:
Train+Dev set: 350 samples
Test set: 150 samples (withheld for evaluation purposes) ############################################################################
This repository provides access to the MentalQA dataset, which was recently accepted in the IEEE ACCESS journal. The dataset file, named "MentalQA_500_data.csv (tab separated)," comprises four columns of data as follows:
Label description is provided below (refer to the paper for more details):
Question Types
Answer Strategies
Please cite the following papers if you found our work useful. Thanks:)
@ARTICLE{10600466,
author={Alhuzali, Hassan and Alasmari, Ashwag and Alsaleh, Hamad},
journal={IEEE Access},
title={MentalQA: An Annotated Arabic Corpus for Questions and Answers of Mental Healthcare},
year={2024},
volume={12},
number={},
pages={101155-101165},
keywords={Annotations;Mental health;Medical services;Task analysis;Medical diagnostic imaging;Depression;Collaboration;Corpus creation;mental health;natural language processing;question-answering;questions classification},
doi={10.1109/ACCESS.2024.3430068}}
@inproceedings{alhuzali2025pre,
title={Pre-Trained Language Models for Mental Health: An Empirical Study on Arabic Q\&A Classification},
author={Alhuzali, Hassan and Alasmari, Ashwag},
booktitle={Healthcare},
volume={13},
number={9},
pages={985},
year={2025},
organization={MDPI}
}
This repository contains the implementation of a 3-task Arabic mental health question-answering system based on the MentalQA dataset.
git clone https://github.com/MamdouhKoritm/NLP_workshop.git
cd NLP_workshop
python setup_environment.py
python create_test_sets.py
python create_train_dev_test_split.py
Note: Large model files and checkpoints are not included in the repository. When you run the training:
The project consists of three main tasks:
Train+Dev set: 350 samples
Test set: 150 samples (withheld for evaluation purposes) ############################################################################
This repository provides access to the MentalQA dataset, which was recently accepted in the IEEE ACCESS journal. The dataset file, named "MentalQA_500_data.csv (tab separated)," comprises four columns of data as follows:
Label description is provided below (refer to the paper for more details):
Question Types
Answer Strategies
Please cite the following papers if you found our work useful. Thanks:)
@ARTICLE{10600466,
author={Alhuzali, Hassan and Alasmari, Ashwag and Alsaleh, Hamad},
journal={IEEE Access},
title={MentalQA: An Annotated Arabic Corpus for Questions and Answers of Mental Healthcare},
year={2024},
volume={12},
number={},
pages={101155-101165},
keywords={Annotations;Mental health;Medical services;Task analysis;Medical diagnostic imaging;Depression;Collaboration;Corpus creation;mental health;natural language processing;question-answering;questions classification},
doi={10.1109/ACCESS.2024.3430068}}
@inproceedings{alhuzali2025pre,
title={Pre-Trained Language Models for Mental Health: An Empirical Study on Arabic Q\&A Classification},
author={Alhuzali, Hassan and Alasmari, Ashwag},
booktitle={Healthcare},
volume={13},
number={9},
pages={985},
year={2025},
organization={MDPI}
}