Instructions to use venkatarajendra/multi-label-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use venkatarajendra/multi-label-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="venkatarajendra/multi-label-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("venkatarajendra/multi-label-classification") model = AutoModelForSequenceClassification.from_pretrained("venkatarajendra/multi-label-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download trainer_state.json from venkatarajendra/multi-label-classification: direct link, hf CLI and curl.
- Browser
- Download file 1.04 kB
-
https://huggingface.co/venkatarajendra/multi-label-classification/resolve/main/trainer_state.json
- Command line
-
hf download hf://venkatarajendra/multi-label-classification/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/venkatarajendra/multi-label-classification/resolve/main/trainer_state.json
1.04 kB
| { | |
| "best_metric": 0.1292862743139267, | |
| "best_model_checkpoint": "multi_label_classification/checkpoint-920", | |
| "epoch": 1.0, | |
| "eval_steps": 500, | |
| "global_step": 920, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 0.54, | |
| "grad_norm": 0.988656222820282, | |
| "learning_rate": 9.130434782608697e-06, | |
| "loss": 0.1546, | |
| "step": 500 | |
| }, | |
| { | |
| "epoch": 1.0, | |
| "eval_accuracy": 0.9551181102362205, | |
| "eval_f1": 0.48338368580060426, | |
| "eval_loss": 0.1292862743139267, | |
| "eval_precision": 0.712166172106825, | |
| "eval_recall": 0.36585365853658536, | |
| "eval_runtime": 7.3716, | |
| "eval_samples_per_second": 51.685, | |
| "eval_steps_per_second": 17.228, | |
| "step": 920 | |
| } | |
| ], | |
| "logging_steps": 500, | |
| "max_steps": 920, | |
| "num_input_tokens_seen": 0, | |
| "num_train_epochs": 1, | |
| "save_steps": 500, | |
| "total_flos": 717687827063532.0, | |
| "train_batch_size": 3, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |