Peter4 commited on
Commit
e338cbe
1 Parent(s): 2b02a15

Training completed!

Browse files
README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - f1
11
+ - precision
12
+ model-index:
13
+ - name: distilbert-base-uncased_emotion_ft_0416
14
+ results:
15
+ - task:
16
+ name: Text Classification
17
+ type: text-classification
18
+ dataset:
19
+ name: emotion
20
+ type: emotion
21
+ config: split
22
+ split: validation
23
+ args: split
24
+ metrics:
25
+ - name: Accuracy
26
+ type: accuracy
27
+ value: 0.9355
28
+ - name: F1
29
+ type: f1
30
+ value: 0.9354663445630791
31
+ - name: Precision
32
+ type: precision
33
+ value: 0.9083088769303077
34
+ ---
35
+
36
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
37
+ should probably proofread and complete it, then remove this comment. -->
38
+
39
+ # distilbert-base-uncased_emotion_ft_0416
40
+
41
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the emotion dataset.
42
+ It achieves the following results on the evaluation set:
43
+ - Loss: 0.1489
44
+ - Accuracy: 0.9355
45
+ - F1: 0.9355
46
+ - Precision: 0.9083
47
+
48
+ ## Model description
49
+
50
+ More information needed
51
+
52
+ ## Intended uses & limitations
53
+
54
+ More information needed
55
+
56
+ ## Training and evaluation data
57
+
58
+ More information needed
59
+
60
+ ## Training procedure
61
+
62
+ ### Training hyperparameters
63
+
64
+ The following hyperparameters were used during training:
65
+ - learning_rate: 2e-05
66
+ - train_batch_size: 64
67
+ - eval_batch_size: 64
68
+ - seed: 42
69
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
70
+ - lr_scheduler_type: linear
71
+ - num_epochs: 4
72
+
73
+ ### Training results
74
+
75
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision |
76
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|
77
+ | 0.7697 | 1.0 | 250 | 0.2589 | 0.9215 | 0.9218 | 0.8905 |
78
+ | 0.2077 | 2.0 | 500 | 0.1735 | 0.929 | 0.9293 | 0.9003 |
79
+ | 0.1397 | 3.0 | 750 | 0.1531 | 0.934 | 0.9346 | 0.8979 |
80
+ | 0.1136 | 4.0 | 1000 | 0.1489 | 0.9355 | 0.9355 | 0.9083 |
81
+
82
+
83
+ ### Framework versions
84
+
85
+ - Transformers 4.39.1
86
+ - Pytorch 2.2.1+cu121
87
+ - Datasets 2.19.0
88
+ - Tokenizers 0.15.2
config.json CHANGED
@@ -36,6 +36,6 @@
36
  "sinusoidal_pos_embds": false,
37
  "tie_weights_": true,
38
  "torch_dtype": "float32",
39
- "transformers_version": "4.37.2",
40
  "vocab_size": 30522
41
  }
 
36
  "sinusoidal_pos_embds": false,
37
  "tie_weights_": true,
38
  "torch_dtype": "float32",
39
+ "transformers_version": "4.39.1",
40
  "vocab_size": 30522
41
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fe5a7e59219e0d47dc051b1eaf8c3c4160e98fc004487ee93c23feca6fe97df1
3
  size 267844872
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdfbaf45ba1144ffa2d7dbdcb23bac87a7c3cdd4502b44a115a214d9e7325224
3
  size 267844872
runs/Apr20_20-19-44_tim-PowerEdge-T640/events.out.tfevents.1713615592.tim-PowerEdge-T640.321149.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20f532e7fab4802a7026d76444f035e029c5056d3eec27a1c65674d258e1064c
3
+ size 7702
tokenizer.json CHANGED
@@ -1,7 +1,19 @@
1
  {
2
  "version": "1.0",
3
- "truncation": null,
4
- "padding": null,
 
 
 
 
 
 
 
 
 
 
 
 
5
  "added_tokens": [
6
  {
7
  "id": 0,
 
1
  {
2
  "version": "1.0",
3
+ "truncation": {
4
+ "direction": "Right",
5
+ "max_length": 512,
6
+ "strategy": "LongestFirst",
7
+ "stride": 0
8
+ },
9
+ "padding": {
10
+ "strategy": "BatchLongest",
11
+ "direction": "Right",
12
+ "pad_to_multiple_of": null,
13
+ "pad_id": 0,
14
+ "pad_type_id": 0,
15
+ "pad_token": "[PAD]"
16
+ },
17
  "added_tokens": [
18
  {
19
  "id": 0,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e44a521e0b7529816981a22e5c4d94f4c0b526238b9b62d04c52f425aee6f36b
3
- size 4792
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ccbeda1784cd4f3ce3d30c98d9a8c59feae3db29a78e1725bee94a9388c2c647
3
+ size 4984