Downloads · 30 days
14
27% of all-time downloads
Kalloniatis/Humor-Recognition-Greek-canine-s
Humor-Recognition-Greek-canine-s is a text classification model from Kalloniatis. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
14
27% of all-time downloads
All-time downloads
52
Public
Parameters
132M
528 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors528 MB · 100%
From the Hugging Face model README
The model was pre-trained over 10 epochs on Greek Humorous Dataset
The text needs to be pre-processed by removing all greek diacritics and punctuation and converting all letters to lowercase
from transformers import CanineTokenizer, CanineForSequenceClassification
tokenizer = CanineTokenizer.from_pretrained("kallantis/Humor-Recognition-Greek-canine-s")
model = CanineForSequenceClassification.from_pretrained("kallantis/Humor-Recognition-Greek-canine-s", num_labels=2)