lilyray commited on
Commit
0647b45
·
verified ·
1 Parent(s): ea01407

distilbert-emotion

Browse files
README.md CHANGED
@@ -1,13 +1,28 @@
1
  ---
2
  license: apache-2.0
3
- base_model: lilyray/results
4
  tags:
5
  - generated_from_trainer
 
 
6
  metrics:
7
  - accuracy
8
  model-index:
9
  - name: results
10
- results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -15,10 +30,10 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # results
17
 
18
- This model is a fine-tuned version of [lilyray/results](https://huggingface.co/lilyray/results) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.6652
21
- - Accuracy: 0.6314
22
 
23
  ## Model description
24
 
@@ -37,23 +52,21 @@ More information needed
37
  ### Training hyperparameters
38
 
39
  The following hyperparameters were used during training:
40
- - learning_rate: 1.8306204953054156e-05
41
- - train_batch_size: 16
42
- - eval_batch_size: 16
43
- - seed: 21
44
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
  - lr_scheduler_type: linear
46
- - num_epochs: 5
47
 
48
  ### Training results
49
 
50
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
- | No log | 1.0 | 179 | 0.5900 | 0.6866 |
53
- | No log | 2.0 | 358 | 0.6840 | 0.6725 |
54
- | 0.4042 | 3.0 | 537 | 0.8741 | 0.6788 |
55
- | 0.4042 | 4.0 | 716 | 0.9795 | 0.6830 |
56
- | 0.4042 | 5.0 | 895 | 1.1036 | 0.6892 |
57
 
58
 
59
  ### Framework versions
 
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.944
26
  ---
27
 
28
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
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.1774
36
+ - Accuracy: 0.944
37
 
38
  ## Model description
39
 
 
52
  ### Training hyperparameters
53
 
54
  The following hyperparameters were used during training:
55
+ - learning_rate: 2e-05
56
+ - train_batch_size: 8
57
+ - eval_batch_size: 8
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.2605 | 1.0 | 2000 | 0.2376 | 0.93 |
68
+ | 0.1559 | 2.0 | 4000 | 0.1909 | 0.936 |
69
+ | 0.1022 | 3.0 | 6000 | 0.1774 | 0.944 |
 
 
70
 
71
 
72
  ### Framework versions
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "lilyray/results",
3
  "activation": "gelu",
4
  "architectures": [
5
  "DistilBertForSequenceClassification"
@@ -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,
 
1
  {
2
+ "_name_or_path": "distilbert-base-uncased",
3
  "activation": "gelu",
4
  "architectures": [
5
  "DistilBertForSequenceClassification"
 
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:bdecafe472d4c4ce35dc53f58e376c636f15f633933783ea912472ebd6bd7d80
3
- size 267832560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92ae041864a7bce41a596cfef38707c5d3c31f362722cdd30190b65b86e33842
3
+ size 267844872
runs/Mar10_13-43-34_cca651d8c56b/events.out.tfevents.1710078215.cca651d8c56b.1415.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a18c32855197aa4b52dcef37b4bd6b04697705a2f1e16a08d41b1bcd1db8e5d
3
+ size 8546
runs/Mar10_13-43-34_cca651d8c56b/events.out.tfevents.1710078876.cca651d8c56b.1415.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcad1fd398d90967a4b9baff86232beb3bc871c093aa8bcd39ed0354929cc584
3
+ size 734
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0c259b10a6cf51b228bad6e247bd6912729b2624957a2f8e300ab949f7922a7a
3
  size 4920
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd3544d414a9fb66fa75771352d564d19e7fdfd9d0bca2c1724c31ecb4c3e3ba
3
  size 4920