jonathanjordan21 commited on
Commit
f897f91
·
verified ·
1 Parent(s): 9980459

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -79,6 +79,9 @@ undetected = "099 - Lainnya/Tidak Terdeteksi"
79
  # model_id = "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2"
80
  # model_id = "Alibaba-NLP/gte-multilingual-base"
81
  model_id = "BAAI/bge-m3"
 
 
 
82
  model = SentenceTransformer(model_id, trust_remote_code=True)
83
 
84
  codes_emb = model.encode([x[6:] for x in codes])
 
79
  # model_id = "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2"
80
  # model_id = "Alibaba-NLP/gte-multilingual-base"
81
  model_id = "BAAI/bge-m3"
82
+ model_id = "sentence-transformers/paraphrase-multilingual-mpnet-base-v2"
83
+ model_id = "intfloat/multilingual-e5-small"
84
+ # model_id = "sentence-transformers/distiluse-base-multilingual-cased-v2"
85
  model = SentenceTransformer(model_id, trust_remote_code=True)
86
 
87
  codes_emb = model.encode([x[6:] for x in codes])