CoolFace
Modelpublic

Kalloniatis/Humor-Recognition-Greek-canine-s

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes13downloads
Model Card

# #

This model is based on Canine-s model ("google/canine-s ") fine-tuned for Humor Recognition in Greek language.

Model Details

The model was pre-trained over 10 epochs on Greek Humorous Dataset #

Pre-processing details

The text needs to be pre-processed by removing all greek diacritics and punctuation and converting all letters to lowercase

Load Pretrained Model

python
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)