Instructions to use unsloth/embeddinggemma-300m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use unsloth/embeddinggemma-300m with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("unsloth/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] - Inference
- Notebooks
- Google Colab
- Kaggle
Critical error since some weights are not initialized
#1
by njoshi22 - opened
I have the latest unsloth & others but can't seem to resolve this - any ideas?
they aint supporting embedding model
then why is it here
then why is it here
idk lol
danielhanchen changed discussion status to closed