JeffreyJIANG commited on
Commit
cb7bd3e
1 Parent(s): b540ab5

Model save

Browse files
README.md ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - imdb
8
+ metrics:
9
+ - accuracy
10
+ - f1
11
+ - precision
12
+ - recall
13
+ model-index:
14
+ - name: distilbert-imdb
15
+ results:
16
+ - task:
17
+ name: Text Classification
18
+ type: text-classification
19
+ dataset:
20
+ name: imdb
21
+ type: imdb
22
+ config: plain_text
23
+ split: test[6250:12500]+test[-12500:-6250]
24
+ args: plain_text
25
+ metrics:
26
+ - name: Accuracy
27
+ type: accuracy
28
+ value: 0.93024
29
+ - name: F1
30
+ type: f1
31
+ value: 0.9302304818748904
32
+ - name: Precision
33
+ type: precision
34
+ value: 0.93047490567909
35
+ - name: Recall
36
+ type: recall
37
+ value: 0.93024
38
+ ---
39
+
40
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
41
+ should probably proofread and complete it, then remove this comment. -->
42
+
43
+ # distilbert-imdb
44
+
45
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the imdb dataset.
46
+ It achieves the following results on the evaluation set:
47
+ - Loss: 0.2118
48
+ - Accuracy: 0.9302
49
+ - F1: 0.9302
50
+ - Precision: 0.9305
51
+ - Recall: 0.9302
52
+
53
+ ## Model description
54
+
55
+ More information needed
56
+
57
+ ## Intended uses & limitations
58
+
59
+ More information needed
60
+
61
+ ## Training and evaluation data
62
+
63
+ More information needed
64
+
65
+ ## Training procedure
66
+
67
+ ### Training hyperparameters
68
+
69
+ The following hyperparameters were used during training:
70
+ - learning_rate: 5e-05
71
+ - train_batch_size: 32
72
+ - eval_batch_size: 64
73
+ - seed: 9072
74
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
75
+ - lr_scheduler_type: linear
76
+ - num_epochs: 2
77
+
78
+ ### Training results
79
+
80
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
81
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
82
+ | 0.2803 | 1.0 | 782 | 0.1874 | 0.9276 | 0.9276 | 0.9276 | 0.9276 |
83
+ | 0.1143 | 2.0 | 1564 | 0.2118 | 0.9302 | 0.9302 | 0.9305 | 0.9302 |
84
+
85
+
86
+ ### Framework versions
87
+
88
+ - Transformers 4.38.2
89
+ - Pytorch 2.1.2
90
+ - Datasets 2.1.0
91
+ - Tokenizers 0.15.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7f65c62eebd39c55d4883254903d456740caeef7175d6477ef0bb67a99067f73
3
  size 267832560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bebb9dd08c2414b91553817ec2ee853fada26ee3ee1a266e3a1d4eb5d92134f3
3
  size 267832560
runs/Mar24_14-30-41_7812039d06ff/events.out.tfevents.1711290711.7812039d06ff.34.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5766867d500cd378646ea082190ad7f2ed8cbf3fa4cd1b179df0646bcca25fb9
3
- size 5678
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e1ef13cf8c558bad48dc16658303a132c582e26fbbe01d5ff196ed4d81a993a
3
+ size 6504