File size: 2,009 Bytes
21a37d7
 
 
 
 
 
 
a1b4769
 
 
 
21a37d7
a1b4769
 
 
 
21a37d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a1b4769
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
base_model: aubmindlab/bert-base-arabert
tags:
- generated_from_trainer
model-index:
- name: Labour-Law-SA-QA
  results: []
language:
- ar
library_name: transformers
pipeline_tag: question-answering
---
widget:
- text: "ماهو العمل لبعض الوقت"
  context: "العمل الذي يؤديه عامل غير متفرغ لدى صاحب عمل ولساعات عمل تقل عن نصف ساعات العمل اليومية المعتادة لدى المنشأة، سواء كان هذا العامل يؤدي ساعات عمله يومياً أو بعض أيام الأسبوع"
  example_title: "قانون العمل"

# Labour-Law-SA-QA

This model is a fine-tuned version of [aubmindlab/bert-base-arabert](https://huggingface.co/aubmindlab/bert-base-arabert) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 1.1740

## Model description

More information needed

## Intended uses & limitations

More information needed

## Training and evaluation data

More information needed

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 9

### Training results

| 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          |


### Framework versions

- Transformers 4.31.0
- Pytorch 2.0.1
- Datasets 2.14.4
- Tokenizers 0.13.3