Downloads · 30 days
11
2% of all-time downloads
faisalaljahlan/Labour-Law-SA-QA
Labour-Law-SA-QA is a question answering model from faisalaljahlan. Use it when the input is a question plus a passage. It is set up for transformers.
This model is a fine-tuned version of aubmindlab/bert-base-arabert on the None dataset. It achieves the following results on the evaluation set: - Loss: 1.1740
Downloads · 30 days
11
2% of all-time downloads
All-time downloads
460
Public
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.bin538 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of aubmindlab/bert-base-arabert on the None dataset. It achieves the following results on the evaluation set:
The Labour-Law-SA-QA model is a fine-tuned version of the aubmindlab/bert-base-arabert model on a custom dataset of questions and answers about labour law in Saudi Arabia. The model is trained to predict the answer to a question given the question text and the context of the surrounding text.
The Labour-Law-SA-QA model is intended to be used to answer questions about labour law in Saudi Arabia. The model is not intended to be used for legal advice, and it should not be used to replace the advice of a qualified lawyer. The model is limited by the quality of the training data. If the training data is not representative of the real-world questions that the model will be asked, then the model's performance will be degraded.
The Labour-Law-SA-QA model was trained on a custom dataset of questions and answers about labour law in Saudi Arabia. The dataset was created by collecting questions from a variety of sources, including government websites. The dataset was then manually cleaned and verified to ensure that the questions and answers were accurate and relevant.
The Labour-Law-SA-QA model was trained using the Hugging Face Transformers library: https://huggingface.co/transformers/. The model was fine-tuned using the Adam optimizer with a learning rate of 2e-05. The model was trained for 9 epochs, and the training was stopped early when the validation loss did not improve for 3 consecutive epochs.
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 1.0 | 34 | 1.6275 |
| No log | 2.0 | 68 | 1.4822 |
| No log | 3.0 | 102 | 1.4659 |
| No log | 4.0 | 136 | 1.3038 |
| No log | 5.0 | 170 | 1.3173 |
| No log | 6.0 | 204 | 1.1665 |
| No log | 7.0 | 238 | 1.1344 |
| No log | 8.0 | 272 | 1.1346 |
| No log | 9.0 | 306 | 1.1740 |