End of training
Browse files- README.md +75 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: HooshvareLab/bert-fa-base-uncased-sentiment-snappfood
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
+
- f1
|
9 |
+
- precision
|
10 |
+
- recall
|
11 |
+
model-index:
|
12 |
+
- name: my-snappfood-model
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# my-snappfood-model
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [HooshvareLab/bert-fa-base-uncased-sentiment-snappfood](https://huggingface.co/HooshvareLab/bert-fa-base-uncased-sentiment-snappfood) on an unknown dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 1.2433
|
24 |
+
- Accuracy: 0.8613
|
25 |
+
- F1: 0.8613
|
26 |
+
- Precision: 0.8615
|
27 |
+
- Recall: 0.8613
|
28 |
+
|
29 |
+
## Model description
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Intended uses & limitations
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training and evaluation data
|
38 |
+
|
39 |
+
More information needed
|
40 |
+
|
41 |
+
## Training procedure
|
42 |
+
|
43 |
+
### Training hyperparameters
|
44 |
+
|
45 |
+
The following hyperparameters were used during training:
|
46 |
+
- learning_rate: 2e-05
|
47 |
+
- train_batch_size: 24
|
48 |
+
- eval_batch_size: 24
|
49 |
+
- seed: 42
|
50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
51 |
+
- lr_scheduler_type: linear
|
52 |
+
- num_epochs: 10
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
57 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
58 |
+
| 0.2358 | 1.0 | 2363 | 0.3235 | 0.869 | 0.8690 | 0.8691 | 0.869 |
|
59 |
+
| 0.1925 | 2.0 | 4726 | 0.3717 | 0.855 | 0.8550 | 0.8553 | 0.855 |
|
60 |
+
| 0.1423 | 3.0 | 7089 | 0.5230 | 0.867 | 0.8669 | 0.8683 | 0.867 |
|
61 |
+
| 0.1135 | 4.0 | 9452 | 0.6233 | 0.8691 | 0.8690 | 0.8709 | 0.8691 |
|
62 |
+
| 0.0876 | 5.0 | 11815 | 0.7637 | 0.8636 | 0.8635 | 0.8644 | 0.8636 |
|
63 |
+
| 0.063 | 6.0 | 14178 | 0.8685 | 0.8544 | 0.8544 | 0.8547 | 0.8544 |
|
64 |
+
| 0.0435 | 7.0 | 16541 | 0.9789 | 0.8607 | 0.8606 | 0.8616 | 0.8607 |
|
65 |
+
| 0.0279 | 8.0 | 18904 | 1.1560 | 0.8579 | 0.8578 | 0.8579 | 0.8579 |
|
66 |
+
| 0.0184 | 9.0 | 21267 | 1.1904 | 0.8653 | 0.8652 | 0.8659 | 0.8653 |
|
67 |
+
| 0.0092 | 10.0 | 23630 | 1.2433 | 0.8613 | 0.8613 | 0.8615 | 0.8613 |
|
68 |
+
|
69 |
+
|
70 |
+
### Framework versions
|
71 |
+
|
72 |
+
- Transformers 4.33.2
|
73 |
+
- Pytorch 2.0.1+cu118
|
74 |
+
- Datasets 2.14.5
|
75 |
+
- Tokenizers 0.13.3
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 651439921
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aaa171b74aa7b2258c6662382ce951ff7dc5c0901536b36a799b227525d67d68
|
3 |
size 651439921
|