Run this model with HF Jobs
Run Kiriti-Ray/bert-finetuned-text-classification on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Kiriti-Ray/bert-finetuned-text-classification. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Kiriti-Ray/bert-finetuned-text-classification on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Kiriti-Ray/bert-finetuned-text-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kiriti-Ray/bert-finetuned-text-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Kiriti-Ray/bert-finetuned-text-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Kiriti-Ray/bert-finetuned-text-classification") model = AutoModelForSequenceClassification.from_pretrained("Kiriti-Ray/bert-finetuned-text-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download trainer_state.json from Kiriti-Ray/bert-finetuned-text-classification: direct link, hf CLI and curl.
- Browser
- Download file 1.34 kB
-
https://huggingface.co/Kiriti-Ray/bert-finetuned-text-classification/resolve/main/trainer_state.json
- Command line
-
hf download hf://Kiriti-Ray/bert-finetuned-text-classification/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/Kiriti-Ray/bert-finetuned-text-classification/resolve/main/trainer_state.json
1.34 kB
| { | |
| "best_global_step": null, | |
| "best_metric": null, | |
| "best_model_checkpoint": null, | |
| "epoch": 3.0, | |
| "eval_steps": 500, | |
| "global_step": 1830, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 0.819672131147541, | |
| "grad_norm": 20.611000061035156, | |
| "learning_rate": 3.6366120218579236e-05, | |
| "loss": 0.28041619873046875, | |
| "step": 500 | |
| }, | |
| { | |
| "epoch": 1.639344262295082, | |
| "grad_norm": 0.007662269286811352, | |
| "learning_rate": 2.2704918032786886e-05, | |
| "loss": 0.06524160003662109, | |
| "step": 1000 | |
| }, | |
| { | |
| "epoch": 2.459016393442623, | |
| "grad_norm": 0.006977673154324293, | |
| "learning_rate": 9.043715846994535e-06, | |
| "loss": 0.036362709045410155, | |
| "step": 1500 | |
| } | |
| ], | |
| "logging_steps": 500, | |
| "max_steps": 1830, | |
| "num_input_tokens_seen": 0, | |
| "num_train_epochs": 3, | |
| "save_steps": 500, | |
| "stateful_callbacks": { | |
| "TrainerControl": { | |
| "args": { | |
| "should_epoch_stop": false, | |
| "should_evaluate": false, | |
| "should_log": false, | |
| "should_save": true, | |
| "should_training_stop": true | |
| }, | |
| "attributes": {} | |
| } | |
| }, | |
| "total_flos": 7695278128290816.0, | |
| "train_batch_size": 16, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |