Downloads · 30 days
61
5% of all-time downloads
kornwtp/simcse-model-wangchanberta
simcse-model-wangchanberta is a sentence similarity model from kornwtp. Use it when you need a score for how close two texts are. It is set up for sentence-transformers. The card lists the license as apache-2.0.
This is a sentence-transformers model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
Downloads · 30 days
61
5% of all-time downloads
All-time downloads
1.3K
Public
Repo size
843 MB
Likes
0
Public
Click a slice to open those files.
.bin421 MB · 99%
From the Hugging Face model README
This is a sentence-transformers model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
<!--- Describe your model here -->We use SimCSE here and training the model with Thai Wikipedia here
Using this model becomes easy when you have sentence-transformers installed:
pip install -U sentence-transformers
Then you can use the model like this:
from sentence_transformers import SentenceTransformer
sentences = ["กลุ่มผู้ชายเล่นฟุตบอลบนชายหาด", "กลุ่มเด็กชายกำลังเล่นฟุตบอลบนชายหาด"]
model = SentenceTransformer('{MODEL_NAME}')
embeddings = model.encode(sentences)
print(embeddings)