peft safetensors trl sft generated_from_trainer dataset:generator base_model:openai-community/gpt2 license:mit region:us
---
license: mit
library_name: peft
tags:
- trl
- sft
- generated_from_trainer
base_model: openai-community/gpt2
datasets:
- generator
metrics:
- accuracy
model-index:
- name: sft_openassistant-guanaco
  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. -->

# sft_openassistant-guanaco

This model is a fine-tuned version of [openai-community/gpt2](https://huggingface.co/openai-community/gpt2) on the generator dataset.
It achieves the following results on the evaluation set:
- Loss: 3.1064
- Accuracy: 0.0190

## 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: 1.41e-05
- train_batch_size: 2
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 16
- total_train_batch_size: 32
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- training_steps: 20

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 3.7182        | 0.01  | 3    | 3.1069          | 0.0190   |
| 3.3356        | 0.02  | 6    | 3.1068          | 0.0190   |
| 3.2158        | 0.03  | 9    | 3.1066          | 0.0190   |
| 3.4288        | 0.04  | 12   | 3.1065          | 0.0190   |
| 3.5899        | 0.04  | 15   | 3.1064          | 0.0190   |
| 3.6934        | 0.05  | 18   | 3.1064          | 0.0190   |


### Framework versions

- PEFT 0.9.0
- Transformers 4.37.0
- Pytorch 2.0.0+cu118
- Datasets 2.16.1
- Tokenizers 0.15.1