Edit model card

Based on xlm-mlm-100-1280 ("FacebookAI/xlm-mlm-100-1280") this model was 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 XLMTokenizer, XLMForSequenceClassification
import torch
import tensorflow as tf

tokenizer = XLMTokenizer.from_pretrained('kallantis/Humor-Recognition-Greek-xlm-mlm-100')

model = XLMForSequenceClassification.from_pretrained('kallantis/Humor-Recognition-Greek-xlm-mlm-100',num_labels=2, ignore_mismatched_sizes=True)
Downloads last month
2
Safetensors
Model size
571M params
Tensor type
F32
·
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Dataset used to train Kalloniatis/Humor-Recognition-Greek-xlm-mlm-100