region:us
---
dataset_info:
  features:
  - name: previous
    dtype: string
  - name: character
    dtype: string
  - name: line
    dtype: string
  - name: text
    dtype: string
  splits:
  - name: train
    num_bytes: 191013022
    num_examples: 121841
  download_size: 0
  dataset_size: 191013022
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
---
# Dataset Card for "simpsons_prompt_lines"

![image](https://media.tenor.com/JjHb_yG-nk8AAAAC/homer-simpson-simpsons.gif)

I used the [Simpsons](https://www.kaggle.com/datasets/prashant111/the-simpsons-dataset?resource=download&select=simpsons_episodes.csv) Kaggle dataset (simpsons_episodes.csv and simpsons_script_lines.csv)
I got the idea and part of the code from this [blog post](https://replicate.com/blog/fine-tune-llama-to-speak-like-homer-simpson) from Replicate.

This can be used to fine-tune a Chat LLM model, to speak like one of the characters of the show !

### Example
```json
{
    "previous": "Marge Simpson: Homer, get up! Up, up, up!\nMarge Simpson: Oh no!\nHomer Simpson: Whuzzit... My juice box!\nMarge Simpson: Sorry, Homie, but you promised to take me to the Apron Expo today.",
    "character": "Homer Simpson",
    "line": "Just give me ten more hours.",
    "text": "<s> [INST] Below is a script from the American animated sitcom The Simpsons. Write a response that completes Homer Simpson's last line in the conversation. \n\nMarge Simpson: Homer, get up! Up, up, up!\nMarge Simpson: Oh no!\nHomer Simpson: Whuzzit... My juice box!\nMarge Simpson: Sorry, Homie, but you promised to take me to the Apron Expo today.\nHomer Simpson: [/INST] Just give me ten more hours. </s>"
}
```

### Characters 

- Homer Simpson
- Bart Simpson
- Marge Simpson
- Lisa Simpson
- C. Montgomery Burns
- Seymour Skinner
- Moe Szyslak
- Ned Flanders
- Grampa Simpson
- Krusty the Clown
- Chief Wiggum
- Milhouse Van Houten
- Waylon Smithers
- Apu Nahasapeemapetilon
- Kent Brockman
- Nelson Muntz
- Barney Gumble
- Lenny Leonard
- Edna Krabappel-Flanders
- Sideshow Bob
- Dr. Julius Hibbert
- Selma Bouvier
- Ralph Wiggum
- Rev. Timothy Lovejoy
- Crowd
- Carl Carlson
- Patty Bouvier
- Mayor Joe Quimby
- Otto Mann
- Groundskeeper Willie
- Martin Prince
- Announcer
- Comic Book Guy
- Kids
- Lionel Hutz
- HERB
- Sideshow Mel
- Gary Chalmers
- Professor Jonathan Frink
- Jimbo Jones
- Lou
- Todd Flanders
- Miss Hoover
- Agnes Skinner
- Maude Flanders
- Troy McClure
- Fat Tony
- Snake Jailbird

[More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)