|
--- |
|
library_name: transformers |
|
license: apache-2.0 |
|
datasets: |
|
- kallantis/Greek-Humorous-Dataset |
|
language: |
|
- el |
|
pipeline_tag: text-classification |
|
--- |
|
# |
|
# |
|
# This model based on Multilingual MiniLM ("microsoft/Multilingual-MiniLM-L12-H384") 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 AutoTokenizer, AutoModelForSequenceClassification |
|
|
|
tokenizer = AutoTokenizer.from_pretrained("kallantis/Humor-Recognition-Greek-Multilingual-MiniLM") |
|
model = AutoModelForSequenceClassification.from_pretrained("kallantis/Humor-Recognition-Greek-Multilingual-MiniLM") |
|
``` |