update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
metrics:
|
6 |
+
- accuracy
|
7 |
+
model-index:
|
8 |
+
- name: farsi_lastname_classifier_bert
|
9 |
+
results: []
|
10 |
+
---
|
11 |
+
|
12 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
13 |
+
should probably proofread and complete it, then remove this comment. -->
|
14 |
+
|
15 |
+
# farsi_lastname_classifier_bert
|
16 |
+
|
17 |
+
This model is a fine-tuned version of [bert-base-cased](https://huggingface.co/bert-base-cased) on the None dataset.
|
18 |
+
It achieves the following results on the evaluation set:
|
19 |
+
- Loss: 0.0863
|
20 |
+
- Accuracy: 0.976
|
21 |
+
|
22 |
+
## Model description
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Intended uses & limitations
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training and evaluation data
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training procedure
|
35 |
+
|
36 |
+
### Training hyperparameters
|
37 |
+
|
38 |
+
The following hyperparameters were used during training:
|
39 |
+
- learning_rate: 1e-05
|
40 |
+
- train_batch_size: 128
|
41 |
+
- eval_batch_size: 256
|
42 |
+
- seed: 42
|
43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
44 |
+
- lr_scheduler_type: cosine
|
45 |
+
- lr_scheduler_warmup_ratio: 0.1
|
46 |
+
- num_epochs: 10
|
47 |
+
- mixed_precision_training: Native AMP
|
48 |
+
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
52 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
53 |
+
| No log | 1.0 | 12 | 0.6325 | 0.588 |
|
54 |
+
| No log | 2.0 | 24 | 0.3414 | 0.952 |
|
55 |
+
| No log | 3.0 | 36 | 0.2496 | 0.97 |
|
56 |
+
| No log | 4.0 | 48 | 0.1674 | 0.976 |
|
57 |
+
| No log | 5.0 | 60 | 0.1160 | 0.976 |
|
58 |
+
| No log | 6.0 | 72 | 0.0917 | 0.972 |
|
59 |
+
| No log | 7.0 | 84 | 0.0896 | 0.974 |
|
60 |
+
| No log | 8.0 | 96 | 0.0874 | 0.974 |
|
61 |
+
| No log | 9.0 | 108 | 0.0869 | 0.974 |
|
62 |
+
| No log | 10.0 | 120 | 0.0863 | 0.976 |
|
63 |
+
|
64 |
+
|
65 |
+
### Framework versions
|
66 |
+
|
67 |
+
- Transformers 4.24.0
|
68 |
+
- Pytorch 1.12.1+cu113
|
69 |
+
- Datasets 2.6.1
|
70 |
+
- Tokenizers 0.13.2
|