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)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Sailesh97/Hinvec", trust_remote_code=True, device_map="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
-
Update README.md
Verified signature3cc69de
-
Handling None type attention-mask
Ubuntud4fc678
-
Adding sentence bert config.
Ubuntu5e69ce3 -
Replace model.safetensors with updated weights
Ubuntu3e31687
-
Update README.md
Verified signature688f982 -
Update README.md
Verified signature6baa44d -
Update README.md
Verified signatureb7611c4 -
Update README.md
Verified signature42387a4 -
.
Ubuntu772aa37
-
Upload config.json with huggingface_hub
Verified signatureb058a2f -
Upload folder using huggingface_hub
Verified signaturecdbec7c -
initial commit
Verified signature2f0baca