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 9000, checkpoint
Browse filesFiles changed (6)
123version https://git-lfs.github.com/spec/v1oid sha256:ff9b9d13a403999251eff19aff272b0a61c5298f7f1d3344e06bf7caf317cb99size 498612824123version https://git-lfs.github.com/spec/v1oid sha256:a7993fcf68be828d73fa2ee6b4a5dc32e8cace8dc797569a99953ce1a3ae5d83size 498612824
123version https://git-lfs.github.com/spec/v1oid sha256:7193b006558d2bce0208a235024debcbfc43b1c84dbc39142f881781de7f37e9size 997345931123version https://git-lfs.github.com/spec/v1oid sha256:b02915a79788add5d714c8aaeec8c9d2926b4de85c51dc0ca45b65e8d73f63edsize 997345931
123version https://git-lfs.github.com/spec/v1oid sha256:042657cac1c2755ceda7b4749a7e1933e6cec85079f3b4906e9ed3ef4793888esize 14645123version https://git-lfs.github.com/spec/v1oid sha256:3106ce26d8876d17e74b10716d47cadecb00ff3a2233d08bdb01a7952809d554size 14645
123version https://git-lfs.github.com/spec/v1oid sha256:022915fa8ac65fae0f13853519b8aa7ee79efd632a399c1f64c6b87bab0b057asize 1383123version https://git-lfs.github.com/spec/v1oid sha256:00b4eb0c27b559cfd649f7c80a6d3394a55880d92b3ee2ca98f71b67e7b2333asize 1383
123version https://git-lfs.github.com/spec/v1oid sha256:bd51c370580a538c410b01e5fc06950a0bc0c9f5c6db475a5d46f392f1675e7esize 1465123version https://git-lfs.github.com/spec/v1oid sha256:fe28f7d29e7f98f2600c3c6c7c0177a5ef0e8009ada6a2b943e31e01e5a4324esize 1465
12345678910181 unmodified lines19219319419519619713 unmodified lines211212213214215216217{"best_global_step": 4000,"best_metric": 0.04343162104487419,"best_model_checkpoint": "./training_output/checkpoint-4000","epoch": 0.4,"eval_steps": 1000,"global_step": 8000,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,181 unmodified lines"eval_samples_per_second": 55.178,"eval_steps_per_second": 3.449,"step": 8000}],"logging_steps": 500,13 unmodified lines"attributes": {}}},"total_flos": 8419553771520000.0,"train_batch_size": 2,"trial_name": null,"trial_params": null12345678910181 unmodified lines19219319419519619719819920020120220320420520620720820921021121221321421521621721821922013 unmodified lines234235236237238239240{"best_global_step": 9000,"best_metric": 0.035129010677337646,"best_model_checkpoint": "./training_output/checkpoint-9000","epoch": 0.45,"eval_steps": 1000,"global_step": 9000,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,181 unmodified lines"eval_samples_per_second": 55.178,"eval_steps_per_second": 3.449,"step": 8000},{"epoch": 0.425,"grad_norm": 0.002914857817813754,"learning_rate": 1.1501e-05,"loss": 0.0383,"step": 8500},{"epoch": 0.45,"grad_norm": 40.46672821044922,"learning_rate": 1.1001000000000002e-05,"loss": 0.0387,"step": 9000},{"epoch": 0.45,"eval_accuracy": 0.9744,"eval_loss": 0.035129010677337646,"eval_runtime": 362.2389,"eval_samples_per_second": 55.212,"eval_steps_per_second": 3.451,"step": 9000}],"logging_steps": 500,13 unmodified lines"attributes": {}}},"total_flos": 9471997992960000.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+29-6