jonathanjordan21 commited on
Commit
34c95c1
·
verified ·
1 Parent(s): 5b4b168

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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(