helinivan commited on
Commit
81d000d
1 Parent(s): 5208add

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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]([https://github.com/helinivan/multilingual-sarcasm-detector]).
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