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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

mradermacher
/
Medra4b-65424-GGUF

Summarization
Transformers
GGUF
English
Romanian
text-generation
medical-ai
diagnostic-reasoning
gemma-3
fine-tuned
conversational
Model card Files Files and versions
xet
Community

Instructions to use mradermacher/Medra4b-65424-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use mradermacher/Medra4b-65424-GGUF with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "summarization" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("summarization", model="mradermacher/Medra4b-65424-GGUF")
    messages = [
        {"role": "user", "content": "Who are you?"},
    ]
    pipe(messages)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("mradermacher/Medra4b-65424-GGUF", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use mradermacher/Medra4b-65424-GGUF with llama.cpp:

    Install (macOS, Linux)
    curl -LsSf https://llama.app/install.sh | sh
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf mradermacher/Medra4b-65424-GGUF:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf mradermacher/Medra4b-65424-GGUF:Q4_K_M
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf mradermacher/Medra4b-65424-GGUF:Q4_K_M
    # Run inference directly in the terminal:
    llama cli -hf mradermacher/Medra4b-65424-GGUF:Q4_K_M
    Use pre-built binary
    # Download pre-built binary from:
    # https://github.com/ggerganov/llama.cpp/releases
    # Start a local OpenAI-compatible server with a web UI:
    ./llama-server -hf mradermacher/Medra4b-65424-GGUF:Q4_K_M
    # Run inference directly in the terminal:
    ./llama-cli -hf mradermacher/Medra4b-65424-GGUF:Q4_K_M
    Build from source code
    git clone https://github.com/ggerganov/llama.cpp.git
    cd llama.cpp
    cmake -B build
    cmake --build build -j --target llama-server llama-cli
    # Start a local OpenAI-compatible server with a web UI:
    ./build/bin/llama-server -hf mradermacher/Medra4b-65424-GGUF:Q4_K_M
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf mradermacher/Medra4b-65424-GGUF:Q4_K_M
    Use Docker
    docker model run hf.co/mradermacher/Medra4b-65424-GGUF:Q4_K_M
  • LM Studio
  • Jan
  • Ollama

    How to use mradermacher/Medra4b-65424-GGUF with Ollama:

    ollama run hf.co/mradermacher/Medra4b-65424-GGUF:Q4_K_M
  • Unsloth Studio

    How to use mradermacher/Medra4b-65424-GGUF 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 mradermacher/Medra4b-65424-GGUF 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 mradermacher/Medra4b-65424-GGUF to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for mradermacher/Medra4b-65424-GGUF to start chatting
  • Atomic Chat new
  • Docker Model Runner

    How to use mradermacher/Medra4b-65424-GGUF with Docker Model Runner:

    docker model run hf.co/mradermacher/Medra4b-65424-GGUF:Q4_K_M
  • Lemonade

    How to use mradermacher/Medra4b-65424-GGUF with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull mradermacher/Medra4b-65424-GGUF:Q4_K_M
    Run and chat with the model
    lemonade run user.Medra4b-65424-GGUF-Q4_K_M
    List all available models
    lemonade list
Medra4b-65424-GGUF
43 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 10 commits
mradermacher's picture
mradermacher
auto-patch README.md
c93397d verified about 1 year ago
  • .gitattributes
    2.39 kB
    uploaded from nico1 about 1 year ago
  • Medra4b-65424.IQ4_XS.gguf
    2.64 GB
    xet
    uploaded from nico1 about 1 year ago
  • Medra4b-65424.Q2_K.gguf
    1.95 GB
    xet
    uploaded from nico1 about 1 year ago
  • Medra4b-65424.Q3_K_L.gguf
    2.52 GB
    xet
    uploaded from nico1 about 1 year ago
  • Medra4b-65424.Q3_K_M.gguf
    2.39 GB
    xet
    uploaded from nico1 about 1 year ago
  • Medra4b-65424.Q3_K_S.gguf
    2.23 GB
    xet
    uploaded from nico1 about 1 year ago
  • Medra4b-65424.Q4_K_M.gguf
    2.87 GB
    xet
    uploaded from nico1 about 1 year ago
  • Medra4b-65424.Q4_K_S.gguf
    2.76 GB
    xet
    uploaded from nico1 about 1 year ago
  • Medra4b-65424.Q5_K_M.gguf
    3.29 GB
    xet
    uploaded from nico1 about 1 year ago
  • Medra4b-65424.Q5_K_S.gguf
    3.23 GB
    xet
    uploaded from nico1 about 1 year ago
  • Medra4b-65424.Q6_K.gguf
    3.74 GB
    xet
    uploaded from nico1 about 1 year ago
  • Medra4b-65424.Q8_0.gguf
    4.84 GB
    xet
    uploaded from nico1 about 1 year ago
  • Medra4b-65424.f16.gguf
    9.11 GB
    xet
    uploaded from nico1 about 1 year ago
  • Medra4b-65424.mmproj-Q8_0.gguf
    591 MB
    xet
    uploaded from nico1 about 1 year ago
  • Medra4b-65424.mmproj-f16.gguf
    851 MB
    xet
    uploaded from nico1 about 1 year ago
  • README.md
    3.74 kB
    auto-patch README.md about 1 year ago