Feature Extraction
Transformers
Safetensors
sentence-transformers
English
Hindi
bidir_mistral
sentence-similarity
custom_code
Instructions to use Sailesh97/Hinvec with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sailesh97/Hinvec with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Sailesh97/Hinvec", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Sailesh97/Hinvec", trust_remote_code=True, dtype="auto") - sentence-transformers
How to use Sailesh97/Hinvec with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Sailesh97/Hinvec", trust_remote_code=True) 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
Handling None type attention-mask d4fc678
Ubuntu commited on
Adding sentence bert config. 5e69ce3
Ubuntu commited on
Replace model.safetensors with updated weights 3e31687
Ubuntu commited on
Update README.md 688f982 verified
Update README.md 6baa44d verified
Update README.md b7611c4 verified
Update README.md 42387a4 verified
. 772aa37
Ubuntu commited on