Spaces:
Runtime error
Runtime error
Update f.py
Browse files
f.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
-
|
|
|
2 |
import torch
|
3 |
from transformers import AutoTokenizer, AutoModel
|
4 |
tokenizer = AutoTokenizer.from_pretrained("cointegrated/rubert-tiny2")
|
|
|
1 |
+
pip install transformers sentencepiece
|
2 |
+
pip install torch
|
3 |
import torch
|
4 |
from transformers import AutoTokenizer, AutoModel
|
5 |
tokenizer = AutoTokenizer.from_pretrained("cointegrated/rubert-tiny2")
|