Text Classification
Transformers
TensorBoard
Safetensors
bert
Trained with AutoTrain
text-embeddings-inference
Instructions to use mserloth/v24 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mserloth/v24 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mserloth/v24")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mserloth/v24") model = AutoModelForSequenceClassification.from_pretrained("mserloth/v24", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download checkpoint-358/trainer_state.json from mserloth/v24: direct link, hf CLI and curl.
- Browser
- Download file 10.6 kB
-
https://huggingface.co/mserloth/v24/resolve/main/checkpoint-358/trainer_state.json
- Command line
-
hf download hf://mserloth/v24/checkpoint-358/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/mserloth/v24/resolve/main/checkpoint-358/trainer_state.json
10.6 kB
Invalid JSON:Unexpected token 'I', ..."ad_norm": Infinity,
"... is not valid JSON
| { | |
| "best_metric": 0.5813801884651184, | |
| "best_model_checkpoint": "v24/checkpoint-358", | |
| "epoch": 2.0, | |
| "eval_steps": 500, | |
| "global_step": 358, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 0.03910614525139665, | |
| "grad_norm": Infinity, | |
| "learning_rate": 1.6666666666666667e-06, | |
| "loss": 2.7904, | |
| "step": 7 | |
| }, | |
| { | |
| "epoch": 0.0782122905027933, | |
| "grad_norm": 25.788576126098633, | |
| "learning_rate": 5.555555555555556e-06, | |
| "loss": 2.8667, | |
| "step": 14 | |
| }, | |
| { | |
| "epoch": 0.11731843575418995, | |
| "grad_norm": 81.24959564208984, | |
| "learning_rate": 9.444444444444445e-06, | |
| "loss": 1.4322, | |
| "step": 21 | |
| }, | |
| { | |
| "epoch": 0.1564245810055866, | |
| "grad_norm": 58.19857406616211, | |
| "learning_rate": 1.3333333333333333e-05, | |
| "loss": 1.3935, | |
| "step": 28 | |
| }, | |
| { | |
| "epoch": 0.19553072625698323, | |
| "grad_norm": 30.410076141357422, | |
| "learning_rate": 1.7222222222222224e-05, | |
| "loss": 1.8371, | |
| "step": 35 | |
| }, | |
| { | |
| "epoch": 0.2346368715083799, | |
| "grad_norm": 18.535837173461914, | |
| "learning_rate": 2.111111111111111e-05, | |
| "loss": 1.099, | |
| "step": 42 | |
| }, | |
| { | |
| "epoch": 0.2737430167597765, | |
| "grad_norm": 22.98031234741211, | |
| "learning_rate": 2.5e-05, | |
| "loss": 0.9875, | |
| "step": 49 | |
| }, | |
| { | |
| "epoch": 0.3128491620111732, | |
| "grad_norm": 11.425638198852539, | |
| "learning_rate": 2.8888888888888888e-05, | |
| "loss": 0.8133, | |
| "step": 56 | |
| }, | |
| { | |
| "epoch": 0.35195530726256985, | |
| "grad_norm": 5.045665264129639, | |
| "learning_rate": 3.277777777777778e-05, | |
| "loss": 0.8904, | |
| "step": 63 | |
| }, | |
| { | |
| "epoch": 0.39106145251396646, | |
| "grad_norm": 12.486892700195312, | |
| "learning_rate": 3.6666666666666666e-05, | |
| "loss": 0.7414, | |
| "step": 70 | |
| }, | |
| { | |
| "epoch": 0.4301675977653631, | |
| "grad_norm": 3.167890787124634, | |
| "learning_rate": 4.055555555555556e-05, | |
| "loss": 0.7626, | |
| "step": 77 | |
| }, | |
| { | |
| "epoch": 0.4692737430167598, | |
| "grad_norm": 6.028005123138428, | |
| "learning_rate": 4.4444444444444447e-05, | |
| "loss": 0.7398, | |
| "step": 84 | |
| }, | |
| { | |
| "epoch": 0.5083798882681564, | |
| "grad_norm": 35.28788375854492, | |
| "learning_rate": 4.8333333333333334e-05, | |
| "loss": 0.7538, | |
| "step": 91 | |
| }, | |
| { | |
| "epoch": 0.547486033519553, | |
| "grad_norm": 6.1644287109375, | |
| "learning_rate": 4.975155279503106e-05, | |
| "loss": 0.7904, | |
| "step": 98 | |
| }, | |
| { | |
| "epoch": 0.5865921787709497, | |
| "grad_norm": 4.832672595977783, | |
| "learning_rate": 4.93167701863354e-05, | |
| "loss": 0.6236, | |
| "step": 105 | |
| }, | |
| { | |
| "epoch": 0.6256983240223464, | |
| "grad_norm": 5.062296390533447, | |
| "learning_rate": 4.888198757763975e-05, | |
| "loss": 0.6016, | |
| "step": 112 | |
| }, | |
| { | |
| "epoch": 0.664804469273743, | |
| "grad_norm": 6.538865566253662, | |
| "learning_rate": 4.8447204968944106e-05, | |
| "loss": 0.683, | |
| "step": 119 | |
| }, | |
| { | |
| "epoch": 0.7039106145251397, | |
| "grad_norm": 12.783892631530762, | |
| "learning_rate": 4.801242236024845e-05, | |
| "loss": 0.5875, | |
| "step": 126 | |
| }, | |
| { | |
| "epoch": 0.7430167597765364, | |
| "grad_norm": 15.942752838134766, | |
| "learning_rate": 4.75776397515528e-05, | |
| "loss": 0.7539, | |
| "step": 133 | |
| }, | |
| { | |
| "epoch": 0.7821229050279329, | |
| "grad_norm": 12.102270126342773, | |
| "learning_rate": 4.714285714285714e-05, | |
| "loss": 0.6436, | |
| "step": 140 | |
| }, | |
| { | |
| "epoch": 0.8212290502793296, | |
| "grad_norm": 12.194900512695312, | |
| "learning_rate": 4.67080745341615e-05, | |
| "loss": 0.6753, | |
| "step": 147 | |
| }, | |
| { | |
| "epoch": 0.8603351955307262, | |
| "grad_norm": 4.499144554138184, | |
| "learning_rate": 4.627329192546584e-05, | |
| "loss": 0.6427, | |
| "step": 154 | |
| }, | |
| { | |
| "epoch": 0.8994413407821229, | |
| "grad_norm": 37.82847213745117, | |
| "learning_rate": 4.5838509316770186e-05, | |
| "loss": 0.5532, | |
| "step": 161 | |
| }, | |
| { | |
| "epoch": 0.9385474860335196, | |
| "grad_norm": 8.265608787536621, | |
| "learning_rate": 4.5403726708074534e-05, | |
| "loss": 0.6255, | |
| "step": 168 | |
| }, | |
| { | |
| "epoch": 0.9776536312849162, | |
| "grad_norm": 20.247652053833008, | |
| "learning_rate": 4.496894409937888e-05, | |
| "loss": 0.762, | |
| "step": 175 | |
| }, | |
| { | |
| "epoch": 1.0, | |
| "eval_accuracy": 0.6888888888888889, | |
| "eval_f1_macro": 0.6134364066324626, | |
| "eval_f1_micro": 0.6888888888888889, | |
| "eval_f1_weighted": 0.6556718302095907, | |
| "eval_loss": 0.632859468460083, | |
| "eval_precision_macro": 0.6388557048835793, | |
| "eval_precision_micro": 0.6888888888888889, | |
| "eval_precision_weighted": 0.7150407820890647, | |
| "eval_recall_macro": 0.7103749357986646, | |
| "eval_recall_micro": 0.6888888888888889, | |
| "eval_recall_weighted": 0.6888888888888889, | |
| "eval_runtime": 0.8352, | |
| "eval_samples_per_second": 377.136, | |
| "eval_steps_per_second": 23.945, | |
| "step": 179 | |
| }, | |
| { | |
| "epoch": 1.0167597765363128, | |
| "grad_norm": 13.096763610839844, | |
| "learning_rate": 4.453416149068323e-05, | |
| "loss": 0.6157, | |
| "step": 182 | |
| }, | |
| { | |
| "epoch": 1.0558659217877095, | |
| "grad_norm": 3.1911122798919678, | |
| "learning_rate": 4.409937888198758e-05, | |
| "loss": 0.4914, | |
| "step": 189 | |
| }, | |
| { | |
| "epoch": 1.094972067039106, | |
| "grad_norm": 4.951513767242432, | |
| "learning_rate": 4.366459627329193e-05, | |
| "loss": 0.6149, | |
| "step": 196 | |
| }, | |
| { | |
| "epoch": 1.1340782122905029, | |
| "grad_norm": 33.5722770690918, | |
| "learning_rate": 4.322981366459627e-05, | |
| "loss": 0.4134, | |
| "step": 203 | |
| }, | |
| { | |
| "epoch": 1.1731843575418994, | |
| "grad_norm": 14.286345481872559, | |
| "learning_rate": 4.279503105590063e-05, | |
| "loss": 0.6698, | |
| "step": 210 | |
| }, | |
| { | |
| "epoch": 1.2122905027932962, | |
| "grad_norm": 14.875500679016113, | |
| "learning_rate": 4.236024844720497e-05, | |
| "loss": 0.5168, | |
| "step": 217 | |
| }, | |
| { | |
| "epoch": 1.2513966480446927, | |
| "grad_norm": 12.584643363952637, | |
| "learning_rate": 4.192546583850932e-05, | |
| "loss": 0.4729, | |
| "step": 224 | |
| }, | |
| { | |
| "epoch": 1.2905027932960893, | |
| "grad_norm": 17.89870834350586, | |
| "learning_rate": 4.1490683229813665e-05, | |
| "loss": 0.5877, | |
| "step": 231 | |
| }, | |
| { | |
| "epoch": 1.329608938547486, | |
| "grad_norm": 21.653051376342773, | |
| "learning_rate": 4.105590062111801e-05, | |
| "loss": 0.5799, | |
| "step": 238 | |
| }, | |
| { | |
| "epoch": 1.3687150837988826, | |
| "grad_norm": 14.669210433959961, | |
| "learning_rate": 4.062111801242236e-05, | |
| "loss": 0.6727, | |
| "step": 245 | |
| }, | |
| { | |
| "epoch": 1.4078212290502794, | |
| "grad_norm": 48.661590576171875, | |
| "learning_rate": 4.018633540372671e-05, | |
| "loss": 0.3173, | |
| "step": 252 | |
| }, | |
| { | |
| "epoch": 1.446927374301676, | |
| "grad_norm": 9.906561851501465, | |
| "learning_rate": 3.9751552795031056e-05, | |
| "loss": 0.4626, | |
| "step": 259 | |
| }, | |
| { | |
| "epoch": 1.4860335195530725, | |
| "grad_norm": 10.801528930664062, | |
| "learning_rate": 3.9316770186335404e-05, | |
| "loss": 0.4253, | |
| "step": 266 | |
| }, | |
| { | |
| "epoch": 1.5251396648044693, | |
| "grad_norm": 9.928108215332031, | |
| "learning_rate": 3.888198757763976e-05, | |
| "loss": 0.4709, | |
| "step": 273 | |
| }, | |
| { | |
| "epoch": 1.564245810055866, | |
| "grad_norm": 14.68846321105957, | |
| "learning_rate": 3.84472049689441e-05, | |
| "loss": 0.6013, | |
| "step": 280 | |
| }, | |
| { | |
| "epoch": 1.6033519553072626, | |
| "grad_norm": 17.944059371948242, | |
| "learning_rate": 3.801242236024845e-05, | |
| "loss": 0.5292, | |
| "step": 287 | |
| }, | |
| { | |
| "epoch": 1.6424581005586592, | |
| "grad_norm": 18.032865524291992, | |
| "learning_rate": 3.7577639751552796e-05, | |
| "loss": 0.6594, | |
| "step": 294 | |
| }, | |
| { | |
| "epoch": 1.6815642458100557, | |
| "grad_norm": 17.491785049438477, | |
| "learning_rate": 3.7142857142857143e-05, | |
| "loss": 0.5479, | |
| "step": 301 | |
| }, | |
| { | |
| "epoch": 1.7206703910614525, | |
| "grad_norm": 6.0670084953308105, | |
| "learning_rate": 3.670807453416149e-05, | |
| "loss": 0.5482, | |
| "step": 308 | |
| }, | |
| { | |
| "epoch": 1.7597765363128492, | |
| "grad_norm": 8.272087097167969, | |
| "learning_rate": 3.627329192546584e-05, | |
| "loss": 0.6121, | |
| "step": 315 | |
| }, | |
| { | |
| "epoch": 1.7988826815642458, | |
| "grad_norm": 17.894323348999023, | |
| "learning_rate": 3.583850931677019e-05, | |
| "loss": 0.3687, | |
| "step": 322 | |
| }, | |
| { | |
| "epoch": 1.8379888268156424, | |
| "grad_norm": 11.107515335083008, | |
| "learning_rate": 3.5403726708074535e-05, | |
| "loss": 0.3551, | |
| "step": 329 | |
| }, | |
| { | |
| "epoch": 1.8770949720670391, | |
| "grad_norm": 12.939613342285156, | |
| "learning_rate": 3.496894409937889e-05, | |
| "loss": 0.5203, | |
| "step": 336 | |
| }, | |
| { | |
| "epoch": 1.916201117318436, | |
| "grad_norm": 11.045318603515625, | |
| "learning_rate": 3.453416149068323e-05, | |
| "loss": 0.5056, | |
| "step": 343 | |
| }, | |
| { | |
| "epoch": 1.9553072625698324, | |
| "grad_norm": 16.073732376098633, | |
| "learning_rate": 3.409937888198758e-05, | |
| "loss": 0.3774, | |
| "step": 350 | |
| }, | |
| { | |
| "epoch": 1.994413407821229, | |
| "grad_norm": 12.492730140686035, | |
| "learning_rate": 3.3664596273291926e-05, | |
| "loss": 0.5519, | |
| "step": 357 | |
| }, | |
| { | |
| "epoch": 2.0, | |
| "eval_accuracy": 0.7555555555555555, | |
| "eval_f1_macro": 0.7260922298411884, | |
| "eval_f1_micro": 0.7555555555555555, | |
| "eval_f1_weighted": 0.7572122427440394, | |
| "eval_loss": 0.5813801884651184, | |
| "eval_precision_macro": 0.8363530342788121, | |
| "eval_precision_micro": 0.7555555555555555, | |
| "eval_precision_weighted": 0.787079051704817, | |
| "eval_recall_macro": 0.6883138463397686, | |
| "eval_recall_micro": 0.7555555555555555, | |
| "eval_recall_weighted": 0.7555555555555555, | |
| "eval_runtime": 0.8436, | |
| "eval_samples_per_second": 373.395, | |
| "eval_steps_per_second": 23.708, | |
| "step": 358 | |
| } | |
| ], | |
| "logging_steps": 7, | |
| "max_steps": 895, | |
| "num_input_tokens_seen": 0, | |
| "num_train_epochs": 5, | |
| "save_steps": 500, | |
| "total_flos": 188389207093248.0, | |
| "train_batch_size": 8, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |