Instructions to use corbinvking/rainmaker-roberta-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use corbinvking/rainmaker-roberta-qa 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="corbinvking/rainmaker-roberta-qa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("corbinvking/rainmaker-roberta-qa") model = AutoModelForQuestionAnswering.from_pretrained("corbinvking/rainmaker-roberta-qa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from corbinvking/rainmaker-roberta-qa: direct link, hf CLI and curl.
- Browser
- Download file 1.62 kB
-
https://huggingface.co/corbinvking/rainmaker-roberta-qa/resolve/main/README.md
- Command line
-
hf download hf://corbinvking/rainmaker-roberta-qa/README.md
-
curl -L -o README.md https://huggingface.co/corbinvking/rainmaker-roberta-qa/resolve/main/README.md
1.62 kB
metadata
library_name: transformers
base_model: corbinvking/rainmaker-roberta
tags:
- generated_from_trainer
model-index:
- name: rainmaker-roberta-qa
results: []
rainmaker-roberta-qa
This model is a fine-tuned version of corbinvking/rainmaker-roberta on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 1.4620
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: 5e-06
- train_batch_size: 1
- eval_batch_size: 1
- seed: 42
- gradient_accumulation_steps: 16
- total_train_batch_size: 16
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 100
- num_epochs: 1
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 1.9469 | 0.3603 | 200 | 1.7302 |
| 1.6094 | 0.7206 | 400 | 1.4620 |
Framework versions
- Transformers 4.50.3
- Pytorch 2.5.1+cu121
- Datasets 3.5.0
- Tokenizers 0.21.1