tomwetherell
commited on
Commit
•
21bc054
1
Parent(s):
b8fa3d7
update model card README.md
Browse files
README.md
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
datasets:
|
6 |
+
- financial_phrasebank
|
7 |
+
metrics:
|
8 |
+
- recall
|
9 |
+
- accuracy
|
10 |
+
- precision
|
11 |
+
model-index:
|
12 |
+
- name: TOMFINSEN
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
name: Text Classification
|
16 |
+
type: text-classification
|
17 |
+
dataset:
|
18 |
+
name: financial_phrasebank
|
19 |
+
type: financial_phrasebank
|
20 |
+
args: sentences_50agree
|
21 |
+
metrics:
|
22 |
+
- name: Recall
|
23 |
+
type: recall
|
24 |
+
value: 0.8985861629736692
|
25 |
+
- name: Accuracy
|
26 |
+
type: accuracy
|
27 |
+
value: 0.8742268041237113
|
28 |
+
- name: Precision
|
29 |
+
type: precision
|
30 |
+
value: 0.8509995913451198
|
31 |
+
---
|
32 |
+
|
33 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
34 |
+
should probably proofread and complete it, then remove this comment. -->
|
35 |
+
|
36 |
+
# TOMFINSEN
|
37 |
+
|
38 |
+
This model is a fine-tuned version of [deepmind/language-perceiver](https://huggingface.co/deepmind/language-perceiver) on the financial_phrasebank dataset.
|
39 |
+
It achieves the following results on the evaluation set:
|
40 |
+
- Loss: 0.3642
|
41 |
+
- Recall: 0.8986
|
42 |
+
- Accuracy: 0.8742
|
43 |
+
- Precision: 0.8510
|
44 |
+
|
45 |
+
## Model description
|
46 |
+
|
47 |
+
More information needed
|
48 |
+
|
49 |
+
## Intended uses & limitations
|
50 |
+
|
51 |
+
More information needed
|
52 |
+
|
53 |
+
## Training and evaluation data
|
54 |
+
|
55 |
+
More information needed
|
56 |
+
|
57 |
+
## Training procedure
|
58 |
+
|
59 |
+
### Training hyperparameters
|
60 |
+
|
61 |
+
The following hyperparameters were used during training:
|
62 |
+
- learning_rate: 2e-05
|
63 |
+
- train_batch_size: 16
|
64 |
+
- eval_batch_size: 16
|
65 |
+
- seed: 42
|
66 |
+
- distributed_type: tpu
|
67 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
68 |
+
- lr_scheduler_type: linear
|
69 |
+
- num_epochs: 4
|
70 |
+
|
71 |
+
### Training results
|
72 |
+
|
73 |
+
| Training Loss | Epoch | Step | Validation Loss | Recall | Accuracy | Precision |
|
74 |
+
|:-------------:|:-----:|:----:|:---------------:|:------:|:--------:|:---------:|
|
75 |
+
| 0.5403 | 1.0 | 273 | 0.4207 | 0.8358 | 0.8619 | 0.8534 |
|
76 |
+
| 0.3939 | 2.0 | 546 | 0.3750 | 0.8943 | 0.8577 | 0.8225 |
|
77 |
+
| 0.1993 | 3.0 | 819 | 0.3113 | 0.8882 | 0.8660 | 0.8367 |
|
78 |
+
| 0.301 | 4.0 | 1092 | 0.3642 | 0.8986 | 0.8742 | 0.8510 |
|
79 |
+
|
80 |
+
|
81 |
+
### Framework versions
|
82 |
+
|
83 |
+
- Transformers 4.15.0
|
84 |
+
- Pytorch 1.9.0+cu102
|
85 |
+
- Datasets 1.17.0
|
86 |
+
- Tokenizers 0.10.3
|