Amrit Puhan commited on
Commit
87e41e7
1 Parent(s): 2eb48b7

End of training

Browse files
Files changed (2) hide show
  1. README.md +65 -64
  2. model.safetensors +1 -1
README.md CHANGED
@@ -1,64 +1,65 @@
1
- ---
2
- license: apache-2.0
3
- base_model: bert-base-uncased
4
- tags:
5
- - generated_from_trainer
6
- datasets:
7
- - swag
8
- metrics:
9
- - accuracy
10
- model-index:
11
- - name: fine-tuned-bert-base-uncased-swag
12
- results: []
13
- ---
14
-
15
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
- should probably proofread and complete it, then remove this comment. -->
17
-
18
- # fine-tuned-bert-base-uncased-swag
19
-
20
- This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the swag dataset.
21
- It achieves the following results on the evaluation set:
22
- - Loss: 1.0282
23
- - Accuracy: 0.7885
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: 16
44
- - eval_batch_size: 16
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
49
-
50
- ### Training results
51
-
52
- | Training Loss | Epoch | Step | Validation Loss | Accuracy |
53
- |:-------------:|:-----:|:-----:|:---------------:|:--------:|
54
- | 0.7622 | 1.0 | 4597 | 0.6041 | 0.7613 |
55
- | 0.3822 | 2.0 | 9194 | 0.6282 | 0.7823 |
56
- | 0.1366 | 3.0 | 13791 | 1.0282 | 0.7885 |
57
-
58
-
59
- ### Framework versions
60
-
61
- - Transformers 4.41.2
62
- - Pytorch 2.3.0+cu121
63
- - Datasets 2.19.2
64
- - Tokenizers 0.19.1
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: bert-base-uncased
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - swag
8
+ metrics:
9
+ - accuracy
10
+ model-index:
11
+ - name: fine-tuned-bert-base-uncased-swag
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # fine-tuned-bert-base-uncased-swag
19
+
20
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the swag dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.7481
23
+ - Accuracy: 0.8095
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: 1.5e-05
43
+ - train_batch_size: 16
44
+ - eval_batch_size: 16
45
+ - seed: 42
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 4
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
53
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|
54
+ | 0.7255 | 1.0 | 4597 | 0.5368 | 0.7954 |
55
+ | 0.4771 | 2.0 | 9194 | 0.5097 | 0.8066 |
56
+ | 0.2964 | 3.0 | 13791 | 0.6103 | 0.8062 |
57
+ | 0.2029 | 4.0 | 18388 | 0.7481 | 0.8095 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - Transformers 4.41.2
63
+ - Pytorch 1.11.0
64
+ - Datasets 2.19.1
65
+ - Tokenizers 0.19.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ae0ec0c0309531c5986c6898b85096b89cc152d8083ea21edfb5dab2866271b9
3
  size 437955572
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e82381f9e12467541e52474093082c02a40d78d918516687f58d50a184299675
3
  size 437955572