File size: 857 Bytes
189be44
 
cf03736
 
 
 
 
189be44
cf03736
 
 
 
189be44
 
 
 
 
cf03736
 
 
189be44
cf03736
 
189be44
cf03736
189be44
cf03736
 
189be44
cf03736
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
library_name: transformers
datasets:
- kallantis/Greek-Humorous-Dataset
language:
- el
pipeline_tag: text-classification
---
#
#
# This model is based on DistilBERT base multilingual ("distilbert/distilbert-base-multilingual-cased") fine-tuned for Humor Recognition in Greek language.
# 



## Model Details

The model was pre-trained 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 DistilBertTokenizer, DistilBertForSequenceClassification

tokenizer = DistilBertTokenizer.from_pretrained("kallantis/Humor-Recognition-Greek-canine-s")
model = DistilBertForSequenceClassification.from_pretrained("kallantis/Humor-Recognition-Greek-canine-s", num_labels=2)
```