Run this model with HF Jobs
Run pranjal0198/roberta_fine_tuned_qa_model 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/pranjal0198/roberta_fine_tuned_qa_model. 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/pranjal0198/roberta_fine_tuned_qa_model 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 pranjal0198/roberta_fine_tuned_qa_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pranjal0198/roberta_fine_tuned_qa_model with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="pranjal0198/roberta_fine_tuned_qa_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("pranjal0198/roberta_fine_tuned_qa_model") model = AutoModelForQuestionAnswering.from_pretrained("pranjal0198/roberta_fine_tuned_qa_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
roberta_fine_tuned_qa_model
This model is a fine-tuned version of roberta-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 2.0295
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 4
- eval_batch_size: 4
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.2458 | 1.0 | 1000 | 1.1327 |
| 0.753 | 2.0 | 2000 | 1.2129 |
| 0.479 | 3.0 | 3000 | 1.4913 |
| 0.3606 | 4.0 | 4000 | 1.7434 |
| 0.231 | 5.0 | 5000 | 2.0295 |
Framework versions
- Transformers 4.32.1
- Pytorch 2.0.1+cu118
- Datasets 2.14.4
- Tokenizers 0.13.3
- Downloads last month
- 4
Model tree for pranjal0198/roberta_fine_tuned_qa_model
Base model
FacebookAI/roberta-base