master-mahdi
commited on
Commit
•
b0888c8
1
Parent(s):
e7c79d9
End of training
Browse files
README.md
CHANGED
@@ -17,8 +17,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
17 |
|
18 |
This model is a fine-tuned version of [HooshvareLab/bert-fa-base-uncased-clf-persiannews](https://huggingface.co/HooshvareLab/bert-fa-base-uncased-clf-persiannews) on the None dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
- Loss: 0.
|
21 |
-
- Accuracy: 0.
|
22 |
|
23 |
## Model description
|
24 |
|
@@ -43,17 +43,22 @@ The following hyperparameters were used during training:
|
|
43 |
- seed: 42
|
44 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
- lr_scheduler_type: linear
|
46 |
-
- num_epochs:
|
47 |
|
48 |
### Training results
|
49 |
|
50 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
-
| 0.
|
53 |
-
| 0.
|
54 |
-
| 0.
|
55 |
-
| 0.
|
56 |
-
| 0.
|
|
|
|
|
|
|
|
|
|
|
57 |
|
58 |
|
59 |
### Framework versions
|
|
|
17 |
|
18 |
This model is a fine-tuned version of [HooshvareLab/bert-fa-base-uncased-clf-persiannews](https://huggingface.co/HooshvareLab/bert-fa-base-uncased-clf-persiannews) on the None dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.1913
|
21 |
+
- Accuracy: 0.9300
|
22 |
|
23 |
## Model description
|
24 |
|
|
|
43 |
- seed: 42
|
44 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
- lr_scheduler_type: linear
|
46 |
+
- num_epochs: 10
|
47 |
|
48 |
### Training results
|
49 |
|
50 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
51 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
52 |
+
| 0.6751 | 1.0 | 805 | 0.2832 | 0.8974 |
|
53 |
+
| 0.2366 | 2.0 | 1610 | 0.2369 | 0.9146 |
|
54 |
+
| 0.2047 | 3.0 | 2415 | 0.1981 | 0.9271 |
|
55 |
+
| 0.1752 | 4.0 | 3220 | 0.2019 | 0.9287 |
|
56 |
+
| 0.1565 | 5.0 | 4025 | 0.2046 | 0.9220 |
|
57 |
+
| 0.1515 | 6.0 | 4830 | 0.2037 | 0.9271 |
|
58 |
+
| 0.1468 | 7.0 | 5635 | 0.1975 | 0.9282 |
|
59 |
+
| 0.1341 | 8.0 | 6440 | 0.1982 | 0.9284 |
|
60 |
+
| 0.1345 | 9.0 | 7245 | 0.1939 | 0.9293 |
|
61 |
+
| 0.135 | 10.0 | 8050 | 0.1913 | 0.9300 |
|
62 |
|
63 |
|
64 |
### Framework versions
|
config.json
CHANGED
@@ -11,30 +11,30 @@
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
"id2label": {
|
14 |
-
"0": "
|
15 |
-
"1": "
|
16 |
-
"2": "
|
17 |
-
"3": "
|
18 |
-
"4": "
|
19 |
"5": "Special",
|
20 |
-
"6": "
|
21 |
-
"7": "
|
22 |
-
"8": "
|
23 |
-
"9": "
|
24 |
},
|
25 |
"initializer_range": 0.02,
|
26 |
"intermediate_size": 3072,
|
27 |
"label2id": {
|
28 |
-
"Attack":
|
29 |
-
"Communication":
|
30 |
-
"Defend":
|
31 |
-
"Move":
|
32 |
-
"Reconnaissance":
|
33 |
-
"Reinforce":
|
34 |
-
"Retreat":
|
35 |
"Special": 5,
|
36 |
-
"Supply":
|
37 |
-
"Support":
|
38 |
},
|
39 |
"layer_norm_eps": 1e-12,
|
40 |
"max_position_embeddings": 512,
|
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
13 |
"id2label": {
|
14 |
+
"0": "Defend",
|
15 |
+
"1": "Supply",
|
16 |
+
"2": "Reinforce",
|
17 |
+
"3": "Move",
|
18 |
+
"4": "Reconnaissance",
|
19 |
"5": "Special",
|
20 |
+
"6": "Communication",
|
21 |
+
"7": "Retreat",
|
22 |
+
"8": "Support",
|
23 |
+
"9": "Attack"
|
24 |
},
|
25 |
"initializer_range": 0.02,
|
26 |
"intermediate_size": 3072,
|
27 |
"label2id": {
|
28 |
+
"Attack": 9,
|
29 |
+
"Communication": 6,
|
30 |
+
"Defend": 0,
|
31 |
+
"Move": 3,
|
32 |
+
"Reconnaissance": 4,
|
33 |
+
"Reinforce": 2,
|
34 |
+
"Retreat": 7,
|
35 |
"Special": 5,
|
36 |
+
"Supply": 1,
|
37 |
+
"Support": 8
|
38 |
},
|
39 |
"layer_norm_eps": 1e-12,
|
40 |
"max_position_embeddings": 512,
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 651419688
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e0a121a59d17a6bd7d635824d3b65b968c260f582e6e118dd6ee51ae8f295277
|
3 |
size 651419688
|
runs/Jul23_20-16-08_49a92e2d8e5d/events.out.tfevents.1721765769.49a92e2d8e5d.242.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7b8bc2686dae5d0f53710374991bb4e87bafeb901d651b03cec9c710a19684a4
|
3 |
+
size 12400
|
runs/Jul23_20-16-08_49a92e2d8e5d/events.out.tfevents.1721767905.49a92e2d8e5d.242.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b7ce557620a2641f3e8605aae1b30a24f1aab3eaca7d412dbda3f3f13fb19580
|
3 |
+
size 411
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5176
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c903c93a5b5bb1b485b94a641498a830f0ac106b02520371a343d6a42c39da04
|
3 |
size 5176
|