Instructions to use whitedevil0089devil/Cyber_bot_squad2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use whitedevil0089devil/Cyber_bot_squad2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="whitedevil0089devil/Cyber_bot_squad2")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("whitedevil0089devil/Cyber_bot_squad2") model = AutoModelForSequenceClassification.from_pretrained("whitedevil0089devil/Cyber_bot_squad2") - Notebooks
- Google Colab
- Kaggle
| { | |
| "best_global_step": 150, | |
| "best_metric": 0.9915354168771638, | |
| "best_model_checkpoint": "/content/drive/MyDrive/model/Roberta_Squad/roberta_Squad/checkpoint-150", | |
| "epoch": 0.11252813203300825, | |
| "eval_steps": 150, | |
| "global_step": 150, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 0.0007501875468867217, | |
| "grad_norm": 27.303098678588867, | |
| "learning_rate": 0.0, | |
| "loss": 1.1906, | |
| "step": 1 | |
| }, | |
| { | |
| "epoch": 0.037509377344336084, | |
| "grad_norm": 17.193105697631836, | |
| "learning_rate": 8.997188378631678e-07, | |
| "loss": 1.0245, | |
| "step": 50 | |
| }, | |
| { | |
| "epoch": 0.07501875468867217, | |
| "grad_norm": 0.9530491232872009, | |
| "learning_rate": 1.8369259606373011e-06, | |
| "loss": 0.2468, | |
| "step": 100 | |
| }, | |
| { | |
| "epoch": 0.11252813203300825, | |
| "grad_norm": 0.649541974067688, | |
| "learning_rate": 2.7741330834114345e-06, | |
| "loss": 0.0702, | |
| "step": 150 | |
| }, | |
| { | |
| "epoch": 0.11252813203300825, | |
| "eval_accuracy": 0.9943516121440339, | |
| "eval_f1_macro": 0.24929195185272598, | |
| "eval_f1_min": 0.0, | |
| "eval_f1_std": 0.4317863265269357, | |
| "eval_f1_weighted": 0.9915354168771638, | |
| "eval_loss": 0.038926418870687485, | |
| "eval_runtime": 35.4512, | |
| "eval_samples_per_second": 119.855, | |
| "eval_steps_per_second": 3.752, | |
| "step": 150 | |
| } | |
| ], | |
| "logging_steps": 50, | |
| "max_steps": 10664, | |
| "num_input_tokens_seen": 0, | |
| "num_train_epochs": 8, | |
| "save_steps": 150, | |
| "stateful_callbacks": { | |
| "EarlyStoppingCallback": { | |
| "args": { | |
| "early_stopping_patience": 4, | |
| "early_stopping_threshold": 0.0005 | |
| }, | |
| "attributes": { | |
| "early_stopping_patience_counter": 0 | |
| } | |
| }, | |
| "TrainerControl": { | |
| "args": { | |
| "should_epoch_stop": false, | |
| "should_evaluate": false, | |
| "should_log": false, | |
| "should_save": true, | |
| "should_training_stop": false | |
| }, | |
| "attributes": {} | |
| } | |
| }, | |
| "total_flos": 2525934167654400.0, | |
| "train_batch_size": 32, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |