Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

RobBobin
/
math-embed

Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
mathematics
scientific-papers
retrieval
matryoshka
text-embeddings-inference
Model card Files Files and versions
xet
Community

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
math-embed / paper
454 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
RobBobin's picture
RobBobin
Upload paper/math_embeddings.pdf with huggingface_hub
590dd67 verified 2 months ago
  • math_embeddings.pdf
    434 kB
    xet
    Upload paper/math_embeddings.pdf with huggingface_hub 2 months ago
  • math_embeddings.tex
    20 kB
    Upload paper/math_embeddings.tex with huggingface_hub 2 months ago