transformers tensorboard safetensors gpt2 text-classification generated_from_trainer dataset:summarize_from_feedback model-index autotrain_compatible text-generation-inference endpoints_compatible region:us
---
datasets:
- summarize_from_feedback
metrics:
- accuracy
tags:
- generated_from_trainer
model-index:
- name: gpt2-rm-tldr
  results:
  - task:
      type: text-classification
      name: Text Classification
    dataset:
      name: summarize_from_feedback
      type: summarize_from_feedback
      config: comparisons
      split: validation
      args: comparisons
    metrics:
    - type: accuracy
      value: 0.5239644076853379
      name: Accuracy
---

<!-- 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. -->

# gpt2-rm-tldr

This model was trained from scratch on the summarize_from_feedback dataset.
It achieves the following results on the evaluation set:
- Loss: 2.3421
- Accuracy: 0.5240

## 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-05
- train_batch_size: 1
- eval_batch_size: 1
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3

### Training results

| Training Loss | Epoch | Step   | Validation Loss | Accuracy |
|:-------------:|:-----:|:------:|:---------------:|:--------:|
| 1.89          | 1.0   | 92858  | 2.1223          | 0.5385   |
| 1.7813        | 2.0   | 185716 | 2.2080          | 0.5263   |
| 1.6242        | 3.0   | 278574 | 2.3421          | 0.5240   |


### Framework versions

- Transformers 4.36.2
- Pytorch 2.1.2+cu121
- Datasets 2.15.0
- Tokenizers 0.15.0
