Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
mathematics
scientific-papers
retrieval
matryoshka
text-embeddings-inference
Instructions to use RobBobin/math-embed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use RobBobin/math-embed with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("RobBobin/math-embed") 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] - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
590dd67 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:37f101af6add9127f6bdca0936e975aeb45a082d4cd656d5b35d1803389b30a9
size 434204
|