Downloads · 30 days
11
27% of all-time downloads
Kalloniatis/Humor-Recognition-Greek-DistilBERT
Humor-Recognition-Greek-DistilBERT 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.
Downloads · 30 days
11
27% of all-time downloads
All-time downloads
41
Public
Parameters
135M
1.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors541 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 DistilBertTokenizer, DistilBertForSequenceClassification
tokenizer = DistilBertTokenizer.from_pretrained("kallantis/Humor-Recognition-Greek-DistilBERT")
model = DistilBertForSequenceClassification.from_pretrained("kallantis/Humor-Recognition-Greek-DistilBERT", num_labels=2)