JoshuaAAX commited on
Commit
1a7f06f
·
verified ·
1 Parent(s): 13a782d

Training complete

Browse files
Files changed (4) hide show
  1. README.md +74 -0
  2. config.json +32 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: bert-large-cased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: bert-large-cased-binary-classification
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # bert-large-cased-binary-classification
18
+
19
+ This model is a fine-tuned version of [bert-large-cased](https://huggingface.co/bert-large-cased) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 1.1857
22
+ - Accuracy: 0.7548
23
+ - F1 Macro: 0.7312
24
+ - Precision Macro: 0.7580
25
+ - Recall Macro: 0.7246
26
+ - Auc: 0.7883
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 2e-05
46
+ - train_batch_size: 16
47
+ - eval_batch_size: 16
48
+ - seed: 42
49
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 10
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | Precision Macro | Recall Macro | Auc |
56
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:---------------:|:------------:|:------:|
57
+ | No log | 1.0 | 79 | 0.6805 | 0.5987 | 0.3818 | 0.7987 | 0.5039 | 0.6079 |
58
+ | No log | 2.0 | 158 | 0.6254 | 0.6497 | 0.6490 | 0.6611 | 0.6655 | 0.7395 |
59
+ | No log | 3.0 | 237 | 0.6803 | 0.7166 | 0.6941 | 0.7087 | 0.6900 | 0.7563 |
60
+ | No log | 4.0 | 316 | 0.7502 | 0.7166 | 0.7106 | 0.7093 | 0.7153 | 0.7784 |
61
+ | No log | 5.0 | 395 | 1.1857 | 0.7548 | 0.7312 | 0.7580 | 0.7246 | 0.7883 |
62
+ | No log | 6.0 | 474 | 1.4866 | 0.7548 | 0.7312 | 0.7580 | 0.7246 | 0.7798 |
63
+ | 0.3165 | 7.0 | 553 | 1.5617 | 0.7420 | 0.7319 | 0.7322 | 0.7316 | 0.7829 |
64
+ | 0.3165 | 8.0 | 632 | 1.6626 | 0.7452 | 0.7311 | 0.7366 | 0.7280 | 0.7762 |
65
+ | 0.3165 | 9.0 | 711 | 1.7303 | 0.7611 | 0.7423 | 0.7595 | 0.7363 | 0.7768 |
66
+ | 0.3165 | 10.0 | 790 | 1.7471 | 0.7452 | 0.7294 | 0.7376 | 0.7255 | 0.7765 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.57.1
72
+ - Pytorch 2.8.0+cu126
73
+ - Datasets 4.0.0
74
+ - Tokenizers 0.22.1
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "directionality": "bidi",
8
+ "dtype": "float32",
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 1024,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 4096,
15
+ "layer_norm_eps": 1e-12,
16
+ "max_position_embeddings": 512,
17
+ "model_type": "bert",
18
+ "num_attention_heads": 16,
19
+ "num_hidden_layers": 24,
20
+ "pad_token_id": 0,
21
+ "pooler_fc_size": 768,
22
+ "pooler_num_attention_heads": 12,
23
+ "pooler_num_fc_layers": 3,
24
+ "pooler_size_per_head": 128,
25
+ "pooler_type": "first_token_transform",
26
+ "position_embedding_type": "absolute",
27
+ "problem_type": "single_label_classification",
28
+ "transformers_version": "4.57.1",
29
+ "type_vocab_size": 2,
30
+ "use_cache": true,
31
+ "vocab_size": 28996
32
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc70d89d9d1727fb099541092ea4351299c6ed695e82d2145fa3cb8612f63403
3
+ size 1334372264
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4977855906dd39e995d5574e2f494520745c180f1f9aa43d62e1d0592f12520
3
+ size 5777