spyn4ch commited on
Commit
481bacd
·
verified ·
1 Parent(s): 9ffdf09

Trained BERT binary classifier

Browse files
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
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
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.1279
25
+ - Accuracy: 0.9748
26
+ - Precision: 0.9825
27
+ - Recall: 0.9655
28
+ - F1: 0.9739
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: 4
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
58
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
59
+ | 0.4681 | 1.0 | 30 | 0.3535 | 0.8824 | 0.8143 | 0.9828 | 0.8906 |
60
+ | 0.2283 | 2.0 | 60 | 0.1883 | 0.9412 | 0.9322 | 0.9483 | 0.9402 |
61
+ | 0.1144 | 3.0 | 90 | 0.1279 | 0.9748 | 0.9825 | 0.9655 | 0.9739 |
62
+ | 0.0695 | 4.0 | 120 | 0.1230 | 0.9580 | 0.9818 | 0.9310 | 0.9558 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.57.1
68
+ - Pytorch 2.8.0+cu126
69
+ - Datasets 4.0.0
70
+ - Tokenizers 0.22.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8a534f140df6ec5c8a9146d53043087fadecdf1be0fbe0fda64350acd212ec5b
3
  size 437958648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c31c022ae01b59a542a90244bc5f6364cc308868bc08ccae6b26cc56ce5ab52c
3
  size 437958648
runs/Nov09_19-02-05_45de8454a660/events.out.tfevents.1762714926.45de8454a660.464.2 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dd6a3a40f2df5ff96dfb59d2aea45ed0a96e21ec8dd740e0932ddb74264345ce
3
- size 7718
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2997c8259ac6a5d9cbf0c58ae965bb55daeb2c16f9720c9c87172c5658db2704
3
+ size 8066
runs/Nov09_19-02-05_45de8454a660/events.out.tfevents.1762715132.45de8454a660.464.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e4c60b4d769bcf14f77a252b867fcd4bda51c9e620c055bdc3b4e1c099cbd9a
3
+ size 551