Spaces:
Sleeping
Sleeping
jonathanjordan21
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -76,8 +76,10 @@ codes = """001 - Pendaftaran Kendaraan (Baru)
|
|
76 |
|
77 |
undetected = "099 - Lainnya/Tidak Terdeteksi"
|
78 |
|
|
|
|
|
|
|
79 |
|
80 |
-
model = SentenceTransformer('sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2')
|
81 |
codes_emb = model.encode(codes)
|
82 |
|
83 |
def respond(
|
|
|
76 |
|
77 |
undetected = "099 - Lainnya/Tidak Terdeteksi"
|
78 |
|
79 |
+
# model_id = "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2"
|
80 |
+
model_id = "Alibaba-NLP/gte-multilingual-base"
|
81 |
+
model = SentenceTransformer(model_id, trust_remote_code=True)
|
82 |
|
|
|
83 |
codes_emb = model.encode(codes)
|
84 |
|
85 |
def respond(
|