Training in progress, epoch 1, checkpoint
Browse files
last-checkpoint/config.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "answerdotai/ModernBERT-base",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"ModernBertForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_bias": false,
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"bos_token_id": 50281,
|
| 9 |
+
"classifier_activation": "gelu",
|
| 10 |
+
"classifier_bias": false,
|
| 11 |
+
"classifier_dropout": 0.0,
|
| 12 |
+
"classifier_pooling": "mean",
|
| 13 |
+
"cls_token_id": 50281,
|
| 14 |
+
"decoder_bias": true,
|
| 15 |
+
"deterministic_flash_attn": false,
|
| 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": "no",
|
| 25 |
+
"1": "undetermined",
|
| 26 |
+
"2": "yes"
|
| 27 |
+
},
|
| 28 |
+
"initializer_cutoff_factor": 2.0,
|
| 29 |
+
"initializer_range": 0.02,
|
| 30 |
+
"intermediate_size": 1152,
|
| 31 |
+
"label2id": {
|
| 32 |
+
"no": 0,
|
| 33 |
+
"undetermined": 1,
|
| 34 |
+
"yes": 2
|
| 35 |
+
},
|
| 36 |
+
"layer_norm_eps": 1e-05,
|
| 37 |
+
"local_attention": 128,
|
| 38 |
+
"local_rope_theta": 10000.0,
|
| 39 |
+
"max_position_embeddings": 8192,
|
| 40 |
+
"mlp_bias": false,
|
| 41 |
+
"mlp_dropout": 0.0,
|
| 42 |
+
"model_type": "modernbert",
|
| 43 |
+
"norm_bias": false,
|
| 44 |
+
"norm_eps": 1e-05,
|
| 45 |
+
"num_attention_heads": 12,
|
| 46 |
+
"num_hidden_layers": 22,
|
| 47 |
+
"pad_token_id": 50283,
|
| 48 |
+
"position_embedding_type": "absolute",
|
| 49 |
+
"problem_type": "single_label_classification",
|
| 50 |
+
"reference_compile": false,
|
| 51 |
+
"repad_logits_with_grad": false,
|
| 52 |
+
"sep_token_id": 50282,
|
| 53 |
+
"sparse_pred_ignore_index": -100,
|
| 54 |
+
"sparse_prediction": false,
|
| 55 |
+
"torch_dtype": "float32",
|
| 56 |
+
"transformers_version": "4.48.0",
|
| 57 |
+
"vocab_size": 50368
|
| 58 |
+
}
|
last-checkpoint/model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a0d9be2ee4fe246d396563e2a126823bce24d0bac36724e39911d291d21486e
|
| 3 |
+
size 598442860
|
last-checkpoint/optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f6b65de6a9faadb4a9a37ed3f7fd7699ac6871c6ff49a5775338512bc7058ee
|
| 3 |
+
size 1196973562
|
last-checkpoint/rng_state.pth
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1ff264f99d31b522cc7e2a4eac9d38606d0c58a34c0adc74d71e0ca8b371dc36
|
| 3 |
+
size 14244
|
last-checkpoint/scheduler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:847b40fb716ee4f9882d47a8258730315aa00f7de1530a02ae88c9af11fa90aa
|
| 3 |
+
size 1064
|
last-checkpoint/trainer_state.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"best_metric": 0.2555762427123016,
|
| 3 |
+
"best_model_checkpoint": "modernbert-medical-classifier/checkpoint-92",
|
| 4 |
+
"epoch": 1.0,
|
| 5 |
+
"eval_steps": 500,
|
| 6 |
+
"global_step": 92,
|
| 7 |
+
"is_hyper_param_search": false,
|
| 8 |
+
"is_local_process_zero": true,
|
| 9 |
+
"is_world_process_zero": true,
|
| 10 |
+
"log_history": [
|
| 11 |
+
{
|
| 12 |
+
"epoch": 1.0,
|
| 13 |
+
"eval_f1": 0.2555762427123016,
|
| 14 |
+
"eval_loss": 1.1453216075897217,
|
| 15 |
+
"eval_runtime": 7.2906,
|
| 16 |
+
"eval_samples_per_second": 12.619,
|
| 17 |
+
"eval_steps_per_second": 3.155,
|
| 18 |
+
"step": 92
|
| 19 |
+
}
|
| 20 |
+
],
|
| 21 |
+
"logging_steps": 100,
|
| 22 |
+
"max_steps": 2300,
|
| 23 |
+
"num_input_tokens_seen": 0,
|
| 24 |
+
"num_train_epochs": 25,
|
| 25 |
+
"save_steps": 500,
|
| 26 |
+
"stateful_callbacks": {
|
| 27 |
+
"TrainerControl": {
|
| 28 |
+
"args": {
|
| 29 |
+
"should_epoch_stop": false,
|
| 30 |
+
"should_evaluate": false,
|
| 31 |
+
"should_log": false,
|
| 32 |
+
"should_save": true,
|
| 33 |
+
"should_training_stop": false
|
| 34 |
+
},
|
| 35 |
+
"attributes": {}
|
| 36 |
+
}
|
| 37 |
+
},
|
| 38 |
+
"total_flos": 631604370618000.0,
|
| 39 |
+
"train_batch_size": 4,
|
| 40 |
+
"trial_name": null,
|
| 41 |
+
"trial_params": null
|
| 42 |
+
}
|
last-checkpoint/training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b1894affb275710623fc2571745c2dd34c9d362334bbf4e73ae7ff2ecc2cd7c5
|
| 3 |
+
size 5432
|