File size: 2,350 Bytes
6ed5c0b
 
 
 
 
 
 
 
 
384f80d
 
 
6ed5c0b
 
 
 
 
 
 
 
384f80d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6ed5c0b
 
 
384f80d
 
6ed5c0b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
384f80d
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
---
license: apache-2.0
tags:
- generated_from_trainer
datasets:
- pquad
model-index:
- name: distilbert-fa-zwnj-base-finetuned-pquad
  results: []
language:
- fa
library_name: transformers
---

<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# distilbert-fa-zwnj-base-finetuned-pquad

This model is a fine-tuned version of [HooshvareLab/distilbert-fa-zwnj-base](https://huggingface.co/HooshvareLab/distilbert-fa-zwnj-base) on the pquad dataset.

## Results

### Test set
'exact': 66.38340414896275,
'f1': 80.23760220987583,
'total': 8002,
'HasAns_exact': 60.13469119579501,
'HasAns_f1': 78.34449620292781,
'HasAns_total': 6088,
'NoAns_exact': 86.25914315569489,
'NoAns_f1': 86.25914315569489,
'NoAns_total': 1914,
'best_exact': 66.38340414896275,
'best_exact_thresh': 0.0,
'best_f1': 80.23760220987589,
'best_f1_thresh': 0.0

### Validation set
'exact': 64.65646940822468,
'f1': 78.88641788270802,
'total': 7976,
'HasAns_exact': 57.54795663052544,
'HasAns_f1': 76.4800782372771,
'HasAns_total': 5995,
'NoAns_exact': 86.16860171630489,
'NoAns_f1': 86.16860171630489,
'NoAns_total': 1981,
'best_exact': 64.65646940822468,
'best_exact_thresh': 0.0,
'best_f1': 78.88641788270819,
'best_f1_thresh': 0.0


## Model description

uses [distilbert-fa-zwnj-base](https://huggingface.co/HooshvareLab/distilbert-fa-zwnj-base) as base and fine-tunes it on [pquad](https://huggingface.co/datasets/Gholamreza/pquad) dataset.


## 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: 3

### Training results

| Training Loss | Epoch | Step  | Validation Loss |
|:-------------:|:-----:|:-----:|:---------------:|
| 1.1299        | 1.0   | 4003  | 1.1306          |
| 0.845         | 2.0   | 8006  | 1.0839          |
| 0.639         | 3.0   | 12009 | 1.1302          |


### Framework versions

- Transformers 4.26.1
- Pytorch 1.13.1+cu116
- Datasets 2.9.0
- Tokenizers 0.13.2