Instructions to use litert-community/embeddinggemma-300m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use litert-community/embeddinggemma-300m with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("litert-community/embeddinggemma-300m") 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
Update README.md
#3 opened 5 months ago
by
snnn001
LiteRT.js compatibility
#2 opened 5 months ago
by
fosple
.task or tflitelm
🔥 12
3
#1 opened 10 months ago
by
VaLtEc-BoY