Downloads · 30 days
3
10% of all-time downloads
Asmaa-Alrayzah/AraFastQA-base
AraFastQA-base is a machine learning model from Asmaa-Alrayzah. 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.
This repository models and datasets discussed in our paper “….” Our pretraining code is based on TensorFlow (checked on 1.15), while fine-tuning is based on PyTorch (1.7.1) and Transformers (2.9.0). Note each has its…
Downloads · 30 days
3
10% of all-time downloads
All-time downloads
30
Public
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.bin1.1 GB · 100%
From the Hugging Face model README
This repository models and datasets discussed in our paper “….” Our pretraining code is based on TensorFlow (checked on 1.15), while fine-tuning is based on PyTorch (1.7.1) and Transformers (2.9.0). Note each has its own requirements.
…..
The FSL tuning has different requirements than pretraining, as it uses HuggingFace's Transformers library. Create a virtual environment and execute
!pip install -r requirements.txt
Please Note: If you want to reproduce results from the paper or run with a QASS head in general, questions need to be augmented with a [QUESTION] token. In order to do so, please run
!python qass_preprocess.py --path "../datasets /*"
This will add a [MASK] token to each question in the training data, which will later be replaced by a [QUESTION] token automatically by the QASS layer implementation.
Download the Arabic QA benchmark datasets (TyDi QA and ARCD) from the following command
!gdown --id 1-7jj89-HEFu5DIMV9J8mBSKyBvmC-P6U –folder
If you use this work in your research, please cite it using the following BibTeX entry:
@article{YourLastName2023,
title={...},
author={...},
journal={...},
volume={...},
number={...},
pages={...},
year={2023},
publisher={...}
}
For any further inquiries, you can reach me at [[email protected]]