gastroenterology-gemma-300m-emb
2
1
—
by
yasserrmd
Embedding Model
OTHER
1705.00652B params
New
2 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
3811GB+ RAM
Mobile
Laptop
Server
Quick Summary
SentenceTransformer based on google/embeddinggemma-300m This is a sentence-transformers model finetuned from google/embeddinggemma-300m.
Device Compatibility
Mobile
4-6GB RAM
Laptop
16GB RAM
Server
GPU
Minimum Recommended
1588GB+ RAM
Training Data Analysis
🟡 Average (4.3/10)
Researched training datasets used by gastroenterology-gemma-300m-emb with quality assessment
Specialized For
general
science
multilingual
reasoning
Training Datasets (3)
common crawl
🔴 2.5/10
general
science
Key Strengths
- •Scale and Accessibility: At 9.5+ petabytes, Common Crawl provides unprecedented scale for training d...
- •Diversity: The dataset captures billions of web pages across multiple domains and content types, ena...
- •Comprehensive Coverage: Despite limitations, Common Crawl attempts to represent the broader web acro...
Considerations
- •Biased Coverage: The crawling process prioritizes frequently linked domains, making content from dig...
- •Large-Scale Problematic Content: Contains significant amounts of hate speech, pornography, violent c...
wikipedia
🟡 5/10
science
multilingual
Key Strengths
- •High-Quality Content: Wikipedia articles are subject to community review, fact-checking, and citatio...
- •Multilingual Coverage: Available in 300+ languages, enabling training of models that understand and ...
- •Structured Knowledge: Articles follow consistent formatting with clear sections, allowing models to ...
Considerations
- •Language Inequality: Low-resource language editions have significantly lower quality, fewer articles...
- •Biased Coverage: Reflects biases in contributor demographics; topics related to Western culture and ...
arxiv
🟡 5.5/10
science
reasoning
Key Strengths
- •Scientific Authority: Peer-reviewed content from established repository
- •Domain-Specific: Specialized vocabulary and concepts
- •Mathematical Content: Includes complex equations and notation
Considerations
- •Specialized: Primarily technical and mathematical content
- •English-Heavy: Predominantly English-language papers
Explore our comprehensive training dataset analysis
View All DatasetsCode Examples
Usagebash
pip install -U sentence-transformersUsagepython
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("yasserrmd/gastroenterology-gemma-300m-emb")
# Run inference
queries = [
"What are the hepatic manifestations and treatment options for individuals with Alagille syndrome (ALGS)?",
]
documents = [
'The hepatic manifestations of ALGS typically include severe pruritus and disfiguring xanthomas. Treatment options for ALGS-related liver disease primarily involve supportive measures, such as choleretic agents (e.g., ursodeoxycholic acid), medications for itch relief (e.g., cholestyramine, rifampin, naltrexone), and surgical biliary diversion procedures (e.g., partial internal biliary diversion, ileal exclusion). The Kasai procedure, commonly used for biliary atresia, is not recommended for ALGS individuals as it may worsen the outcome. Liver transplantation is also an option and has shown an 80% 5-year survival rate, with most affected individuals experiencing catch-up growth.',
'The Kimura-Takemoto classification is a system used to assess gastric mucosal atrophy. It identifies different atrophic patterns based on characteristic features observed during endoscopy. These patterns include C1 (atrophic mucosa in the antrum only), C2 (atrophic mucosa at the gastric angle or in the lower corpus), C3 (atrophic mucosa also found in the upper corpus), O1 (atrophic mucosa surrounds the gastric cardia, but the folds of the great curvature are maintained), O3 (entire gastric mucosa is atrophic, and the folds of the greater curvature disappear), and O2 (an intermediate condition between O1 and O3).',
'Probiotics are living microorganisms that can have beneficial effects on the body. Studies have shown that probiotics can effectively attenuate alcoholic liver disease and improve liver function. They achieve these effects by maintaining the balance of intestinal microbiota, activating the endogenous microbial community, and regulating the immune system. Probiotics have been used in the treatment of alcoholic liver disease, with some strains, such as Lactobacillus rhamnosus GG (LGG), showing effectiveness in increasing the number of beneficial bacteria in the gut and altering serum levels of certain liver enzymes and bilirubin.',
]
query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)
print(query_embeddings.shape, document_embeddings.shape)
# [1, 768] [3, 768]
# Get the similarity scores for the embeddings
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
# tensor([[0.6757, 0.0341, 0.0612]])Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.