tm21cy commited on
Commit
f06f092
·
verified ·
1 Parent(s): 399b3aa

End of training

Browse files
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - emotion
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: results
12
+ results:
13
+ - task:
14
+ name: Text Classification
15
+ type: text-classification
16
+ dataset:
17
+ name: emotion
18
+ type: emotion
19
+ config: split
20
+ split: validation
21
+ args: split
22
+ metrics:
23
+ - name: Accuracy
24
+ type: accuracy
25
+ value: 0.929
26
+ ---
27
+
28
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
29
+ should probably proofread and complete it, then remove this comment. -->
30
+
31
+ # results
32
+
33
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the emotion dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.1786
36
+ - Accuracy: 0.929
37
+
38
+ ## Model description
39
+
40
+ More information needed
41
+
42
+ ## Intended uses & limitations
43
+
44
+ More information needed
45
+
46
+ ## Training and evaluation data
47
+
48
+ More information needed
49
+
50
+ ## Training procedure
51
+
52
+ ### Training hyperparameters
53
+
54
+ The following hyperparameters were used during training:
55
+ - learning_rate: 5e-05
56
+ - train_batch_size: 16
57
+ - eval_batch_size: 16
58
+ - seed: 42
59
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
+ - lr_scheduler_type: linear
61
+ - num_epochs: 3
62
+
63
+ ### Training results
64
+
65
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
66
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
67
+ | 0.218 | 1.0 | 1000 | 0.1718 | 0.9335 |
68
+ | 0.1272 | 2.0 | 2000 | 0.1489 | 0.9345 |
69
+ | 0.0924 | 3.0 | 3000 | 0.1632 | 0.9435 |
70
+
71
+
72
+ ### Framework versions
73
+
74
+ - Transformers 4.38.2
75
+ - Pytorch 2.2.1+cu121
76
+ - Datasets 2.18.0
77
+ - Tokenizers 0.15.2
config.json CHANGED
@@ -9,8 +9,24 @@
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
 
 
 
 
 
 
 
 
12
  "initializer_range": 0.02,
13
  "intermediate_size": 3072,
 
 
 
 
 
 
 
 
14
  "layer_norm_eps": 1e-12,
15
  "max_position_embeddings": 512,
16
  "model_type": "bert",
 
9
  "hidden_act": "gelu",
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
+ "3": "LABEL_3",
17
+ "4": "LABEL_4",
18
+ "5": "LABEL_5"
19
+ },
20
  "initializer_range": 0.02,
21
  "intermediate_size": 3072,
22
+ "label2id": {
23
+ "LABEL_0": 0,
24
+ "LABEL_1": 1,
25
+ "LABEL_2": 2,
26
+ "LABEL_3": 3,
27
+ "LABEL_4": 4,
28
+ "LABEL_5": 5
29
+ },
30
  "layer_norm_eps": 1e-12,
31
  "max_position_embeddings": 512,
32
  "model_type": "bert",
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:54c803df37e21ca47bb47dabf2e1a29dcf6e15346081b4257124663a9063877b
3
- size 437958648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91cb7b28d63b7ce49ab216281f5d29d5f97bbee3cf0d3eb472c1d59182f99594
3
+ size 437970952
runs/Mar11_05-48-43_52dd5b86094b/events.out.tfevents.1710136146.52dd5b86094b.7559.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:93325d0c33a35fb61e32558df5473a62b6c92be1bd7ac175934de86afc3c9355
3
- size 7060
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e56e956c1d148a9f2792924236e9f2ea345b040dbd60e03b79e2f7c9a3c47da6
3
+ size 7737
runs/Mar11_05-48-43_52dd5b86094b/events.out.tfevents.1710137960.52dd5b86094b.7559.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b971fdeada559e40b1dc49a40f5e569c8e9697ad0279dfaa1610b45a33d62af
3
+ size 411
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c91ce6dab0c772b1eea48b4c6012e7f376889a1631ada4eb29fcd82dec9f1e8d
3
  size 4920
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c5cc3370f5bab2ffcc00822dc9a2fbcb22e9cfea1d249ad0bc149559220e61bc
3
  size 4920