transformers safetensors roberta question-answering generated_from_trainer base_model:FacebookAI/roberta-base base_model:finetune:FacebookAI/roberta-base license:mit endpoints_compatible region:us
---
base_model: FacebookAI/roberta-base
library_name: transformers
license: mit
tags:
- generated_from_trainer
model-index:
- name: Squad-Roberta-Base
  results: []
---

<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# my_awesome_qa_model

This model is a fine-tuned version of [FacebookAI/roberta-base](https://huggingface.co/FacebookAI/roberta-base) on Stanford Question Answering Dataset (SQuAD).

## 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: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 5

### Training results

| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| No log        | 1.0   | 250  | 1.0868          |
| 1.3011        | 2.0   | 500  | 0.9731          |
| 1.3011        | 3.0   | 750  | 1.0252          |
| 0.508         | 4.0   | 1000 | 1.0905          |
| 0.508         | 5.0   | 1250 | 1.1455          |


### Framework versions

- Transformers 4.46.2
- Pytorch 2.5.1+cu121
- Datasets 3.1.0
- Tokenizers 0.20.3
