RoopeshDuvvi commited on
Commit
0b29b34
·
verified ·
1 Parent(s): b687b76

End of training

Browse files
Files changed (4) hide show
  1. README.md +68 -0
  2. all_results.json +13 -0
  3. eval_results.json +9 -0
  4. train_results.json +7 -0
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: distilbert/distilbert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ model-index:
11
+ - name: distilbert-imdb-sentiment
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-imdb-sentiment
19
+
20
+ This model is a fine-tuned version of [distilbert/distilbert-base-uncased](https://huggingface.co/distilbert/distilbert-base-uncased) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.4840
23
+ - Accuracy: 0.9314
24
+ - F1: 0.9318
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: 32
45
+ - eval_batch_size: 64
46
+ - seed: 42
47
+ - optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: linear
49
+ - lr_scheduler_warmup_steps: 0.06
50
+ - num_epochs: 3
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
55
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:------:|
56
+ | 0.4753 | 0.6394 | 500 | 0.4521 | 0.9114 | 0.9151 |
57
+ | 0.3099 | 1.2788 | 1000 | 0.4450 | 0.9250 | 0.9262 |
58
+ | 0.2935 | 1.9182 | 1500 | 0.3898 | 0.9290 | 0.9299 |
59
+ | 0.2234 | 2.5575 | 2000 | 0.4829 | 0.9307 | 0.9301 |
60
+ | 0.1981 | 3.0 | 2346 | 0.4840 | 0.9314 | 0.9318 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 5.6.1
66
+ - Pytorch 2.11.0+cu130
67
+ - Datasets 4.8.4
68
+ - Tokenizers 0.22.2
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.9314,
4
+ "eval_f1": 0.93181185638742,
5
+ "eval_loss": 0.48404139280319214,
6
+ "eval_runtime": 158.045,
7
+ "eval_samples_per_second": 158.183,
8
+ "eval_steps_per_second": 2.474,
9
+ "train_loss": 0.3609746463869945,
10
+ "train_runtime": 2380.306,
11
+ "train_samples_per_second": 31.509,
12
+ "train_steps_per_second": 0.986
13
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.9314,
4
+ "eval_f1": 0.93181185638742,
5
+ "eval_loss": 0.48404139280319214,
6
+ "eval_runtime": 158.045,
7
+ "eval_samples_per_second": 158.183,
8
+ "eval_steps_per_second": 2.474
9
+ }
train_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "train_loss": 0.3609746463869945,
4
+ "train_runtime": 2380.306,
5
+ "train_samples_per_second": 31.509,
6
+ "train_steps_per_second": 0.986
7
+ }