Downloads · 30 days
4
15% of all-time downloads
metchee/sticker-query-generator-en
sticker-query-generator-en is a machine learning model from metchee. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft. The card lists the license as other.
Sticker Query Generator (English) The Sticker Query Generator is a vision-language model that generates culturally and emotionally resonant search queries given a sticker image. These queries are typically used in cha…
Downloads · 30 days
4
15% of all-time downloads
All-time downloads
26
Public
Repo size
481 MB
Likes
0
Public
Click a slice to open those files.
.pt321 MB · 56%
From the Hugging Face model README
Sticker Query Generator (English) The Sticker Query Generator is a vision-language model that generates culturally and emotionally resonant search queries given a sticker image. These queries are typically used in chat apps to retrieve and recommend stickers during conversations. For Chinese, see here.
Given a sticker image (e.g., a cartoon character shrugging, laughing, or making a gesture), the model outputs search queries that people might use to find or express the intent behind that sticker—such as:
It captures subtle social, emotional, and contextual cues—something that traditional vision-language models often fail to represent due to lack of cultural grounding.
This model was trained on StickerQueries, a multilingual dataset of over 60 hours of human-annotated sticker-query pairs in English and Chinese. Each annotation was reviewed by at least two people to ensure quality and consistency.
from transformers import AutoProcessor, AutoModelForVision2Seq
from PIL import Image
import requests
# Load model
processor = AutoProcessor.from_pretrained("metchee/sticker-query-generator-en")
model = AutoModelForVision2Seq.from_pretrained("metchee/sticker-query-generator-en")
# Run inference
image = Image.open("sticker.png")
inputs = processor(images=image, return_tensors="pt")
output = model.generate(**inputs)
query = processor.decode(output[0], skip_special_tokens=True)
print(query)
The following hyperparameters were used during training:
@misc{huggingface-sticker-queries,
author = {Heng Er Metilda Chee, et al.},
title = {Small Stickers, Big Meanings: A Multilingual Sticker Semantic Understanding Dataset with a Gamified Approach},
year = {2025},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/datasets/metchee/sticker-queries}},
}