Farshid commited on
Commit
9803d45
1 Parent(s): 355d412

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +83 -0
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - financial_phrasebank
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ model-index:
11
+ - name: bert-large-uncased-financial-phrasebank-allagree2
12
+ results:
13
+ - task:
14
+ name: Text Classification
15
+ type: text-classification
16
+ dataset:
17
+ name: financial_phrasebank
18
+ type: financial_phrasebank
19
+ config: sentences_allagree
20
+ split: train
21
+ args: sentences_allagree
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.9911504424778761
26
+ - name: F1
27
+ type: f1
28
+ value: 0.9910704012566471
29
+ ---
30
+
31
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
32
+ should probably proofread and complete it, then remove this comment. -->
33
+
34
+ # bert-large-uncased-financial-phrasebank-allagree2
35
+
36
+ This model is a fine-tuned version of [bert-large-uncased](https://huggingface.co/bert-large-uncased) on the financial_phrasebank dataset.
37
+ It achieves the following results on the evaluation set:
38
+ - Loss: 0.0734
39
+ - Accuracy: 0.9912
40
+ - F1: 0.9911
41
+
42
+ ## Model description
43
+
44
+ More information needed
45
+
46
+ ## Intended uses & limitations
47
+
48
+ More information needed
49
+
50
+ ## Training and evaluation data
51
+
52
+ More information needed
53
+
54
+ ## Training procedure
55
+
56
+ ### Training hyperparameters
57
+
58
+ The following hyperparameters were used during training:
59
+ - learning_rate: 2e-05
60
+ - train_batch_size: 8
61
+ - eval_batch_size: 8
62
+ - seed: 42
63
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
64
+ - lr_scheduler_type: linear
65
+ - num_epochs: 5
66
+
67
+ ### Training results
68
+
69
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
70
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
71
+ | 0.3209 | 1.0 | 227 | 0.1929 | 0.9558 | 0.9551 |
72
+ | 0.0821 | 2.0 | 454 | 0.0994 | 0.9867 | 0.9867 |
73
+ | 0.04 | 3.0 | 681 | 0.0685 | 0.9867 | 0.9866 |
74
+ | 0.0098 | 4.0 | 908 | 0.0980 | 0.9867 | 0.9867 |
75
+ | 0.0003 | 5.0 | 1135 | 0.0734 | 0.9912 | 0.9911 |
76
+
77
+
78
+ ### Framework versions
79
+
80
+ - Transformers 4.21.1
81
+ - Pytorch 1.12.0+cu113
82
+ - Datasets 2.4.0
83
+ - Tokenizers 0.12.1