Instructions to use lier007/xiaobu-embedding-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use lier007/xiaobu-embedding-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("lier007/xiaobu-embedding-v2") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add exported onnx model 'model.onnx' (#8)
Verified signature- Add exported onnx model 'model.onnx' (106496b8b7f75fccf9396185cdbc0900184a1115) Co-authored-by: Kunlin Tan <linlinlin@users.noreply.huggingface.co>1912f2e -
Adding `safetensors` variant of this model (#7)
Verified signature- Adding `safetensors` variant of this model (a385ba546feb14739b721a2b1c2910d430bb9e4a) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>cbd1c24
-
Set `library_name` as Sentence Transformers (#1)
Verified signature- Set `library_name` as Sentence Transformers (d1718de109560003f46d209d7f392c35c912e078) Co-authored-by: Tom Aarsen <tomaarsen@users.noreply.huggingface.co>ee0b4ec -
init commit
803721461878ca3 -
initial commit
Verified signature2e35727