spyn4ch commited on
Commit
dd4101f
·
verified ·
1 Parent(s): 51e9b8f

Trained BERT binary classifier

Browse files
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-binary-clf-all
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-binary-clf-all
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.0600
25
+ - Accuracy: 0.9902
26
+ - Precision: 0.9964
27
+ - Recall: 0.9833
28
+ - F1: 0.9898
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: 2e-05
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 16
50
+ - seed: 42
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 8
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
59
+ | 0.1287 | 1.0 | 433 | 0.0515 | 0.9884 | 0.9811 | 0.9952 | 0.9881 |
60
+ | 0.034 | 2.0 | 866 | 0.0732 | 0.9827 | 0.9867 | 0.9773 | 0.9820 |
61
+ | 0.0163 | 3.0 | 1299 | 0.0600 | 0.9902 | 0.9964 | 0.9833 | 0.9898 |
62
+ | 0.0087 | 4.0 | 1732 | 0.0842 | 0.9861 | 0.9927 | 0.9785 | 0.9855 |
63
+ | 0.0024 | 5.0 | 2165 | 0.0748 | 0.9884 | 0.9811 | 0.9952 | 0.9881 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.57.1
69
+ - Pytorch 2.8.0+cu126
70
+ - Datasets 4.0.0
71
+ - Tokenizers 0.22.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cbaef6e07481bfeab1e8f7ca48f27a14aed84057104fadef3a4edf2d5f55f71a
3
  size 437958648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8d7ca555a6d0e2afc3fe7a75ee71e3eed4cc257296f8a3a02c0648c7d1401e7
3
  size 437958648
runs/Nov18_11-06-40_f3de2fdcbfe0/events.out.tfevents.1763464034.f3de2fdcbfe0.900.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:475197f180129497c26f534c68a779d65d01401ada9713279e4585d82a0353f4
3
- size 7774
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c87c56e0e06d6829ac2b768f50d65a82d4b2b5a7361bde4514690c1086ca723
3
+ size 8811
runs/Nov18_11-06-40_f3de2fdcbfe0/events.out.tfevents.1763466096.f3de2fdcbfe0.900.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfb66ac7fd88a21cca65cf19b10b0c2066a656c202afb66824a419782a181875
3
+ size 560