Downloads · 30 days
4
13% of all-time downloads
alphaedge-ai/embeddinggemma-pms-16384
embeddinggemma-pms-16384 is a fill-mask model from alphaedge-ai. Use it when you need the model to fill a missing word. It is set up for transformers.
This model is a 62.3% smaller version of google/embeddinggemma-300m optimized for Piedmontese language via vocabulary trimming mined on Lumberjackk/fineweb-2-trimming.
Downloads · 30 days
4
13% of all-time downloads
All-time downloads
32
Public
Parameters
114M
475 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors475 MB · 100%
From the Hugging Face model README
This model is a 62.3% smaller version of google/embeddinggemma-300m optimized for Piedmontese language via vocabulary trimming mined on Lumberjackk/fineweb-2-trimming.
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("embeddinggemma-pms-16384")
# Run inference with queries and documents
query = "My query"
documents = [
"Chunk 1",
"Chunk 2",
"Chunk 3",
]
query_embeddings = model.encode_query(query)
document_embeddings = model.encode_document(documents)
print(query_embeddings.shape, document_embeddings.shape)
# Compute similarities to determine a ranking
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)