pedro-thenewsroom commited on
Commit
f193c7f
·
verified ·
1 Parent(s): 6d303d4

Update tasks/text.py

Browse files
Files changed (1) hide show
  1. 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
- # 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
 
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