-
def __call__(self, examples):
IGNORE_INDEX = -100
all_input_ids = []
all_label_ids = []
all_pixel_values = []
all_image_sizes = []
for example in examples:
image = exam…
-
## Add Hateful Memes Dataset
- **Name:** Hateful Memes
- **Description:** [https://ai.facebook.com/blog/hateful-memes-challenge-and-data-set]( https://ai.facebook.com/blog/hateful-memes-challenge-an…
-
Calling get_instances for HatefulMemesScenario is getting me the following:
Exception: Failed with exit code 8: wget 'https://huggingface.co/datasets/neuralcatcher/hateful_memes/resolve/main/img/2305…
dxwu2 updated
1 month ago
-
## ❓ Questions and Help
Dear MMF,
I'm a NLP student at Princeton attempting to reproduce the results of the Hateful Memes Challenge for a class project.
The data for the challenge's download pa…
-
At the end of readme in hateful memes, it says:
Loading pretrained model in your code
It is also possible to load a pretrained model directly in your code
But when I run that code for a model I …
-
Is there a tutorial that can guide me how to incorporate pretrained UNITER (from https://convaisharables.blob.core.windows.net/uniter/pretrained/uniter-base.pt) into mmf and then finetune it with HM d…
-
https://huggingface.co/spaces/am4nsolanki/hateful-memes
https://huggingface.co/am4nsolanki/autonlp-text-hateful-memes-36789092
-
## ❓ Questions and Help
Hi everyone,
I have been trying to reproduce the model performance stated on the research paper but to no avail. Hence, I would like to clarify whether my command is corre…
-
## ❓ Questions and Help
Hi, I want to use the Hateful Memes VILBERT checkpoint from the zoo to fine-tune it on my custom dataset. I run the following command, and it appears to work:
`mmf_run conf…
-
Is the dataset used in your code preprocessed? I noticed that the structure of your dataset differs from the Hateful Memes dataset I found on Kaggle.
Thank you for your response.