avinasht commited on
Commit
adff17b
·
verified ·
1 Parent(s): 50edb00

Acc0.8352059925093633, F10.8358883963513364 , Augmented with bert-base-uncased.csv, finetuned on bert-base-uncased

Browse files
Files changed (4) hide show
  1. README.md +75 -0
  2. config.json +37 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - precision
10
+ - recall
11
+ model-index:
12
+ - name: bert-base-uncased_bert-base-uncased
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # bert-base-uncased_bert-base-uncased
20
+
21
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.4173
24
+ - Accuracy: 0.8627
25
+ - F1: 0.8635
26
+ - Precision: 0.8672
27
+ - Recall: 0.8627
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 0.0001
47
+ - train_batch_size: 64
48
+ - eval_batch_size: 64
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - lr_scheduler_warmup_steps: 1000
53
+ - num_epochs: 25
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
59
+ | 0.894 | 1.0 | 91 | 0.8435 | 0.6568 | 0.6583 | 0.6624 | 0.6568 |
60
+ | 0.6269 | 2.0 | 182 | 0.6009 | 0.7738 | 0.7765 | 0.7942 | 0.7738 |
61
+ | 0.4109 | 3.0 | 273 | 0.4567 | 0.8253 | 0.8256 | 0.8262 | 0.8253 |
62
+ | 0.2831 | 4.0 | 364 | 0.4173 | 0.8627 | 0.8635 | 0.8672 | 0.8627 |
63
+ | 0.2121 | 5.0 | 455 | 0.4562 | 0.8424 | 0.8396 | 0.8457 | 0.8424 |
64
+ | 0.1212 | 6.0 | 546 | 0.5369 | 0.8502 | 0.8491 | 0.8502 | 0.8502 |
65
+ | 0.116 | 7.0 | 637 | 0.5242 | 0.8502 | 0.8487 | 0.8528 | 0.8502 |
66
+ | 0.0976 | 8.0 | 728 | 0.5847 | 0.8487 | 0.8482 | 0.8486 | 0.8487 |
67
+ | 0.1313 | 9.0 | 819 | 0.5216 | 0.8440 | 0.8435 | 0.8442 | 0.8440 |
68
+
69
+
70
+ ### Framework versions
71
+
72
+ - Transformers 4.37.0
73
+ - Pytorch 2.1.2
74
+ - Datasets 2.1.0
75
+ - Tokenizers 0.15.1
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "LABEL_0",
14
+ "1": "LABEL_1",
15
+ "2": "LABEL_2"
16
+ },
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "LABEL_0": 0,
21
+ "LABEL_1": 1,
22
+ "LABEL_2": 2
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "max_position_embeddings": 512,
26
+ "model_type": "bert",
27
+ "num_attention_heads": 12,
28
+ "num_hidden_layers": 12,
29
+ "pad_token_id": 0,
30
+ "position_embedding_type": "absolute",
31
+ "problem_type": "single_label_classification",
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.37.0",
34
+ "type_vocab_size": 2,
35
+ "use_cache": true,
36
+ "vocab_size": 30522
37
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d8a4db7516d5a9c0ea6ffee396a51d3b7b0b3fc3ff1cf8a3b75d0ab3abe6fb2
3
+ size 437961724
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e4164ba05677fec092d98b128fc1c0c68c95cac15655324c252072cb49ed181
3
+ size 4664