File size: 4,006 Bytes
7a5ba2b
ecd2a41
7a5ba2b
 
 
 
 
 
 
 
 
f39e758
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1b338d6
 
bb1402a
1b338d6
 
 
bb1402a
 
 
 
 
1b338d6
 
 
bb1402a
1b338d6
5d3f0e3
 
 
 
 
 
 
 
 
 
 
 
 
 
bb1402a
1b338d6
bb1402a
1b338d6
bb1402a
 
 
1b338d6
ecd2a41
 
 
 
 
 
 
 
 
 
 
 
1b338d6
 
bb1402a
 
 
 
 
 
 
 
1b338d6
 
 
bb1402a
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
---
license: cc
task_categories:
- image-to-text
language:
- en
tags:
- art
pretty_name: Explain XKCD
size_categories:
- 1K<n<10K
dataset_info:
  features:
  - name: number
    dtype: string
  - name: date
    dtype: string
  - name: title
    dtype: string
  - name: before
    dtype: string
  - name: image
    dtype: image
  - name: titletext
    dtype: string
  - name: transcript
    dtype: string
  - name: explanation
    dtype: string
  splits:
  - name: train
    num_bytes: 183315711.73
    num_examples: 2795
  download_size: 226687075
  dataset_size: 183315711.73
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
---

# Dataset Card for Explain XKCD

## Dataset Description

- **Homepage:** https://www.explainxkcd.com/wiki/index.php/Main_Page
- **Repository:** https://huggingface.co/datasets/dchichkov/explainxkcd
- **Paper:**  
- **Leaderboard:**  
- **Point of Contact:**  

### Dataset Summary

An import of the Explain XKCD wiki (up to March 30, 2024), containing explanations for 2668 xkcd comics.

| Field         | Type   | Description                                                                                                                                                   |
| ------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `number`      | string | The xkcd comic’s sequential number (e.g. `"3"`, `"1000"`).                                                                                                    |
| `date`        | string | Publication date of the comic, in “Month Day, Year” format (e.g. `"September 30, 2005"`).                                                                     |
| `title`       | string | The displayed title of the comic (e.g. `"Island (sketch)"`).                                                                                                  |
| `before`      | string | Any original or archived title/caption metadata, typically a MediaWiki-style link or HTML snippet pointing back to the source (e.g. the LiveJournal archive). |
| `image`       | string | Filename of the comic image (e.g. `"island_color.jpg"`) in the images/.                                                                                       |
| `titletext`   | string | The “alt” or tooltip text that appears when you hover over the comic on xkcd’s site.                                                                          |
| `transcript`  | string | A plain-text transcript of the comic panels and dialogue.                                                                                                     |
| `explanation` | string | A detailed explanation of the joke or references in the comic, suitable for the “Explain xkcd” format.                                                        |


NOTE: original image filenames in xkcd included spaces, in this dataset these were replaced with underscores.

## Licensing Information

Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)

```text
Explain xkcd: It’s ’cause you’re dumb. (2025). Main Page. Fan-maintained wiki. Retrieved May 19, 2025, from https://www.explainxkcd.com/wiki/index.php/Main_Page
```

Creative Commons Attribution-NonCommercial 2.5 License (CC BY-NC 2.5)

```text
xkcd: License Page. Retrieved Retrieved May 19, 2025, from https://xkcd.com/license.html
```

Creative Commons Attribution 4.0 International (CC-BY 4.0)
```text
This work
```


### Citation Information

```bibtex
@misc{dchichkov_explainxkcd_2025,
  author       = {Chichkov, Dmitry},
  title        = {{Explain XKCD Dataset}},
  year         = {2024},
  howpublished = {\url{https://huggingface.co/datasets/dchichkov/explainxkcd}},
  note         = {Fan-curated import of the Explain XKCD wiki up to March 30, 2024}
}

### Contributions

Thanks to [@dchichkov](https://github.com/dchichkov) for adding this dataset.