File size: 1,337 Bytes
f5aa847
 
 
 
 
 
 
66ff22a
 
 
 
 
f5aa847
 
 
 
66ff22a
f5aa847
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: apache-2.0
tags:
- generated_from_trainer
model-index:
- name: DistilGPT2-Beatles-Lyrics-finetuned
  results: []
widget:
- text: "Last night in Kiev the"
  example_title: "Kiev"  
- text: "It hasn't rained in weeks"
  example_title: "Rain"    
---

# DistilGPT2-Beatles-Lyrics-finetuned

This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on the [Huggingartists - beatles](https://huggingface.co/datasets/huggingartists/the-beatles) dataset. It will complete an input prompt with Beatles-like text. 

### Training hyperparameters

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

### Training results

| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| 2.748         | 1.0   | 165  | 2.3732          |
| 2.4395        | 2.0   | 330  | 2.1938          |
| 2.2968        | 3.0   | 495  | 2.1118          |
| 2.2075        | 4.0   | 660  | 2.0721          |
| 2.1393        | 5.0   | 825  | 2.0571          |


### Framework versions

- Transformers 4.18.0
- Pytorch 1.11.0+cu113
- Datasets 2.2.0
- Tokenizers 0.12.1