zhuchi76 commited on
Commit
00e148e
1 Parent(s): ebfc0f2

tzuchichen branch initial commit, end of finetuning

Browse files
.ipynb_checkpoints/README-checkpoint.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ model-index:
10
+ - name: bert-finetuned-sst2
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # bert-finetuned-sst2
18
+
19
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.4948
22
+ - Accuracy: 0.77
23
+ - F1: 0.7767
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 5e-05
43
+ - train_batch_size: 8
44
+ - eval_batch_size: 8
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 3.0
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
53
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
54
+ | No log | 1.0 | 13 | 0.6412 | 0.57 | 0.7261 |
55
+ | No log | 2.0 | 26 | 0.5484 | 0.76 | 0.7600 |
56
+ | No log | 3.0 | 39 | 0.4948 | 0.77 | 0.7767 |
57
+
58
+
59
+ ### Framework versions
60
+
61
+ - Transformers 4.38.2
62
+ - Pytorch 2.2.1+cu121
63
+ - Datasets 2.18.0
64
+ - Tokenizers 0.15.2
README.md CHANGED
@@ -18,9 +18,9 @@ should probably proofread and complete it, then remove this comment. -->
18
 
19
  This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 1.2788
22
- - Accuracy: 0.63
23
- - F1: 0.5195
24
 
25
  ## Model description
26
 
@@ -51,9 +51,9 @@ The following hyperparameters were used during training:
51
 
52
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
53
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
54
- | No log | 1.0 | 13 | 0.4705 | 0.79 | 0.7961 |
55
- | No log | 2.0 | 26 | 1.1760 | 0.62 | 0.5 |
56
- | No log | 3.0 | 39 | 1.2788 | 0.63 | 0.5195 |
57
 
58
 
59
  ### Framework versions
 
18
 
19
  This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
+ - Loss: 0.9545
22
+ - Accuracy: 0.77
23
+ - F1: 0.7810
24
 
25
  ## Model description
26
 
 
51
 
52
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
53
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
54
+ | No log | 1.0 | 13 | 0.7069 | 0.75 | 0.7573 |
55
+ | No log | 2.0 | 26 | 0.8417 | 0.75 | 0.7664 |
56
+ | No log | 3.0 | 39 | 0.9545 | 0.77 | 0.7810 |
57
 
58
 
59
  ### Framework versions
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:752ca178d47577536c2ff7acf50771734e1e6a4bc23fa2406e31bc7c444d9cf6
3
  size 437958648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:327c5e46b920f515866d4e4856f910c7e3b55e3675f10132f443446b9df040df
3
  size 437958648
runs/Mar22_18-45-31_arg10/events.out.tfevents.1711104337.arg10.654.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2da386250ed2b9442e78dea5a5e7544509b52e06a2e37061a1446673cbeb0feb
3
+ size 6114
runs/Mar22_18-46-25_arg10/events.out.tfevents.1711104401.arg10.654.4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e98f211c241fe9fd434716b28bcfb7da0c55a82a5bb81947ba9a3f766d3df64
3
+ size 6023
runs/Mar23_16-51-42_arg10/events.out.tfevents.1711183904.arg10.44500.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5dc5aea3910632490dd4ffd4dba7a8ed1bb45e85a795a51aae9b800d0558873d
3
+ size 6023
runs/Mar23_17-08-45_arg10/events.out.tfevents.1711184931.arg10.44500.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df6470d8936a7b8da54244103aa202bce0a88fb45a54bd0c34aff7ea83fa12ac
3
+ size 6081
tokenizer.json CHANGED
@@ -1,11 +1,6 @@
1
  {
2
  "version": "1.0",
3
- "truncation": {
4
- "direction": "Right",
5
- "max_length": 512,
6
- "strategy": "LongestFirst",
7
- "stride": 0
8
- },
9
  "padding": null,
10
  "added_tokens": [
11
  {
 
1
  {
2
  "version": "1.0",
3
+ "truncation": null,
 
 
 
 
 
4
  "padding": null,
5
  "added_tokens": [
6
  {
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:26d6c40edf95ea901f1a5b5557a41bdf3ed62c78e6e7c0ddd54efaee0dcaa09d
3
  size 4920
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59cbdf27602463d3ea3ec3fe682c1cca3f08cf6f2e69a0622de44ebeb5d19689
3
  size 4920