Update tasks/text.py
Browse files- tasks/text.py +2 -2
tasks/text.py
CHANGED
@@ -14,8 +14,8 @@ DESCRIPTION = "Efficient embedding-based classification with similarity threshol
|
|
14 |
ROUTE = "/text"
|
15 |
|
16 |
# Load custom embedding model
|
17 |
-
|
18 |
-
model_name = "pedro-thenewsroom/climate-misinfo-embed-8bit"
|
19 |
embedding_model = SentenceTransformer(model_name)
|
20 |
|
21 |
# Define label mapping
|
|
|
14 |
ROUTE = "/text"
|
15 |
|
16 |
# Load custom embedding model
|
17 |
+
model_name = "pedro-thenewsroom/climate-misinfo-embed"
|
18 |
+
# model_name = "pedro-thenewsroom/climate-misinfo-embed-8bit"
|
19 |
embedding_model = SentenceTransformer(model_name)
|
20 |
|
21 |
# Define label mapping
|