Commit
·
b06e000
1
Parent(s):
7f5123d
Update functions.py
Browse files- functions.py +1 -1
functions.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
from transformers import AutoTokenizer, AutoConfig, AutoModelForSequenceClassification
|
2 |
from scipy.special import softmax
|
3 |
-
|
4 |
# Define the preprocess function
|
5 |
def preprocess(text):
|
6 |
new_text = []
|
|
|
1 |
from transformers import AutoTokenizer, AutoConfig, AutoModelForSequenceClassification
|
2 |
from scipy.special import softmax
|
3 |
+
import emoji
|
4 |
# Define the preprocess function
|
5 |
def preprocess(text):
|
6 |
new_text = []
|