Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,10 +19,10 @@ import io
|
|
19 |
from transformers import AutoTokenizer, AutoModel
|
20 |
from utils import best_text_choice
|
21 |
|
22 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
23 |
-
model = AutoModel.from_pretrained("
|
24 |
# Load the DataFrame used in the best_text_choice function
|
25 |
-
unique_sms_df = pd.read_parquet('
|
26 |
|
27 |
MISTRAL_API_KEY = os.getenv('MISTRAL_API_KEY')
|
28 |
token = os.getenv('GITHUB_TOKEN')
|
|
|
19 |
from transformers import AutoTokenizer, AutoModel
|
20 |
from utils import best_text_choice
|
21 |
|
22 |
+
tokenizer = AutoTokenizer.from_pretrained("Sergeyzh/rubert-tiny-turbo")
|
23 |
+
model = AutoModel.from_pretrained("Sergeyzh/rubert-tiny-turbo")
|
24 |
# Load the DataFrame used in the best_text_choice function
|
25 |
+
unique_sms_df = pd.read_parquet('embeddings_tiny_bert.parquet')
|
26 |
|
27 |
MISTRAL_API_KEY = os.getenv('MISTRAL_API_KEY')
|
28 |
token = os.getenv('GITHUB_TOKEN')
|