hcy5561 commited on
Commit
033cc8e
1 Parent(s): 998cb4b

End of training

Browse files
Files changed (2) hide show
  1. README.md +61 -76
  2. model.safetensors +1 -1
README.md CHANGED
@@ -1,76 +1,61 @@
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
- model-index:
11
- - name: my_awesome_model
12
- results:
13
- - task:
14
- name: Text Classification
15
- type: text-classification
16
- dataset:
17
- name: imdb
18
- type: imdb
19
- config: plain_text
20
- split: test
21
- args: plain_text
22
- metrics:
23
- - name: Accuracy
24
- type: accuracy
25
- value: 0.9302
26
- ---
27
-
28
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
29
- should probably proofread and complete it, then remove this comment. -->
30
-
31
- # my_awesome_model
32
-
33
- This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on the imdb dataset.
34
- It achieves the following results on the evaluation set:
35
- - Loss: 0.1992
36
- - Accuracy: 0.9302
37
-
38
- ## Model description
39
-
40
- More information needed
41
-
42
- ## Intended uses & limitations
43
-
44
- More information needed
45
-
46
- ## Training and evaluation data
47
-
48
- More information needed
49
-
50
- ## Training procedure
51
-
52
- ### Training hyperparameters
53
-
54
- The following hyperparameters were used during training:
55
- - learning_rate: 2e-05
56
- - train_batch_size: 32
57
- - eval_batch_size: 32
58
- - seed: 42
59
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
- - lr_scheduler_type: linear
61
- - num_epochs: 2
62
-
63
- ### Training results
64
-
65
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
66
- |:-------------:|:-----:|:----:|:---------------:|:--------:|
67
- | 0.2867 | 1.0 | 782 | 0.1940 | 0.9228 |
68
- | 0.1428 | 2.0 | 1564 | 0.1992 | 0.9302 |
69
-
70
-
71
- ### Framework versions
72
-
73
- - Transformers 4.36.2
74
- - Pytorch 2.0.0
75
- - Datasets 2.1.0
76
- - Tokenizers 0.15.0
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: distilbert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: my_awesome_model
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # my_awesome_model
17
+
18
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.2314
21
+ - Accuracy: 0.9311
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 2e-05
41
+ - train_batch_size: 16
42
+ - eval_batch_size: 16
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 2
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | 0.2186 | 1.0 | 1563 | 0.2118 | 0.9187 |
53
+ | 0.1439 | 2.0 | 3126 | 0.2314 | 0.9311 |
54
+
55
+
56
+ ### Framework versions
57
+
58
+ - Transformers 4.39.3
59
+ - Pytorch 2.2.2+cu118
60
+ - Datasets 2.18.0
61
+ - Tokenizers 0.15.2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d33a888eba2c1c89f47bb4a87f947f19741b986ee9ed70568c9bda8c6a1f0ec4
3
  size 267832560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24bdc333354e83c4327f9e5e47a09efe68616d61e2dc5a69ee1c2664ed2975ca
3
  size 267832560