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

VishavGarg
/
fieldmedic-gemma-4-e2b-lora

Text Generation
PEFT
Safetensors
medical
triage
on-device
mobile
lora
unsloth
gemma-4
first-aid
offline
conversational
Model card Files Files and versions
xet
Community

Instructions to use VishavGarg/fieldmedic-gemma-4-e2b-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use VishavGarg/fieldmedic-gemma-4-e2b-lora with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("unsloth/gemma-4-e2b-it-unsloth-bnb-4bit")
    model = PeftModel.from_pretrained(base_model, "VishavGarg/fieldmedic-gemma-4-e2b-lora")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Unsloth Studio new

    How to use VishavGarg/fieldmedic-gemma-4-e2b-lora 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 VishavGarg/fieldmedic-gemma-4-e2b-lora 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 VishavGarg/fieldmedic-gemma-4-e2b-lora to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for VishavGarg/fieldmedic-gemma-4-e2b-lora to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="VishavGarg/fieldmedic-gemma-4-e2b-lora",
        max_seq_length=2048,
    )
fieldmedic-gemma-4-e2b-lora
156 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
VishavGarg's picture
VishavGarg
Update README.md
a9800c0 verified 4 days ago
  • .gitattributes
    1.57 kB
    FieldMedic Gemma 4 E2B LoRA (420 examples, 3 epochs) 5 days ago
  • README.md
    5.5 kB
    Update README.md 4 days ago
  • adapter_config.json
    1.27 kB
    FieldMedic Gemma 4 E2B LoRA (420 examples, 3 epochs) 5 days ago
  • adapter_model.safetensors
    124 MB
    xet
    FieldMedic Gemma 4 E2B LoRA (420 examples, 3 epochs) 5 days ago
  • chat_template.jinja
    16.8 kB
    FieldMedic Gemma 4 E2B LoRA (420 examples, 3 epochs) 5 days ago
  • processor_config.json
    1.69 kB
    FieldMedic Gemma 4 E2B LoRA (420 examples, 3 epochs) 5 days ago
  • tokenizer.json
    32.2 MB
    xet
    FieldMedic Gemma 4 E2B LoRA (420 examples, 3 epochs) 5 days ago
  • tokenizer_config.json
    6.86 kB
    FieldMedic Gemma 4 E2B LoRA (420 examples, 3 epochs) 5 days ago