Spaces:
Runtime error
Runtime error
Shchushch
commited on
Commit
·
9926f63
1
Parent(s):
a7055be
nltk3
Browse files
find.py
CHANGED
@@ -14,7 +14,7 @@ import faiss
|
|
14 |
from tqdm import tqdm
|
15 |
tokenizer = AutoTokenizer.from_pretrained("cointegrated/rubert-tiny2")
|
16 |
model = AutoModel.from_pretrained("cointegrated/rubert-tiny2")
|
17 |
-
|
18 |
# nltk.download('stopwords')
|
19 |
#eng_stop_words = stopwords.words('english')
|
20 |
with open('russian.txt', 'r') as f:
|
|
|
14 |
from tqdm import tqdm
|
15 |
tokenizer = AutoTokenizer.from_pretrained("cointegrated/rubert-tiny2")
|
16 |
model = AutoModel.from_pretrained("cointegrated/rubert-tiny2")
|
17 |
+
nltk.download('averaged_perceptron_tagger')
|
18 |
# nltk.download('stopwords')
|
19 |
#eng_stop_words = stopwords.words('english')
|
20 |
with open('russian.txt', 'r') as f:
|