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 15000, checkpoint
Browse filesFiles changed (6)
123version https://git-lfs.github.com/spec/v1oid sha256:c24a6fee6197a7d0e0dc60fd3a17ae12371f686c25f8c59baa4e0a84062e4f9bsize 498612824123version https://git-lfs.github.com/spec/v1oid sha256:d77c6fe75d2e084ea0b2dfb28f34e36e3797890c2158cf82df6cb58bd03848desize 498612824
123version https://git-lfs.github.com/spec/v1oid sha256:a7bb4a03ac656611f593c1f2ba0d38c8cbf04d907421b2c50bbdccb383e90608size 997345931123version https://git-lfs.github.com/spec/v1oid sha256:63d9616b208a7a5c95c12618c0f196a6549f6659b7d07ac8dd3e3b8297204116size 997345931
123version https://git-lfs.github.com/spec/v1oid sha256:1729b2eea6571b9bf3c801be2729d60efb8e2cb8629926b7109ada2c3384ad31size 14645123version https://git-lfs.github.com/spec/v1oid sha256:4629bc6a7a1bf6a97eb230e023069c9de195f733b6e1d5ac800948162494e8d7size 14645
123version https://git-lfs.github.com/spec/v1oid sha256:23c844bc341ec75b5cad5ad0be21d7c0eeee0623194498c334d6946af672123esize 1383123version https://git-lfs.github.com/spec/v1oid sha256:b0415cc902581048eff49426d3b5977e3d3a9842950529c62d3aba0c1eceb6ccsize 1383
123version https://git-lfs.github.com/spec/v1oid sha256:04b0bf137a45b36bdb178c3406191d51b6266f45964c2cad0b5dc4c8bc6aa400size 1465123version https://git-lfs.github.com/spec/v1oid sha256:cb2202b9362ddcbf14d87d88a547d9ac58913b4d2ad37d69d76ff373475958bdsize 1465
12345678910319 unmodified lines33033133233333433513 unmodified lines349350351352353354355{"best_global_step": 9000,"best_metric": 0.04935265704989433,"best_model_checkpoint": "./training_output/checkpoint-9000","epoch": 0.7,"eval_steps": 1000,"global_step": 14000,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,319 unmodified lines"eval_samples_per_second": 52.552,"eval_steps_per_second": 3.284,"step": 14000}],"logging_steps": 500,13 unmodified lines"attributes": {}}},"total_flos": 1.473421910016e+16,"train_batch_size": 2,"trial_name": null,"trial_params": null12345678910319 unmodified lines33033133233333433533633733833934034134234334434534634734834935035135235335435535635735813 unmodified lines372373374375376377378{"best_global_step": 15000,"best_metric": 0.048726025968790054,"best_model_checkpoint": "./training_output/checkpoint-15000","epoch": 0.75,"eval_steps": 1000,"global_step": 15000,"is_hyper_param_search": false,"is_local_process_zero": true,"is_world_process_zero": true,319 unmodified lines"eval_samples_per_second": 52.552,"eval_steps_per_second": 3.284,"step": 14000},{"epoch": 0.725,"grad_norm": 0.1631036400794983,"learning_rate": 5.501000000000001e-06,"loss": 0.0197,"step": 14500},{"epoch": 0.75,"grad_norm": 0.4217091202735901,"learning_rate": 5.001e-06,"loss": 0.0256,"step": 15000},{"epoch": 0.75,"eval_accuracy": 0.97195,"eval_loss": 0.048726025968790054,"eval_runtime": 380.4177,"eval_samples_per_second": 52.574,"eval_steps_per_second": 3.286,"step": 15000}],"logging_steps": 500,13 unmodified lines"attributes": {}}},"total_flos": 1.57866633216e+16,"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