Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

afalaudn
/
gemma-embedding-ft2

Sentence Similarity
sentence-transformers
Safetensors
gemma3_text
unsloth
feature-extraction
dense
Generated from Trainer
dataset_size:4927
loss:TripletLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use afalaudn/gemma-embedding-ft2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use afalaudn/gemma-embedding-ft2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("afalaudn/gemma-embedding-ft2")
    
    sentences = [
        "organization id",
        "Primary reference table for classifying Payers into broader financial or business categories. This table groups Payers into segments such as 'Insurance Private', 'Insurance Government (BPJS)', 'Corporate', and 'Related Parties'. Use this table to aggregate revenue reporting by payer channel, analyze market segmentation (e.g., Private Insurance vs. Government Scheme), or apply high-level billing policies to groups of payers. Note: This serves as a categorization layer above the individual 'Payer' table.",
        "Operational transaction table recording unstructured free-text medical notes and preliminary clinical remarks associated with a patient admission. It captures initial diagnosis impressions, symptoms, or observation notes (e.g., 'Asthma', 'Observation Febris') entered during the admission process. Use this table to retrieve qualitative clinical context for a visit or search for specific medical conditions mentioned in preliminary notes. Note: This table contains raw free-text descriptions, NOT structured ICD-10 diagnosis codes used for billing.",
        "Operational transaction table recording every patient registration and visit event at the hospital. This table consolidates patient demographics, visit types (Inpatient, Outpatient, Emergency), primary and referral doctors, payer/insurance eligibility, and critical timelines (Admission and Discharge dates). Use this table to calculate patient census, Average Length of Stay (ALOS), track patient flow, or analyze admission volume by doctor or department. Note: This table focuses on administrative registration and billing initiation; it does not contain detailed clinical notes, specific lab results, or medication prescriptions. When analyzing patient administrative inflow and outflow data, this table is the primary and essential source for all patient visit metrics."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Unsloth Studio

    How to use afalaudn/gemma-embedding-ft2 with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for afalaudn/gemma-embedding-ft2 to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for afalaudn/gemma-embedding-ft2 to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for afalaudn/gemma-embedding-ft2 to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="afalaudn/gemma-embedding-ft2",
        max_seq_length=2048,
    )
gemma-embedding-ft2
654 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
afalaudn's picture
afalaudn
Upload model
b603436 verified 4 months ago
  • 1_Pooling
    Upload model 4 months ago
  • 2_Dense
    Upload model 4 months ago
  • 3_Dense
    Upload model 4 months ago
  • .gitattributes
    1.57 kB
    Upload model 4 months ago
  • README.md
    45.1 kB
    Upload model 4 months ago
  • added_tokens.json
    35 Bytes
    Upload model 4 months ago
  • config.json
    1.56 kB
    Upload model 4 months ago
  • config_sentence_transformers.json
    284 Bytes
    Upload model 4 months ago
  • model.safetensors
    606 MB
    xet
    Upload model 4 months ago
  • modules.json
    573 Bytes
    Upload model 4 months ago
  • sentence_bert_config.json
    57 Bytes
    Upload model 4 months ago
  • special_tokens_map.json
    662 Bytes
    Upload model 4 months ago
  • tokenizer.json
    33.4 MB
    xet
    Upload model 4 months ago
  • tokenizer.model
    4.69 MB
    xet
    Upload model 4 months ago
  • tokenizer_config.json
    1.16 MB
    Upload model 4 months ago