Instructions to use afg1/phi-3.1-medium 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 afg1/phi-3.1-medium 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 afg1/phi-3.1-medium:Q4_K_M # Run inference directly in the terminal: llama cli -hf afg1/phi-3.1-medium:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf afg1/phi-3.1-medium:Q4_K_M # Run inference directly in the terminal: llama cli -hf afg1/phi-3.1-medium:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf afg1/phi-3.1-medium:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf afg1/phi-3.1-medium:Q4_K_M
Use Docker
docker model run hf.co/afg1/phi-3.1-medium:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use afg1/phi-3.1-medium with Ollama:
ollama run hf.co/afg1/phi-3.1-medium:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use afg1/phi-3.1-medium with Docker Model Runner:
docker model run hf.co/afg1/phi-3.1-medium:Q4_K_M
- Lemonade
How to use afg1/phi-3.1-medium with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull afg1/phi-3.1-medium:Q4_K_M
Run and chat with the model
lemonade run user.phi-3.1-medium-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload phi3.1-medium-Q6_K.gguf with huggingface_hub
Browse filesFiles changed (2)
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textphi3.1-medium-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
123version https://git-lfs.github.com/spec/v1oid sha256:361a794276177973fd0c09d79e8a96370682e60e7d85726b88ca686b420d8508size 11453817440.gitattributes+1
phi3.1-medium-Q6_K.ggufAdded+3