jhonalevc1995 commited on
Commit
7ceb614
1 Parent(s): 9b0d957

End of training

Browse files
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: bert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: BERT-political_bias-finetune
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # BERT-political_bias-finetune
21
+
22
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.0945
25
+ - Accuracy: 0.9890
26
+ - Precision: 0.9962
27
+ - Recall: 0.9875
28
+ - F1: 0.9918
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 5e-05
48
+ - train_batch_size: 4
49
+ - eval_batch_size: 4
50
+ - seed: 0
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 3
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
58
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
59
+ | 0.2651 | 0.1834 | 500 | 0.5210 | 0.8885 | 0.9981 | 0.8363 | 0.9101 |
60
+ | 0.1807 | 0.3668 | 1000 | 0.1013 | 0.9846 | 0.9913 | 0.9859 | 0.9885 |
61
+ | 0.0872 | 0.5503 | 1500 | 0.0693 | 0.9879 | 0.9860 | 0.9962 | 0.9911 |
62
+ | 0.0775 | 0.7337 | 2000 | 0.1155 | 0.9787 | 0.9961 | 0.9723 | 0.9840 |
63
+ | 0.0751 | 0.9171 | 2500 | 0.0530 | 0.9901 | 0.9945 | 0.9908 | 0.9926 |
64
+ | 0.033 | 1.1005 | 3000 | 0.0505 | 0.9930 | 0.9956 | 0.9940 | 0.9948 |
65
+ | 0.0403 | 1.2839 | 3500 | 0.0447 | 0.9905 | 0.9908 | 0.9951 | 0.9929 |
66
+ | 0.0395 | 1.4674 | 4000 | 0.0857 | 0.9868 | 0.9967 | 0.9837 | 0.9901 |
67
+ | 0.0077 | 1.6508 | 4500 | 0.0708 | 0.9912 | 0.9903 | 0.9967 | 0.9935 |
68
+ | 0.0342 | 1.8342 | 5000 | 0.0945 | 0.9890 | 0.9962 | 0.9875 | 0.9918 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.44.2
74
+ - Pytorch 2.4.1+cu121
75
+ - Datasets 3.0.1
76
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
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.44.2",
24
+ "type_vocab_size": 2,
25
+ "use_cache": true,
26
+ "vocab_size": 30522
27
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a372310a27db7d9ef396b3c57dc3e48af6145878e0f2bcb6bd7265d39fd7021
3
+ size 437958648
runs/Sep26_17-59-53_4907bdbe5530/events.out.tfevents.1727373601.4907bdbe5530.874.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c346b0839536abc88b31bd02e60ae766601c7f323ac15e2380ae2e19620a95a9
3
+ size 12115
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14aabb23ae68ce1cccea90842cb6e2e6d59c930a7a035b5cceae133c82c260fd
3
+ size 5176