gahyunlee commited on
Commit
feb3d02
·
verified ·
1 Parent(s): 3af7fa5

Upload preprocessing.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. preprocessing.py +5 -0
preprocessing.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+
2
+ def preprocess_input(text):
3
+ text = text.replace(", ", ",").replace(",", ", ")
4
+ text = text.replace(": ", ":").replace(":", ": ")
5
+ return text