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 1000, checkpoint
Browse filesFiles changed (6)
18 unmodified lines1920212223242518 unmodified lines"num_hidden_layers": 12,"pad_token_id": 1,"position_embedding_type": "absolute","transformers_version": "4.57.3","type_vocab_size": 1,"use_cache": true,"vocab_size": 5026518 unmodified lines1920212223242518 unmodified lines"num_hidden_layers": 12,"pad_token_id": 1,"position_embedding_type": "absolute","transformers_version": "4.57.1","type_vocab_size": 1,"use_cache": true,"vocab_size": 50265
123version https://git-lfs.github.com/spec/v1oid sha256:42690867e778f4db141a39c02caa1a4a181fb1838de64648f76992024bb090d6size 498612824123version https://git-lfs.github.com/spec/v1oid sha256:ce27503682001cc084908a25069dc678057168cae01004ca3bff7b72c191e7e4size 498612824
123version https://git-lfs.github.com/spec/v1oid sha256:6cee156cc7324a335bd0cf2e1fa7a6de4b52ebb3d6ee59259f88882100a16a0asize 997345931123version https://git-lfs.github.com/spec/v1oid sha256:32cf9b47bd2f0d00e8d39cadaaf61447f1198c75e8548dd4428f2a9031563387size 997345931
123version https://git-lfs.github.com/spec/v1oid sha256:ed290419ddbbaf4c4f46d92ab98980c1b33e3e9b93e34d7bc94d8d13097423b4size 1465123version https://git-lfs.github.com/spec/v1oid sha256:f2ce5645288f483e7a9daa2c7a16180a6531e36418232835ffee5a4fecb21062size 1465
123456781 unmodified line10111213141516171819202122232425262728293031323334353637383940{"best_global_step": 1000,"best_metric": 0.10802757740020752,"best_model_checkpoint": "./training_output/checkpoint-1000","epoch": 0.05,"eval_steps": 1000,"global_step": 1000,"is_hyper_param_search": false,1 unmodified line"is_world_process_zero": true,"log_history": [{"epoch": 0.025,"grad_norm": 0.8834348917007446,"learning_rate": 1.9501000000000002e-05,"loss": 0.1437,"step": 500},{"epoch": 0.05,"grad_norm": 9.513919830322266,"learning_rate": 1.9001e-05,"loss": 0.1085,"step": 1000},{"epoch": 0.05,"eval_accuracy": 0.91835,"eval_loss": 0.10802757740020752,"eval_runtime": 381.1922,"eval_samples_per_second": 52.467,"eval_steps_per_second": 3.279,"step": 1000}],"logging_steps": 500,"max_steps": 20000,"num_input_tokens_seen": 0,"num_train_epochs": 1,"save_steps": 1000,123456781 unmodified line10111213141516171819202122232425262728293031323334353637383940{"best_global_step": 1000,"best_metric": 0.08424179255962372,"best_model_checkpoint": "./training_output/checkpoint-1000","epoch": 0.125,"eval_steps": 1000,"global_step": 1000,"is_hyper_param_search": false,1 unmodified line"is_world_process_zero": true,"log_history": [{"epoch": 0.0625,"grad_norm": 33.47822570800781,"learning_rate": 1.8752500000000004e-05,"loss": 0.1408,"step": 500},{"epoch": 0.125,"grad_norm": 66.1669692993164,"learning_rate": 1.7502500000000004e-05,"loss": 0.1244,"step": 1000},{"epoch": 0.125,"eval_accuracy": 0.931,"eval_loss": 0.08424179255962372,"eval_runtime": 148.5886,"eval_samples_per_second": 53.84,"eval_steps_per_second": 3.365,"step": 1000}],"logging_steps": 500,"max_steps": 8000,"num_input_tokens_seen": 0,"num_train_epochs": 1,"save_steps": 1000,
123version https://git-lfs.github.com/spec/v1oid sha256:4672bef08597eaac4166af409003080f023f24990f8f58c185b2b990119dc93esize 5841123version https://git-lfs.github.com/spec/v1oid sha256:5d1dcf0aa731896a45dc92ce645a0147a079fc2db258f2967bafe27b497eba6bsize 5841
last-checkpoint/config.json+1-1
last-checkpoint/model.safetensors+1-1
last-checkpoint/optimizer.pt+1-1
last-checkpoint/scheduler.pt+1-1
last-checkpoint/trainer_state.json+17-17
last-checkpoint/training_args.bin+1-1