Jonasbukhave commited on
Commit
df8cd98
·
verified ·
1 Parent(s): 1edd5a3

Lets go - Initial Commit

Browse files
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: distilbert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ model-index:
11
+ - name: distilbert-base-uncased-finetuned-emotion
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # distilbert-base-uncased-finetuned-emotion
19
+
20
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.2291
23
+ - Accuracy: 0.9395
24
+ - F1: 0.9395
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 2e-05
44
+ - train_batch_size: 64
45
+ - eval_batch_size: 64
46
+ - seed: 42
47
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 10
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
54
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
55
+ | 0.1313 | 1.0 | 250 | 0.1574 | 0.9355 | 0.9359 |
56
+ | 0.0897 | 2.0 | 500 | 0.1597 | 0.9375 | 0.9368 |
57
+ | 0.0818 | 3.0 | 750 | 0.1496 | 0.9395 | 0.9401 |
58
+ | 0.068 | 4.0 | 1000 | 0.1707 | 0.9365 | 0.9366 |
59
+ | 0.0533 | 5.0 | 1250 | 0.1842 | 0.9365 | 0.9363 |
60
+ | 0.043 | 6.0 | 1500 | 0.2020 | 0.9365 | 0.9363 |
61
+ | 0.0325 | 7.0 | 1750 | 0.2172 | 0.936 | 0.9359 |
62
+ | 0.0279 | 8.0 | 2000 | 0.2262 | 0.9355 | 0.9353 |
63
+ | 0.0207 | 9.0 | 2250 | 0.2238 | 0.939 | 0.9392 |
64
+ | 0.0188 | 10.0 | 2500 | 0.2291 | 0.9395 | 0.9395 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 4.44.2
70
+ - Pytorch 2.4.1+cu121
71
+ - Datasets 3.0.0
72
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
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,
31
+ "n_layers": 6,
32
+ "pad_token_id": 0,
33
+ "problem_type": "single_label_classification",
34
+ "qa_dropout": 0.1,
35
+ "seq_classif_dropout": 0.2,
36
+ "sinusoidal_pos_embds": false,
37
+ "tie_weights_": true,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.44.2",
40
+ "vocab_size": 30522
41
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a8a1fdd858ec06e872bd0763f793c933b38d1f58d5f1b99d5b8a3de17210fc6
3
+ size 267844872
runs/Sep21_13-55-38_f6c3ba3b66f3/events.out.tfevents.1726926940.f6c3ba3b66f3.607.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92b7c35d73eb7831f00f9d81628962aa727e8c2f7efdd19e0a59c2f8f33e29d6
3
+ size 7220
runs/Sep21_14-04-21_f6c3ba3b66f3/events.out.tfevents.1726927462.f6c3ba3b66f3.607.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96ea71ed86fcff4c228390e8eff213facae7ab57208ad6ae3133a2e87a4240f9
3
+ size 5217
runs/Sep21_14-04-59_f6c3ba3b66f3/events.out.tfevents.1726927500.f6c3ba3b66f3.607.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be3388e0140c79c4481cad88a7119d86e0abf3f17332bbd1a3e4c79bb3927e4a
3
+ size 11372
runs/Sep21_14-04-59_f6c3ba3b66f3/events.out.tfevents.1726929046.f6c3ba3b66f3.607.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aec704548d6379b5e27a7f1066914d40987bd0c6765db0ec1f4805eb0beea3ed
3
+ size 457
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce61e77b6ef797a24f3788aedfcc99a5671d145f06edeab41b09d4890deed315
3
+ size 5240