Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run Yuvrajg2107/roberta-base-cpp 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/Yuvrajg2107/roberta-base-cpp. 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/Yuvrajg2107/roberta-base-cpp 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 Yuvrajg2107/roberta-base-cpp with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Yuvrajg2107/roberta-base-cpp with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Yuvrajg2107/roberta-base-cpp")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Yuvrajg2107/roberta-base-cpp") model = AutoModelForSequenceClassification.from_pretrained("Yuvrajg2107/roberta-base-cpp", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 6000, checkpoint
Browse filesFiles changed (6)
123version https://git-lfs.github.com/spec/v1oid sha256:69467c88089542112a33c720565df1937552a91acb51277f729bd81c6332402asize 498612824123version https://git-lfs.github.com/spec/v1oid sha256:7ea438799779b7d5df6829426c8563db0aaf689f4b71b2db885dde813b47a656size 498612824
123version https://git-lfs.github.com/spec/v1oid sha256:f49b906dad2d7e5a5cabc2e5adbe1256d559062a1234b9044f503daee2087534size 997345931123version https://git-lfs.github.com/spec/v1oid sha256:ac7b943d7b3f892e05c3280199300655641226024c9d46fc2c36377844e09219size 997345931
123version https://git-lfs.github.com/spec/v1oid sha256:0803eee0cc4b44a8c79fa5161eb36c1013a59026d1e3aac33a448e1060b90877size 14645123version https://git-lfs.github.com/spec/v1oid sha256:903ae64856702f56aca34b3a83e463f26492f960398b5b01c03e210465cf26b7size 14645
123version https://git-lfs.github.com/spec/v1oid sha256:82ad8990572ad11a824b7db276c8af49c179ca7e7724b4e6906cd0ae480a80a8size 1383123version https://git-lfs.github.com/spec/v1oid sha256:7bb2b51b22f222dc6df63edb791d76de5de25b8bb724e885f8753e34cfb8ae10size 1383
123version https://git-lfs.github.com/spec/v1oid sha256:5f5c61836752c5cd874ae10fff449a3b3dbeeab2bd4bed5842bd633a119b55c5size 1465123version https://git-lfs.github.com/spec/v1oid sha256:d6ac56f1033e9e261dd3b41721e9cff6132800378e9f573cebb3fd9f04365c7dsize 1465
1 unmodified line2345678910112 unmodified lines12312412512612712813 unmodified lines1421431441451461471481 unmodified line"best_global_step": 4000,"best_metric": 0.04343162104487419,"best_model_checkpoint": "./training_output/checkpoint-4000","epoch": 0.25,"eval_steps": 1000,"global_step": 5000,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,112 unmodified lines"eval_samples_per_second": 55.058,"eval_steps_per_second": 3.441,"step": 5000}],"logging_steps": 500,13 unmodified lines"attributes": {}}},"total_flos": 5262221107200000.0,"train_batch_size": 2,"trial_name": null,"trial_params": null1 unmodified line2345678910112 unmodified lines12312412512612712812913013113213313413513613713813914014114214314414514614714814915015113 unmodified lines1651661671681691701711 unmodified line"best_global_step": 4000,"best_metric": 0.04343162104487419,"best_model_checkpoint": "./training_output/checkpoint-4000","epoch": 0.3,"eval_steps": 1000,"global_step": 6000,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,112 unmodified lines"eval_samples_per_second": 55.058,"eval_steps_per_second": 3.441,"step": 5000},{"epoch": 0.275,"grad_norm": 0.2668807804584503,"learning_rate": 1.4501e-05,"loss": 0.0442,"step": 5500},{"epoch": 0.3,"grad_norm": 0.0010613143676891923,"learning_rate": 1.4001e-05,"loss": 0.042,"step": 6000},{"epoch": 0.3,"eval_accuracy": 0.93495,"eval_loss": 0.15857931971549988,"eval_runtime": 363.6803,"eval_samples_per_second": 54.993,"eval_steps_per_second": 3.437,"step": 6000}],"logging_steps": 500,13 unmodified lines"attributes": {}}},"total_flos": 6314665328640000.0,"train_batch_size": 2,"trial_name": null,"trial_params": null
last-checkpoint/model.safetensors+1-1
last-checkpoint/optimizer.pt+1-1
last-checkpoint/rng_state.pth+1-1
last-checkpoint/scaler.pt+1-1
last-checkpoint/scheduler.pt+1-1
last-checkpoint/trainer_state.json+26-3