synapti commited on
Commit
e9202ac
·
verified ·
1 Parent(s): 8761f6a

End of training

Browse files
Files changed (4) hide show
  1. README.md +63 -0
  2. config.json +86 -0
  3. model.safetensors +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: answerdotai/ModernBERT-base
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: nci-technique-classifier-v2
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # nci-technique-classifier-v2
16
+
17
+ This model is a fine-tuned version of [answerdotai/ModernBERT-base](https://huggingface.co/answerdotai/ModernBERT-base) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 0.0810
20
+ - Micro F1: 0.8010
21
+ - Macro F1: 0.5416
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 2e-05
41
+ - train_batch_size: 16
42
+ - eval_batch_size: 16
43
+ - seed: 42
44
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 3
47
+ - mixed_precision_training: Native AMP
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Micro F1 | Macro F1 |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
53
+ | 0.0868 | 1.0 | 1224 | 0.0925 | 0.7615 | 0.2471 |
54
+ | 0.0783 | 2.0 | 2448 | 0.0834 | 0.7764 | 0.4156 |
55
+ | 0.0666 | 3.0 | 3672 | 0.0810 | 0.8010 | 0.5416 |
56
+
57
+
58
+ ### Framework versions
59
+
60
+ - Transformers 4.57.3
61
+ - Pytorch 2.9.1+cu128
62
+ - Datasets 4.4.1
63
+ - Tokenizers 0.22.1
config.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ModernBertForSequenceClassification"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 50281,
8
+ "classifier_activation": "gelu",
9
+ "classifier_bias": false,
10
+ "classifier_dropout": 0.0,
11
+ "classifier_pooling": "mean",
12
+ "cls_token_id": 50281,
13
+ "decoder_bias": true,
14
+ "deterministic_flash_attn": false,
15
+ "dtype": "float32",
16
+ "embedding_dropout": 0.0,
17
+ "eos_token_id": 50282,
18
+ "global_attn_every_n_layers": 3,
19
+ "global_rope_theta": 160000.0,
20
+ "gradient_checkpointing": false,
21
+ "hidden_activation": "gelu",
22
+ "hidden_size": 768,
23
+ "id2label": {
24
+ "0": "LABEL_0",
25
+ "1": "LABEL_1",
26
+ "2": "LABEL_2",
27
+ "3": "LABEL_3",
28
+ "4": "LABEL_4",
29
+ "5": "LABEL_5",
30
+ "6": "LABEL_6",
31
+ "7": "LABEL_7",
32
+ "8": "LABEL_8",
33
+ "9": "LABEL_9",
34
+ "10": "LABEL_10",
35
+ "11": "LABEL_11",
36
+ "12": "LABEL_12",
37
+ "13": "LABEL_13",
38
+ "14": "LABEL_14",
39
+ "15": "LABEL_15",
40
+ "16": "LABEL_16",
41
+ "17": "LABEL_17"
42
+ },
43
+ "initializer_cutoff_factor": 2.0,
44
+ "initializer_range": 0.02,
45
+ "intermediate_size": 1152,
46
+ "label2id": {
47
+ "LABEL_0": 0,
48
+ "LABEL_1": 1,
49
+ "LABEL_10": 10,
50
+ "LABEL_11": 11,
51
+ "LABEL_12": 12,
52
+ "LABEL_13": 13,
53
+ "LABEL_14": 14,
54
+ "LABEL_15": 15,
55
+ "LABEL_16": 16,
56
+ "LABEL_17": 17,
57
+ "LABEL_2": 2,
58
+ "LABEL_3": 3,
59
+ "LABEL_4": 4,
60
+ "LABEL_5": 5,
61
+ "LABEL_6": 6,
62
+ "LABEL_7": 7,
63
+ "LABEL_8": 8,
64
+ "LABEL_9": 9
65
+ },
66
+ "layer_norm_eps": 1e-05,
67
+ "local_attention": 128,
68
+ "local_rope_theta": 10000.0,
69
+ "max_position_embeddings": 8192,
70
+ "mlp_bias": false,
71
+ "mlp_dropout": 0.0,
72
+ "model_type": "modernbert",
73
+ "norm_bias": false,
74
+ "norm_eps": 1e-05,
75
+ "num_attention_heads": 12,
76
+ "num_hidden_layers": 22,
77
+ "pad_token_id": 50283,
78
+ "position_embedding_type": "absolute",
79
+ "problem_type": "multi_label_classification",
80
+ "repad_logits_with_grad": false,
81
+ "sep_token_id": 50282,
82
+ "sparse_pred_ignore_index": -100,
83
+ "sparse_prediction": false,
84
+ "transformers_version": "4.57.3",
85
+ "vocab_size": 50368
86
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8168bc165d063d864702086e28d90268a3a87354e5166eb58f410057707628c9
3
+ size 598489008
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a745a72764642aea90497fb13dc73cd904c4539f4fcba8495a16c4fce434d0b
3
+ size 5905