Spaces:
Sleeping
Sleeping
Update bert_strim.py
Browse files- bert_strim.py +1 -0
bert_strim.py
CHANGED
@@ -4,6 +4,7 @@ import torch
|
|
4 |
from bert_file import BERTClassifier
|
5 |
import numpy as np
|
6 |
|
|
|
7 |
tokenizer = AutoTokenizer.from_pretrained("cointegrated/rubert-tiny2")
|
8 |
model = BERTClassifier()
|
9 |
device = 'cpu'
|
|
|
4 |
from bert_file import BERTClassifier
|
5 |
import numpy as np
|
6 |
|
7 |
+
|
8 |
tokenizer = AutoTokenizer.from_pretrained("cointegrated/rubert-tiny2")
|
9 |
model = BERTClassifier()
|
10 |
device = 'cpu'
|