Antony Kalloniatis
Update README.md
1c4cd2d verified
metadata
language:
  - el
library_name: transformers
datasets:
  - kallantis/Greek-Humorous-Dataset
pipeline_tag: text-classification

This model is based on mDeBERTa multilingual model ("distilbert/distilbert-base-multilingual-cased") 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

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)