Sentence Similarity
sentence-transformers
PyTorch
Transformers
bert
feature-extraction
text-embeddings-inference
Instructions to use omarelsayeed/intra_sample_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use omarelsayeed/intra_sample_model with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("omarelsayeed/intra_sample_model") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use omarelsayeed/intra_sample_model with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("omarelsayeed/intra_sample_model") model = AutoModel.from_pretrained("omarelsayeed/intra_sample_model") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 2dfaee61bca9ca239ea4e816b1f4ff66e5c3dfe4545f276d35180f5d7a95bf2d
- Size of remote file:
- 46.2 MB
- SHA256:
- f9f59ceb4c5ed27d084475090eab5ae6326986828725714247f7463538e45d7c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.