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
File size: 1,337 Bytes
c7d59c1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | {
"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
}
|