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

modelfix
/
phi-2-GGUF

GGUF
imatrix
Model card Files Files and versions
xet
Community

Instructions to use modelfix/phi-2-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • llama.cpp

    How to use modelfix/phi-2-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 modelfix/phi-2-GGUF
    # Run inference directly in the terminal:
    llama cli -hf modelfix/phi-2-GGUF
    Install from WinGet (Windows)
    winget install llama.cpp
    # Start a local OpenAI-compatible server with a web UI:
    llama serve -hf modelfix/phi-2-GGUF
    # Run inference directly in the terminal:
    llama cli -hf modelfix/phi-2-GGUF
    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 modelfix/phi-2-GGUF
    # Run inference directly in the terminal:
    ./llama-cli -hf modelfix/phi-2-GGUF
    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 modelfix/phi-2-GGUF
    # Run inference directly in the terminal:
    ./build/bin/llama-cli -hf modelfix/phi-2-GGUF
    Use Docker
    docker model run hf.co/modelfix/phi-2-GGUF
  • LM Studio
  • Jan
  • Ollama

    How to use modelfix/phi-2-GGUF with Ollama:

    ollama run hf.co/modelfix/phi-2-GGUF
  • Unsloth Desktop
  • Docker Model Runner

    How to use modelfix/phi-2-GGUF with Docker Model Runner:

    docker model run hf.co/modelfix/phi-2-GGUF
  • Lemonade

    How to use modelfix/phi-2-GGUF with Lemonade:

    Pull the model
    # Download Lemonade from https://lemonade-server.ai/
    lemonade pull modelfix/phi-2-GGUF
    Run and chat with the model
    lemonade run user.phi-2-GGUF-{{QUANT_TAG}}
    List all available models
    lemonade list
  • Atomic Chat
phi-2-GGUF
1.74 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
modelfix-admin's picture
modelfix-admin
Retroactive batch sync
14ce971 verified 5 months ago
  • .gitattributes
    1.59 kB
    Retroactive batch sync 5 months ago
  • microsoft_phi-2-converted.gguf
    1.74 GB
    xet
    Retroactive batch sync 5 months ago