Instructions to use mgh6/TCS_MLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mgh6/TCS_MLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="mgh6/TCS_MLM")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("mgh6/TCS_MLM") model = AutoModelForMaskedLM.from_pretrained("mgh6/TCS_MLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 2500, checkpoint
Browse files- last-checkpoint/model.safetensors +1 -1
- last-checkpoint/optimizer.pt +1 -1
- last-checkpoint/rng_state_0.pth +1 -1
- last-checkpoint/rng_state_1.pth +1 -1
- last-checkpoint/rng_state_2.pth +1 -1
- last-checkpoint/rng_state_3.pth +1 -1
- last-checkpoint/scheduler.pt +1 -1
- last-checkpoint/trainer_state.json +19 -4
last-checkpoint/model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 136000488
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf111968ecfd2182c79cddf389aace292b624f4a12fdb0bf19c9d0af2659062c
|
| 3 |
size 136000488
|
last-checkpoint/optimizer.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 268176506
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3804765c23fc480a9bc5293bd84544675f9d46fa8eb789519d64c12c10c72487
|
| 3 |
size 268176506
|
last-checkpoint/rng_state_0.pth
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 15024
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:552f53b4bfd8ff78acb22151277476df50231d55d234625cfa40edaa0bf9d3a3
|
| 3 |
size 15024
|
last-checkpoint/rng_state_1.pth
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 15024
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:50f943f1eeef7f7e5f3f5e29d148df316e616bd2fd831bac81ced32f2548fecd
|
| 3 |
size 15024
|
last-checkpoint/rng_state_2.pth
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 15024
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cf49525bf634d756188799e8cd0d7b30d96b1892be840b29e954ce7ba14f5594
|
| 3 |
size 15024
|
last-checkpoint/rng_state_3.pth
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 15024
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d607d560bac1029ae756b5a3cdb456902c25b1aaa01de4add5870301e06f0d06
|
| 3 |
size 15024
|
last-checkpoint/scheduler.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1064
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6beb8fe2c3ec1351bc7066a891a1abcb74c93ada85504874b2e06ac13e8f908
|
| 3 |
size 1064
|
last-checkpoint/trainer_state.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
{
|
| 2 |
"best_metric": 0.8264986872673035,
|
| 3 |
"best_model_checkpoint": "mgh6/TCS_MLM/checkpoint-2400",
|
| 4 |
-
"epoch": 3.
|
| 5 |
"eval_steps": 100,
|
| 6 |
-
"global_step":
|
| 7 |
"is_hyper_param_search": false,
|
| 8 |
"is_local_process_zero": true,
|
| 9 |
"is_world_process_zero": true,
|
|
@@ -367,6 +367,21 @@
|
|
| 367 |
"eval_samples_per_second": 893.972,
|
| 368 |
"eval_steps_per_second": 3.612,
|
| 369 |
"step": 2400
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 370 |
}
|
| 371 |
],
|
| 372 |
"logging_steps": 100,
|
|
@@ -381,7 +396,7 @@
|
|
| 381 |
"early_stopping_threshold": 0.0
|
| 382 |
},
|
| 383 |
"attributes": {
|
| 384 |
-
"early_stopping_patience_counter":
|
| 385 |
}
|
| 386 |
},
|
| 387 |
"TrainerControl": {
|
|
@@ -395,7 +410,7 @@
|
|
| 395 |
"attributes": {}
|
| 396 |
}
|
| 397 |
},
|
| 398 |
-
"total_flos":
|
| 399 |
"train_batch_size": 64,
|
| 400 |
"trial_name": null,
|
| 401 |
"trial_params": null
|
|
|
|
| 1 |
{
|
| 2 |
"best_metric": 0.8264986872673035,
|
| 3 |
"best_model_checkpoint": "mgh6/TCS_MLM/checkpoint-2400",
|
| 4 |
+
"epoch": 3.3467202141900936,
|
| 5 |
"eval_steps": 100,
|
| 6 |
+
"global_step": 2500,
|
| 7 |
"is_hyper_param_search": false,
|
| 8 |
"is_local_process_zero": true,
|
| 9 |
"is_world_process_zero": true,
|
|
|
|
| 367 |
"eval_samples_per_second": 893.972,
|
| 368 |
"eval_steps_per_second": 3.612,
|
| 369 |
"step": 2400
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"epoch": 3.3467202141900936,
|
| 373 |
+
"grad_norm": 0.21075735986232758,
|
| 374 |
+
"learning_rate": 0.0006653279785809906,
|
| 375 |
+
"loss": 0.814,
|
| 376 |
+
"step": 2500
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"epoch": 3.3467202141900936,
|
| 380 |
+
"eval_loss": 0.8332136869430542,
|
| 381 |
+
"eval_runtime": 6.3889,
|
| 382 |
+
"eval_samples_per_second": 890.924,
|
| 383 |
+
"eval_steps_per_second": 3.6,
|
| 384 |
+
"step": 2500
|
| 385 |
}
|
| 386 |
],
|
| 387 |
"logging_steps": 100,
|
|
|
|
| 396 |
"early_stopping_threshold": 0.0
|
| 397 |
},
|
| 398 |
"attributes": {
|
| 399 |
+
"early_stopping_patience_counter": 1
|
| 400 |
}
|
| 401 |
},
|
| 402 |
"TrainerControl": {
|
|
|
|
| 410 |
"attributes": {}
|
| 411 |
}
|
| 412 |
},
|
| 413 |
+
"total_flos": 9.07806769152e+16,
|
| 414 |
"train_batch_size": 64,
|
| 415 |
"trial_name": null,
|
| 416 |
"trial_params": null
|