Downloads · 30 days
16
1% of all-time downloads
ClovenDoug/tiny_64_all-MiniLM-L6-v2
tiny_64_all-MiniLM-L6-v2 is a feature extraction model from ClovenDoug. Use it when you need embeddings to search or compare text. It is set up for transformers.
Downloads · 30 days
16
1% of all-time downloads
All-time downloads
1.6K
Public
Parameters
22.7M
91 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors90.9 MB · 99%
From the Hugging Face model README
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("ClovenDoug/tiny_64_all-MiniLM-L6-v2")
sentence_one = "I like cats"
embedding = model.encode(sentence_one)
print(embedding)
This is a sentence-transformers model:
It maps sentences & paragraphs to a 64 dimensional dense vector space and can be used for tasks like clustering or semantic search.
This gives it faster similarity comparison time although inference time will remain about the same.
This model was made using knowledge distillation techniques on the original 384 dimensional all-MiniLM-L6-v2 model.
The script for distilling this model into various sizes can be found here:
https://github.com/dorenwick/sentence_encoder_distillation
Using this model becomes easy when you have sentence-transformers installed: