Hrishikesh332/autotrain-data-meme-classification
Updated β’ 14
How to use Hrishikesh332/autotrain-meme-classification-42897109437 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="Hrishikesh332/autotrain-meme-classification-42897109437")
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png") # Load model directly
from transformers import AutoImageProcessor, AutoModelForImageClassification
processor = AutoImageProcessor.from_pretrained("Hrishikesh332/autotrain-meme-classification-42897109437")
model = AutoModelForImageClassification.from_pretrained("Hrishikesh332/autotrain-meme-classification-42897109437")Dataset
The dataset consist of two label images:
Meme folder consist of 222 meme images and Not Meme folder consist of 108 non meme files. Meme file consist most of the images contaning the text on the picture and not meme consist of all type of images from sports to the text in various forms like document, image text to get the higher accuracy and understand about the meme in a most efficient way.
UseCase
Future Scope