Dataset Preview
Full Screen
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 1 missing columns ({'label'})

This happened while the json dataset builder was generating data using

hf://datasets/emily49/hateful-memes/test.jsonl (at revision 390eaf2f1a31eed27275b49c9bafcfc8ae721733)

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              id: int64
              img: string
              text: string
              to
              {'id': Value(dtype='int64', id=None), 'img': Value(dtype='string', id=None), 'label': Value(dtype='int64', id=None), 'text': Value(dtype='string', id=None)}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1321, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 935, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2013, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 1 missing columns ({'label'})
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/emily49/hateful-memes/test.jsonl (at revision 390eaf2f1a31eed27275b49c9bafcfc8ae721733)
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

id
int64
img
string
label
int64
text
string
42,953
img/42953.png
0
its their character not their color that matters
23,058
img/23058.png
0
don't be afraid to love again everyone is not like your ex
13,894
img/13894.png
0
putting bows on your pet
37,408
img/37408.png
0
i love everything and everybody! except for squirrels i hate squirrels
82,403
img/82403.png
0
everybody loves chocolate chip cookies, even hitler
16,952
img/16952.png
0
go sports! do the thing! win the points!
76,932
img/76932.png
0
fine you're right. now can we fucking drop it?
70,914
img/70914.png
0
tattoos are bad for your health i know 5 million people that had tattoos and they all died
2,973
img/02973.png
0
how long can i run? till the chain tightens
58,306
img/58306.png
0
what is he hiding? we need to see his tax returns! let me stop you right there hillary you deleted 30,000 emails, used bleach bit on hard drives, then destroyed phones with hammers you have no right to talk about people hiding anything truth uncensored
79,351
img/79351.png
1
jew mad? get fuhrerious!
34,096
img/34096.png
0
removes polish with chemicals, nobody bats an eye
25,489
img/25489.png
1
brother... a day without a blast is a day wasted
19,324
img/19324.png
0
when you're the only dog left at the dog shelter and the black family wants to adopt you
79,346
img/79346.png
0
voting for hillary is like letting casey anthony watch your kids because she's not guilty
13,426
img/13426.png
0
they will soon be free
97,628
img/97628.png
0
is it ok for your son or daughter to call another man "daddy?
14,238
img/14238.png
0
most religions are religions of peace
28,936
img/28936.png
0
when you find out there's an opening for the role of first lady
59,784
img/59784.png
0
if people reject me because i stand on the truth then i have no problem walking alone
2,146
img/02146.png
0
from the bottom of my heart i would like to sincerely apologize..... for being white
70,146
img/70146.png
0
lets erect a memorial to all the americans murdered by an illegal alien make it 1,500 miles long 30 feet tall and put it on the southern border
28,061
img/28061.png
0
just because they do this dosen't mean they'll do this
97,180
img/97180.png
0
if there is no race it can't be homicide
49,752
img/49752.png
0
here's to all my friends who never post about politics or religion
25,610
img/25610.png
0
enjoying a day at the beach
15,872
img/15872.png
0
when you come home from a long day of suicide bombinb and your wife gives you this look
72,640
img/72640.png
1
is bribing muslims for liberal votes justin trudeau's only skill? why does justin trudeau love foreigners so much while openly disrespecting canadians, canadian values, our history and traditions, our seniors and veterans? sharia law has no place in canada! never has... never will.
64,318
img/64318.png
0
when they take too long to blow out the candle
17,956
img/17956.png
0
one simple question why are we letting one man systematically destroy our nation before our eyes? answer mitch mcconnell
93,547
img/93547.png
1
d.j. osama spin laden droppin' beats like the twin towers
10,743
img/10743.png
0
move to new york they said it'll be fun they said
37,091
img/37091.png
0
my sandwich-maker is very slow today
25,719
img/25719.png
0
when you accidentally fall in the toilet
76,825
img/76825.png
0
two woman walking home together after a nice day out together
72,598
img/72598.png
0
texas churches be like... pew pew pew
43,078
img/43078.png
0
i don't always have a heat stroke and get frostbite in the same week but when i do i know i'm in kentucky
51,846
img/51846.png
0
doesn't wear tampons because she trips over the string
1,569
img/01569.png
0
when you can't decide to pre heat the oven or just throw the meal in right away
95,812
img/95812.png
0
happy shot in the face day 5-2-2011
6,418
img/06418.png
0
1 bomb every minute
53,976
img/53976.png
0
black power comes with a lot of responsibility
70,193
img/70193.png
0
that chiken is so black no one is going to eat it
60,427
img/60427.png
0
i hope both teams lose
78,395
img/78395.png
0
say the damn pronouns
4,876
img/04876.png
0
goin
92,075
img/92075.png
0
we need problem solvers not racist and religious bigots in office
86,354
img/86354.png
0
officer down
74,386
img/74386.png
1
we said we would never forget why are you voting them into our government?
59,613
img/59613.png
0
when a porn video features a tranny but then' she' turns out to be a midget too you had my curiosity but now you have my attention
10,263
img/10263.png
0
rep. dan crenshaw former navy seal decorated war hero literally lost an eye "doing something about terrorism" rep.ocasio-cortez former bartender supports socialism told dan crenshawn he should "do something about terrorism"
48,279
img/48279.png
0
nice watch must have cost an arm and a leg
52,610
img/52610.png
1
i'm sick of politics so here's a pic of michelle obama riding a unicorn
58,371
img/58371.png
0
when you suck at photoshop
27,401
img/27401.png
0
for the last time.. i'm not michelle obama
89,574
img/89574.png
0
i'm cute
25,473
img/25473.png
0
and then i told them you're going on a fun camping trip
47,913
img/47913.png
0
the jussie smollett case explained. "how do you plead? " "innocent!!!" "black, gay, trump hater, friend of michelle obama
8,295
img/08295.png
0
please consider donating water to children in need
2,497
img/02497.png
0
you're a wizard motherfucker
90,471
img/90471.png
0
relax mexicans you are rapists, drug lords and criminals
69,357
img/69357.png
1
hey look at me! i'm a serial pedofile
54,602
img/54602.png
1
when you just finished shooting a bunch of black kids but accidently killed a squirrel
15,320
img/15320.png
0
obama working to legalize medical cannabis for all of the usa
63,182
img/63182.png
0
my wife just got a seashell tattoo on her inner thigh if you put your ear to it you can smell the ocean
20,619
img/20619.png
1
when you beat the shit out of the tranny hooker after you nut and call it a f****t but it doesn't get back up
82,457
img/82457.png
0
ring ring hello? i've been waiting for your call all damn day!!!
81,059
img/81059.png
0
i like my refugees like this '' '' ''
42,137
img/42137.png
0
when you get hungry you can either think about it or..
74,530
img/74530.png
1
what's the difference between a jew and a pizza? a pizza doesn't scream when you put it in the oven
40,832
img/40832.png
0
taking photo with a mosque
46,127
img/46127.png
0
"ay, tone. how'd da gas stay in if da door is made of wood?"
87,594
img/87594.png
0
what do i have in common with cow pies? the older we get, the easier for you to pick us up!
12,548
img/12548.png
0
running chocolate
12,894
img/12894.png
0
imagine, if you will an entire country so ignorant that the people wilfully give billions of dollars in order to elect rich criminals to rule over their lives and steal their money, but believe they are free
2,476
img/02476.png
0
im never doing a garden again!
6,937
img/06937.png
0
coming soon to your neighborhood 300,000 islamic heathens demanding the usa change to suit thier sick religion
5,762
img/05762.png
0
listen bitch, before you start fucking with me you should know my team is bigger
40,259
img/40259.png
0
masturbation it's not just for men
85,072
img/85072.png
0
what is this sleep of which you speak?
46,537
img/46537.png
0
oakland mayor libby schaaf i saved 800 ms-13 rapists, murderers, molesters from ice
56,432
img/56432.png
0
what if i told you that you cant "tolerate" a person who agrees with you? "
39,805
img/39805.png
0
look both ways before you cross the street
29,163
img/29163.png
1
what kind of punch can take out 20 kids and 6 adults? a sandy hook
36,072
img/36072.png
0
she said "choke me daddy" so i gave her 2 popeye's biscuits without a drink
60,147
img/60147.png
0
meditation before going to school
90,583
img/90583.png
1
we can kill as many as we want and your stupid government keeps bringing us in
38,612
img/38612.png
0
so there is this new implant that can actually fix stupid
52,097
img/52097.png
1
if you're vaping inside a mcdonalds, inside a walmart ... that's the turducken of white trash
34,961
img/34961.png
0
this cat is pushing a watermelon out of a lake. your argument is invalid
15,803
img/15803.png
1
what do you call a retarded jew? auschwistic
89,762
img/89762.png
0
that blackened chicken was so dry it reminded me of your mother
38,465
img/38465.png
0
yo dawg, i heard you like memes so i made a meme mocking memes you so you can can mock me knocking memes while reading mock memes
53,289
img/53289.png
0
when everybody's worried about their ex but you're just here enjoying your lemonade
75,321
img/75321.png
1
cannibal tribe from indonesia will take muslim refugess in any amount
18,350
img/18350.png
0
when you see the gas bill
91,547
img/91547.png
0
cheers to all the people who can change their minds when presented with information that contradicts their beliefs
30,247
img/30247.png
0
broken chair
93,741
img/93741.png
0
stop being a bitch
51,243
img/51243.png
0
honestly how often do you masturbate?
End of preview.
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/datasets-cards)

