Update README.md
Browse files
README.md
CHANGED
@@ -27,7 +27,7 @@ Scraped data:
|
|
27 |
- Italian sarcastic news from [Lercio]([https://www.lercio.it])
|
28 |
|
29 |
Codebase:
|
30 |
-
- Git Repo: [Official repository](
|
31 |
|
32 |
---
|
33 |
|
@@ -39,7 +39,7 @@ from transformers import AutoTokenizer
|
|
39 |
import string
|
40 |
|
41 |
def preprocess_data(text: str) -> str:
|
42 |
-
return text.lower().translate(str.maketrans("", "", string.punctuation)).strip()
|
43 |
|
44 |
MODEL_PATH = "helinivan/multilingual-sarcasm-detector"
|
45 |
|
|
|
27 |
- Italian sarcastic news from [Lercio]([https://www.lercio.it])
|
28 |
|
29 |
Codebase:
|
30 |
+
- Git Repo: [Official repository](https://github.com/helinivan/multilingual-sarcasm-detector)
|
31 |
|
32 |
---
|
33 |
|
|
|
39 |
import string
|
40 |
|
41 |
def preprocess_data(text: str) -> str:
|
42 |
+
return text.lower().translate(str.maketrans("", "", string.punctuation)).strip()
|
43 |
|
44 |
MODEL_PATH = "helinivan/multilingual-sarcasm-detector"
|
45 |
|