Sentence Similarity
sentence-transformers
Safetensors
embedding_gemma2
feature-extraction
dense
Generated from Trainer
dataset_size:346930
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
Instructions to use flyyinghui/embeddinggemma-2-lean with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use flyyinghui/embeddinggemma-2-lean with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("flyyinghui/embeddinggemma-2-lean") sentences = [ "U card", "region", "clique", "tokens" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!