ramnathv commited on
Commit
0696721
·
1 Parent(s): 81f0370

End of training

Browse files
README.md CHANGED
@@ -23,10 +23,10 @@ model-index:
23
  metrics:
24
  - name: F1
25
  type: f1
26
- value: 0.8326761828208897
27
  - name: Accuracy
28
  type: accuracy
29
- value: 0.8486932599724897
30
  ---
31
 
32
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -36,9 +36,9 @@ should probably proofread and complete it, then remove this comment. -->
36
 
37
  This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the financial_phrasebank dataset.
38
  It achieves the following results on the evaluation set:
39
- - Loss: 0.6091
40
- - F1: 0.8327
41
- - Accuracy: 0.8487
42
 
43
  ## Model description
44
 
@@ -69,15 +69,15 @@ The following hyperparameters were used during training:
69
 
70
  | Training Loss | Epoch | Step | Validation Loss | F1 | Accuracy |
71
  |:-------------:|:-----:|:----:|:---------------:|:------:|:--------:|
72
- | 0.5786 | 0.94 | 100 | 0.4136 | 0.8030 | 0.8246 |
73
- | 0.269 | 1.89 | 200 | 0.4105 | 0.8169 | 0.8494 |
74
- | 0.1201 | 2.83 | 300 | 0.5480 | 0.8319 | 0.8453 |
75
- | 0.0613 | 3.77 | 400 | 0.6091 | 0.8327 | 0.8487 |
76
 
77
 
78
  ### Framework versions
79
 
80
- - Transformers 4.34.1
81
  - Pytorch 2.1.0+cu118
82
  - Datasets 2.14.6
83
  - Tokenizers 0.14.1
 
23
  metrics:
24
  - name: F1
25
  type: f1
26
+ value: 0.8564148315707318
27
  - name: Accuracy
28
  type: accuracy
29
+ value: 0.8638239339752407
30
  ---
31
 
32
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
36
 
37
  This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the financial_phrasebank dataset.
38
  It achieves the following results on the evaluation set:
39
+ - Loss: 0.5833
40
+ - F1: 0.8564
41
+ - Accuracy: 0.8638
42
 
43
  ## Model description
44
 
 
69
 
70
  | Training Loss | Epoch | Step | Validation Loss | F1 | Accuracy |
71
  |:-------------:|:-----:|:----:|:---------------:|:------:|:--------:|
72
+ | 0.539 | 0.94 | 100 | 0.3789 | 0.8453 | 0.8597 |
73
+ | 0.2523 | 1.89 | 200 | 0.4040 | 0.8387 | 0.8446 |
74
+ | 0.1353 | 2.83 | 300 | 0.4799 | 0.8489 | 0.8624 |
75
+ | 0.0524 | 3.77 | 400 | 0.5833 | 0.8564 | 0.8638 |
76
 
77
 
78
  ### Framework versions
79
 
80
+ - Transformers 4.35.0
81
  - Pytorch 2.1.0+cu118
82
  - Datasets 2.14.6
83
  - Tokenizers 0.14.1
config.json CHANGED
@@ -10,16 +10,16 @@
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
- "0": "LABEL_0",
14
- "1": "LABEL_1",
15
- "2": "LABEL_2"
16
  },
17
  "initializer_range": 0.02,
18
  "intermediate_size": 3072,
19
  "label2id": {
20
- "LABEL_0": 0,
21
- "LABEL_1": 1,
22
- "LABEL_2": 2
23
  },
24
  "layer_norm_eps": 1e-12,
25
  "max_position_embeddings": 512,
@@ -30,7 +30,7 @@
30
  "position_embedding_type": "absolute",
31
  "problem_type": "single_label_classification",
32
  "torch_dtype": "float32",
33
- "transformers_version": "4.34.1",
34
  "type_vocab_size": 2,
35
  "use_cache": true,
36
  "vocab_size": 30522
 
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
+ "0": "negative",
14
+ "1": "neutral",
15
+ "2": "positive"
16
  },
17
  "initializer_range": 0.02,
18
  "intermediate_size": 3072,
19
  "label2id": {
20
+ "negative": 0,
21
+ "neutral": 1,
22
+ "positive": 2
23
  },
24
  "layer_norm_eps": 1e-12,
25
  "max_position_embeddings": 512,
 
30
  "position_embedding_type": "absolute",
31
  "problem_type": "single_label_classification",
32
  "torch_dtype": "float32",
33
+ "transformers_version": "4.35.0",
34
  "type_vocab_size": 2,
35
  "use_cache": true,
36
  "vocab_size": 30522
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e90ddf896a6bc3acc8eac43148fb28e418affee70fba0aa15f16399fe950e92c
3
+ size 437961724
runs/Nov07_21-21-40_4e79fc0bd678/events.out.tfevents.1699392129.4e79fc0bd678.236.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c117f0d021b63bc1926284598cb5ad2dffc5d38da3ace177dc0e2a088eef7373
3
+ size 6846
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:882f0fc11da268542d0786d70fe8b0863bf133c551e7373d6f0e5f1f58e2e394
3
- size 4536
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:353896c24fa25db331344cebbd0b6b47b0b6c3b1219158de0087893cdb4f5018
3
+ size 4600