tm21cy commited on
Commit
800a510
·
verified ·
1 Parent(s): 91ffd4b

End of training

Browse files
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-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.928
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 [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the emotion dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.1632
36
+ - Accuracy: 0.928
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.2224 | 1.0 | 1000 | 0.1812 | 0.934 |
68
+ | 0.1269 | 2.0 | 2000 | 0.1562 | 0.9415 |
69
+ | 0.0801 | 3.0 | 3000 | 0.1516 | 0.9405 |
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
@@ -8,7 +8,23 @@
8
  "dim": 768,
9
  "dropout": 0.1,
10
  "hidden_dim": 3072,
 
 
 
 
 
 
 
 
11
  "initializer_range": 0.02,
 
 
 
 
 
 
 
 
12
  "max_position_embeddings": 512,
13
  "model_type": "distilbert",
14
  "n_heads": 12,
 
8
  "dim": 768,
9
  "dropout": 0.1,
10
  "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3",
16
+ "4": "LABEL_4",
17
+ "5": "LABEL_5"
18
+ },
19
  "initializer_range": 0.02,
20
+ "label2id": {
21
+ "LABEL_0": 0,
22
+ "LABEL_1": 1,
23
+ "LABEL_2": 2,
24
+ "LABEL_3": 3,
25
+ "LABEL_4": 4,
26
+ "LABEL_5": 5
27
+ },
28
  "max_position_embeddings": 512,
29
  "model_type": "distilbert",
30
  "n_heads": 12,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d13c9e47901aa87ac45696f3b148e1afd8fc140159dfa67cca95ca27f00ae0a6
3
- size 267832560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f77b624d3ff8e47690a4b87fa681bc6507b2b34bec64ee3611842fd750838b1a
3
+ size 267844872
runs/Mar10_22-16-31_fa8d0bdd99a3/events.out.tfevents.1710109004.fa8d0bdd99a3.4644.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:68b6a5f8c8fed9986db577789a4c1a3b80401875c7d7a3742bea1b9fd9ee517a
3
- size 6966
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7e37653748ff1bbf9718e4e193277bf31815e12afa15cd6a13b1ce14a899a5db
3
+ size 7643
runs/Mar10_22-16-31_fa8d0bdd99a3/events.out.tfevents.1710109957.fa8d0bdd99a3.4644.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ae6fe6230d654f446817c2b11ae8532517d100874913ff2c8d0157524bbc7d9c
3
+ size 411
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1a65e6a3044cfb881751aa84e401d40f153049877cc93f78691559741d22b938
3
  size 4920
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d41f542cc78015e7a949f97f2b76066dc23c10f6a5ee65b523e303d94000ae2c
3
  size 4920