readme: ---
  license: mit
  tags:
  - generated_from_trainer
  metrics:
  - f1
  - accuracy
  model-index:
  - name: Goodreads_Books_Reviews_Roberta_50
    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. -->
  
  # Goodreads_Books_Reviews_Roberta_50
  
  This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on the [Goodreads Books Reviews dataset](https://www.kaggle.com/competitions/goodreads-books-reviews-290312/data).
  It achieves the following results on the evaluation set:
  - Loss: 0.9495
  - F1: 0.6527
  - Accuracy: 0.6523
  
  ## 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: 32
  - eval_batch_size: 32
  - seed: 42
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  - lr_scheduler_type: linear
  - lr_scheduler_warmup_steps: 500
  - num_epochs: 4
  
  ### Training results
  
  | Training Loss | Epoch | Step  | Validation Loss | F1     | Accuracy |
  |:-------------:|:-----:|:-----:|:---------------:|:------:|:--------:|
  | 0.9353        | 1.0   | 5055  | 0.9340          | 0.6180 | 0.6223   |
  | 0.852         | 2.0   | 10110 | 0.9152          | 0.6328 | 0.6378   |
  | 0.7486        | 3.0   | 15165 | 0.9268          | 0.6515 | 0.6510   |
  | 0.6904        | 4.0   | 20220 | 0.9495          | 0.6527 | 0.6523   |
  
  
  ### Framework versions
  
  - Transformers 4.20.1
  - Pytorch 1.11.0
  - Datasets 2.1.0
  - Tokenizers 0.12.1
  