Instructions to use BaunRobotics/phi-3-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use BaunRobotics/phi-3-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="BaunRobotics/phi-3-GGUF", filename="FP16.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use BaunRobotics/phi-3-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf BaunRobotics/phi-3-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf BaunRobotics/phi-3-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf BaunRobotics/phi-3-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf BaunRobotics/phi-3-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 BaunRobotics/phi-3-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf BaunRobotics/phi-3-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 BaunRobotics/phi-3-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf BaunRobotics/phi-3-GGUF:Q4_K_M
Use Docker
docker model run hf.co/BaunRobotics/phi-3-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use BaunRobotics/phi-3-GGUF with Ollama:
ollama run hf.co/BaunRobotics/phi-3-GGUF:Q4_K_M
- Unsloth Studio new
How to use BaunRobotics/phi-3-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 BaunRobotics/phi-3-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 BaunRobotics/phi-3-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for BaunRobotics/phi-3-GGUF to start chatting
- Docker Model Runner
How to use BaunRobotics/phi-3-GGUF with Docker Model Runner:
docker model run hf.co/BaunRobotics/phi-3-GGUF:Q4_K_M
- Lemonade
How to use BaunRobotics/phi-3-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull BaunRobotics/phi-3-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.phi-3-GGUF-Q4_K_M
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +14 -0
- FP16.gguf +3 -0
- Q2_K.gguf +3 -0
- Q3_K.gguf +3 -0
- Q3_K_M.gguf +3 -0
- Q3_K_S.gguf +3 -0
- Q4_0.gguf +3 -0
- Q4_1.gguf +3 -0
- Q4_K_M.gguf +3 -0
- Q5_0.gguf +3 -0
- Q5_1.gguf +3 -0
- Q5_K.gguf +3 -0
- Q5_K_M.gguf +3 -0
- Q5_K_S.gguf +3 -0
- Q6_K.gguf +3 -0
- Q8_0.gguf +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,17 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
FP16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Q3_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Q4_1.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Q5_1.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Q5_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
FP16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c901eb565cd031140093d257c81b6740831afb02c85dd0d419d92d2c521a883
|
| 3 |
+
size 7643296064
|
Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:42e7973a6be1b92dcd5203cf5a9be43a3b24f6cce965bc0f3afc746e64916d26
|
| 3 |
+
size 1416203072
|
Q3_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cdfaf0e852f907a11c72de4418629e26dc5158841eaa202c3912448bfddcb67a
|
| 3 |
+
size 1955475776
|
Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cdfaf0e852f907a11c72de4418629e26dc5158841eaa202c3912448bfddcb67a
|
| 3 |
+
size 1955475776
|
Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aa4f8f24b95a5229c8ebf86802f81058852ef2d09b171cd8b97ab6c65d107f3e
|
| 3 |
+
size 1681797440
|
Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c4b32f6c04b8aed6eca3cfb8a09b06993dbd6556cd810187f56a60bbe20fd6e6
|
| 3 |
+
size 2176175936
|
Q4_1.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8eff38afd9b10a925946a38e61322930e0e267bb9694022052f8387a561d417
|
| 3 |
+
size 2408824640
|
Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4c0f9d3e34119bbdf607e05497b812597543ed2ad64e721dd1454b55f81260c4
|
| 3 |
+
size 2393231168
|
Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bd0af5e6a6a90a7a931d1cb44a33687966e0ddb8cbbf66b516b00007e7b7cf19
|
| 3 |
+
size 2641473344
|
Q5_1.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:29d37e71c9be23372786296f357a82ee4f4a5f853fb4773af1d5fe77b8b9294d
|
| 3 |
+
size 2874122048
|
Q5_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd4d03906fa0604e43b4a106672a731fa5ca31f2e84a989d03b35ead84e1e4dc
|
| 3 |
+
size 2815274816
|
Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fd4d03906fa0604e43b4a106672a731fa5ca31f2e84a989d03b35ead84e1e4dc
|
| 3 |
+
size 2815274816
|
Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c1b72376bee0add041fa760c21f6cef03c1bcb3aaa390ab658a19666a7585a4
|
| 3 |
+
size 2641473344
|
Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bebe7ffe88c91121e20b7011ad9baa59f1f039d4154b91b72c1faecb041b35a4
|
| 3 |
+
size 2765582336
|
Q8_0.gguf
ADDED
|
File without changes
|