The Hateful Memes Challenge README

The Hateful Memes Challenge is a dataset and benchmark created by Facebook AI to drive and measure progress on multimodal reasoning and understanding. The task focuses on detecting hate speech in multimodal memes.

Please see the paper for further details:

The Hateful Memes Challenge: Detecting Hate Speech in Multimodal Memes D. Kiela, H. Firooz, A. Mohan, V. Goswami, A. Singh, P. Ringshia, D. Testuggine

Dataset details

The files for this folder are arranged as follows:

img/ - the PNG images train.jsonl - the training set dev.jsonl - the development set test.jsonl - the “seen” test set

An additional “unseen” test set will be released at a later date under the NeurIPS 2020 competition. Please see https://ai.facebook.com/hatefulmemes. The competition rules are provided on the competition website.

The .jsonl format contains one JSON-encoded example per line, each of which has the following fields:

‘text’ - the text occurring in the meme ‘img’ - the path to the image in the img/ directory ‘label’ - the label for the meme (0=not-hateful, 1=hateful), provided for train and dev

The metric to use is AUROC. You may also report accuracy in addition, since this is more interpretable. To compute these metrics, we recommend the roc_auc_score and accuracy_score methods in sklearn.metrics, with default settings.

Note on Annotator Accuracy

As is to be expected with a dataset of this size and nature, some of the examples in the training set have been misclassified. We are not claiming that our dataset labels are completely accurate, or even that all annotators would agree on a particular label. Misclassifications, although possible, should be very rare in the dev and seen test set, however, and we will take extra care with the unseen test set.

As a reminder, the annotations collected for this dataset were not collected using Facebook annotators and we did not employ Facebook’s hate speech policy. As such, the dataset labels do not in any way reflect Facebook’s official stance on this matter.

License

The dataset is licensed under the terms in the LICENSE.txt file.

Image Attribution

If you wish to display example memes in your paper, please provide the following attribution:

Image is a compilation of assets, including ©Getty Image.

Citations

If you wish to cite this work, please use the following BiBTeX:

@inproceedings{Kiela2020TheHM,
  title={The Hateful Memes Challenge: Detecting Hate Speech in Multimodal Memes},
  author={Douwe Kiela and Hamed Firooz and Aravind Mohan and Vedanuj Goswami and Amanpreet Singh and Pratik Ringshia and Davide Testuggine},
  year={2020}
}

Contact

If you have any questions or comments on the dataset, please contact [email protected].

Downloads last month
13