shed-e commited on
Commit
8536ae8
1 Parent(s): d436e43

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +92 -0
README.md ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - ag_news
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ - precision
11
+ - recall
12
+ model-index:
13
+ - name: results
14
+ results:
15
+ - task:
16
+ name: Text Classification
17
+ type: text-classification
18
+ dataset:
19
+ name: ag_news
20
+ type: ag_news
21
+ config: default
22
+ split: train[:40000]
23
+ args: default
24
+ metrics:
25
+ - name: Accuracy
26
+ type: accuracy
27
+ value: 0.8951
28
+ - name: F1
29
+ type: f1
30
+ value: 0.8964447542636089
31
+ - name: Precision
32
+ type: precision
33
+ value: 0.8978261707981314
34
+ - name: Recall
35
+ type: recall
36
+ value: 0.896474840596734
37
+ ---
38
+
39
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
40
+ should probably proofread and complete it, then remove this comment. -->
41
+
42
+ # results
43
+
44
+ This model is a fine-tuned version of [prajjwal1/bert-tiny](https://huggingface.co/prajjwal1/bert-tiny) on the ag_news dataset.
45
+ It achieves the following results on the evaluation set:
46
+ - Loss: 0.3320
47
+ - Accuracy: 0.8951
48
+ - F1: 0.8964
49
+ - Precision: 0.8978
50
+ - Recall: 0.8965
51
+
52
+ ## Model description
53
+
54
+ More information needed
55
+
56
+ ## Intended uses & limitations
57
+
58
+ More information needed
59
+
60
+ ## Training and evaluation data
61
+
62
+ More information needed
63
+
64
+ ## Training procedure
65
+
66
+ ### Training hyperparameters
67
+
68
+ The following hyperparameters were used during training:
69
+ - learning_rate: 0.0003
70
+ - train_batch_size: 64
71
+ - eval_batch_size: 64
72
+ - seed: 42
73
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
74
+ - lr_scheduler_type: linear
75
+ - num_epochs: 3
76
+ - mixed_precision_training: Native AMP
77
+
78
+ ### Training results
79
+
80
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
81
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
82
+ | 0.2783 | 1.0 | 625 | 0.3046 | 0.8949 | 0.8960 | 0.8970 | 0.8963 |
83
+ | 0.1878 | 2.0 | 1250 | 0.3139 | 0.8954 | 0.8971 | 0.8995 | 0.8965 |
84
+ | 0.1311 | 3.0 | 1875 | 0.3320 | 0.8951 | 0.8964 | 0.8978 | 0.8965 |
85
+
86
+
87
+ ### Framework versions
88
+
89
+ - Transformers 4.22.0
90
+ - Pytorch 1.12.1+cu113
91
+ - Datasets 2.4.0
92
+ - Tokenizers 0.12.1