Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:25551
loss:OnlineContrastiveLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use yahyaabd/allstats-search-miniLM-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use yahyaabd/allstats-search-miniLM-v1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("yahyaabd/allstats-search-miniLM-v1") sentences = [ "Berapa gaji ratarata buruhkaryawan di Indonesia lihat dari umur dan lapangan pekerjaannya 2019", "Rasio laju peningkatan konsumsi tanah dengan laju pertumbuhan penduduk", "Rata-rata UpahGaji Bersih sebulan Buruh/Karyawan Pegawai Menurut Kelompok Umur dan lapangan pekerjaan utama, 2019", "Ringkasan Neraca Arus Dana, Triwulan Pertama, 2005, (Miliar Rupiah)" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!