JeffreyJIANG commited on
Commit
8baec19
1 Parent(s): d0ffc62

Model save

Browse files
README.md ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-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: bert-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
24
+ args: plain_text
25
+ metrics:
26
+ - name: Accuracy
27
+ type: accuracy
28
+ value: 0.93956
29
+ - name: F1
30
+ type: f1
31
+ value: 0.9395537111681099
32
+ - name: Precision
33
+ type: precision
34
+ value: 0.939743003448315
35
+ - name: Recall
36
+ type: recall
37
+ value: 0.93956
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
+ # bert-imdb
44
+
45
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the imdb dataset.
46
+ It achieves the following results on the evaluation set:
47
+ - Loss: 0.2266
48
+ - Accuracy: 0.9396
49
+ - F1: 0.9396
50
+ - Precision: 0.9397
51
+ - Recall: 0.9396
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: 16
72
+ - eval_batch_size: 16
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.2223 | 1.0 | 1563 | 0.1898 | 0.9328 | 0.9327 | 0.9331 | 0.9328 |
83
+ | 0.1161 | 2.0 | 3126 | 0.2266 | 0.9396 | 0.9396 | 0.9397 | 0.9396 |
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:8afba1bdac73c7897a8ad7bf75fc7922688098251a825954c75d42905f6139f6
3
  size 437958648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee47cb80e3888b7813ecc46c2bd501aa47e8d741492109d96e4fff810fc7e2bd
3
  size 437958648
runs/Mar24_16-29-46_fef996fca6ad/events.out.tfevents.1711297798.fef996fca6ad.34.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f452e39eaff9956d4a441301a2401db20a62d01d1490b0f4141ccf0e04312b66
3
- size 6406
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e7cbca8397113c1dd104cc2c6379582a8eb8e743bc98a9cffd258316353a476
3
+ size 7232