zhuchi76 commited on
Commit
d3b16a7
1 Parent(s): b492524

bert-base-uncased finetune 3 epoch

Browse files
README.md CHANGED
@@ -1,8 +1,10 @@
1
  ---
2
  license: apache-2.0
3
- base_model: bert-base-uncased
4
  tags:
5
  - generated_from_trainer
 
 
6
  model-index:
7
  - name: bert-finetuned-sst2
8
  results: []
@@ -13,7 +15,10 @@ should probably proofread and complete it, then remove this comment. -->
13
 
14
  # bert-finetuned-sst2
15
 
16
- This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
 
 
 
17
 
18
  ## Model description
19
 
@@ -40,6 +45,15 @@ The following hyperparameters were used during training:
40
  - lr_scheduler_type: linear
41
  - num_epochs: 3.0
42
 
 
 
 
 
 
 
 
 
 
43
  ### Framework versions
44
 
45
  - Transformers 4.38.2
 
1
  ---
2
  license: apache-2.0
3
+ base_model: zhuchi76/bert-finetuned-sst2
4
  tags:
5
  - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
  model-index:
9
  - name: bert-finetuned-sst2
10
  results: []
 
15
 
16
  # bert-finetuned-sst2
17
 
18
+ This model is a fine-tuned version of [zhuchi76/bert-finetuned-sst2](https://huggingface.co/zhuchi76/bert-finetuned-sst2) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.4948
21
+ - Accuracy: 0.77
22
 
23
  ## Model description
24
 
 
45
  - lr_scheduler_type: linear
46
  - num_epochs: 3.0
47
 
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
52
+ | No log | 1.0 | 13 | 0.6412 | 0.57 |
53
+ | No log | 2.0 | 26 | 0.5484 | 0.76 |
54
+ | No log | 3.0 | 39 | 0.4948 | 0.77 |
55
+
56
+
57
  ### Framework versions
58
 
59
  - Transformers 4.38.2
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "bert-base-uncased",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
@@ -18,6 +18,7 @@
18
  "num_hidden_layers": 12,
19
  "pad_token_id": 0,
20
  "position_embedding_type": "absolute",
 
21
  "torch_dtype": "float32",
22
  "transformers_version": "4.38.2",
23
  "type_vocab_size": 2,
 
1
  {
2
+ "_name_or_path": "zhuchi76/bert-finetuned-sst2",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
 
18
  "num_hidden_layers": 12,
19
  "pad_token_id": 0,
20
  "position_embedding_type": "absolute",
21
+ "problem_type": "single_label_classification",
22
  "torch_dtype": "float32",
23
  "transformers_version": "4.38.2",
24
  "type_vocab_size": 2,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1c2bcc9c784b1eeef67b868b192e218a837e399f6fa8e404bf6af7c7a003f377
3
  size 437958648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d68ad8898308ab35cd494482447172df0d09fcec03ed0f09b3d6a17cc375aeae
3
  size 437958648
runs/Mar22_18-30-48_arg10/events.out.tfevents.1711103458.arg10.654.1 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8ac688a3ec2b164a8f900479d45c26d40e5a67231aa64ee2041a8f0d5c96b7a7
3
- size 5990
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58d4678254f63679b764d36323671c47e265ba654a0619d016c79dc64ef53a0d
3
+ size 129
runs/Mar22_18-30-48_arg10/events.out.tfevents.1711103540.arg10.654.2 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:58dda2bcd4e52bef692da44a38ff6959a906214911f87028e6f261373438cb32
3
- size 6081
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80c9743a041fb1ea907b0d1ae5e141381b1514d7d60c6e916104283698a09eed
3
+ size 129
runs/Mar22_18-45-31_arg10/events.out.tfevents.1711104337.arg10.654.3 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2da386250ed2b9442e78dea5a5e7544509b52e06a2e37061a1446673cbeb0feb
3
- size 6114
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e4ddf3b9a348a4e28e24518215ac7cb8904d733d22bea8778d2624e3321897c
3
+ size 129
runs/Mar22_18-46-25_arg10/events.out.tfevents.1711104401.arg10.654.4 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9e98f211c241fe9fd434716b28bcfb7da0c55a82a5bb81947ba9a3f766d3df64
3
- size 6023
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:807eaa0d067a681b68e9f41caedf616845a833a4431ad1de5c0ef701e93230c8
3
+ size 129
runs/Mar23_16-51-42_arg10/events.out.tfevents.1711183904.arg10.44500.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5dc5aea3910632490dd4ffd4dba7a8ed1bb45e85a795a51aae9b800d0558873d
3
- size 6023
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7b0aea8ceb97d24ef7920fcd876fdfaf0f7a3bf60cbc4a9292c1a1ce971a1c9
3
+ size 129
runs/Mar23_17-08-45_arg10/events.out.tfevents.1711184931.arg10.44500.1 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:df6470d8936a7b8da54244103aa202bce0a88fb45a54bd0c34aff7ea83fa12ac
3
- size 6081
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e7c82ee0b4ad4d5aa4f921428f1b341222d9a7397877ff82445eb94c667fe11
3
+ size 129
runs/Mar23_18-37-39_arg10/events.out.tfevents.1711190262.arg10.48308.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c00b091165bcd81cf79c29e8bc5c588794962526db118c86e3c6ef316e8bd501
3
+ size 5908
special_tokens_map.json CHANGED
@@ -1,7 +1,37 @@
1
  {
2
- "cls_token": "[CLS]",
3
- "mask_token": "[MASK]",
4
- "pad_token": "[PAD]",
5
- "sep_token": "[SEP]",
6
- "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  }
 
1
  {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
  }
tokenizer.json CHANGED
@@ -1,6 +1,11 @@
1
  {
2
  "version": "1.0",
3
- "truncation": null,
 
 
 
 
 
4
  "padding": null,
5
  "added_tokens": [
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
  {
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ef90cb7dbb00bc46d099462ce14848784860114f9dfc35a4dd57683c84a4b940
3
  size 4920
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb1ab82f8e222852fe47687e5a738a4f6b4ab5cebec0f0fdb3fbef2290b4f9f1
3
  size 4920