Update README.md
Browse files
README.md
CHANGED
@@ -19,7 +19,7 @@ Datasets:
|
|
19 |
- English language data: [Kaggle: News Headlines Dataset For Sarcasm Detection]([https://www.kaggle.com/datasets/rmisra/news-headlines-dataset-for-sarcasm-detection]).
|
20 |
|
21 |
Codebase:
|
22 |
-
- Git Repo: [Official repository](
|
23 |
|
24 |
---
|
25 |
|
@@ -31,7 +31,7 @@ from transformers import AutoTokenizer
|
|
31 |
import string
|
32 |
|
33 |
def preprocess_data(text: str) -> str:
|
34 |
-
return text.lower().translate(str.maketrans("", "", string.punctuation)).strip()
|
35 |
|
36 |
MODEL_PATH = "helinivan/english-sarcasm-detector"
|
37 |
|
|
|
19 |
- English language data: [Kaggle: News Headlines Dataset For Sarcasm Detection]([https://www.kaggle.com/datasets/rmisra/news-headlines-dataset-for-sarcasm-detection]).
|
20 |
|
21 |
Codebase:
|
22 |
+
- Git Repo: [Official repository](https://github.com/helinivan/multilingual-sarcasm-detector).
|
23 |
|
24 |
---
|
25 |
|
|
|
31 |
import string
|
32 |
|
33 |
def preprocess_data(text: str) -> str:
|
34 |
+
return text.lower().translate(str.maketrans("", "", string.punctuation)).strip()
|
35 |
|
36 |
MODEL_PATH = "helinivan/english-sarcasm-detector"
|
37 |
|