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

  • Log In
  • Sign Up

Jaume
/
gemma-2b-embeddings

Sentence Similarity
sentence-transformers
Safetensors
gemma
feature-extraction
mteb
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use Jaume/gemma-2b-embeddings with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Jaume/gemma-2b-embeddings with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Jaume/gemma-2b-embeddings")
    
    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
gemma-2b-embeddings
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Jaume's picture
Jaume
Update README.md
86431f6 verified almost 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. almost 2 years ago
  • .gitattributes
    1.57 kB
    Add new SentenceTransformer model. almost 2 years ago
  • README.md
    5.67 kB
    Update README.md almost 2 years ago
  • config.json
    697 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • model-00001-of-00003.safetensors
    4.91 GB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • model-00002-of-00003.safetensors
    4.98 GB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • model-00003-of-00003.safetensors
    134 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • model.safetensors.index.json
    12.5 kB
    Add new SentenceTransformer model. almost 2 years ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • sentence_bert_config.json
    54 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • special_tokens_map.json
    636 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer.json
    17.5 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer.model
    4.24 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer_config.json
    40 kB
    Add new SentenceTransformer model. almost 2 years ago