File size: 1,338 Bytes
547c0a8
2dcf7da
547c0a8
 
 
 
3432c45
547c0a8
 
 
2dcf7da
 
 
 
 
8632135
 
547c0a8
 
 
 
 
2dcf7da
547c0a8
f2a4ee4
547c0a8
 
 
2dcf7da
547c0a8
 
 
 
 
 
 
 
 
 
 
 
 
 
2dcf7da
 
 
547c0a8
 
 
 
 
 
2dcf7da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
license: mit
base_model: facebook/opt-350m
tags:
- trl
- sft
- gnumanth/dadjokes-trained-opt
model-index:
- name: tmp_trainer
  results: []
datasets:
- gnumanth/dad-jokes
language:
- en
pipeline_tag: text-generation
widget:
- text: "joke"
---

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

# 

This model is a fine-tuned version of [facebook/opt-350m](https://huggingface.co/facebook/opt-350m) on an [gnumanth/dad-jokes](https://huggingface.co/datasets/gnumanth/dad-jokes) dataset.

## Model description

SFT Trained simple model for fun! 

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3.0

### Training results

```
TrainOutput(global_step=18, training_loss=2.2378472222222223, metrics={'train_runtime': 149.7511, 'train_samples_per_second': 0.881, 'train_steps_per_second': 0.12, 'total_flos': 9828797644800.0, 'train_loss': 2.2378472222222223, 'epoch': 3.0})
```

### Framework versions

- Transformers 4.38.1
- Pytorch 2.1.0+cu121
- Datasets 2.17.1
- Tokenizers 0.15.1