Instructions to use ggml-org/gpt-oss-120b-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 ggml-org/gpt-oss-120b-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 ggml-org/gpt-oss-120b-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf ggml-org/gpt-oss-120b-GGUF:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf ggml-org/gpt-oss-120b-GGUF:BF16 # Run inference directly in the terminal: llama cli -hf ggml-org/gpt-oss-120b-GGUF:BF16
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 ggml-org/gpt-oss-120b-GGUF:BF16 # Run inference directly in the terminal: ./llama-cli -hf ggml-org/gpt-oss-120b-GGUF:BF16
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 ggml-org/gpt-oss-120b-GGUF:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf ggml-org/gpt-oss-120b-GGUF:BF16
Use Docker
docker model run hf.co/ggml-org/gpt-oss-120b-GGUF:BF16
- LM Studio
- Jan
- vLLM
How to use ggml-org/gpt-oss-120b-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ggml-org/gpt-oss-120b-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ggml-org/gpt-oss-120b-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ggml-org/gpt-oss-120b-GGUF:BF16
- Ollama
How to use ggml-org/gpt-oss-120b-GGUF with Ollama:
ollama run hf.co/ggml-org/gpt-oss-120b-GGUF:BF16
- Unsloth Desktop
- Pi
How to use ggml-org/gpt-oss-120b-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ggml-org/gpt-oss-120b-GGUF:BF16
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "ggml-org/gpt-oss-120b-GGUF:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use ggml-org/gpt-oss-120b-GGUF with Docker Model Runner:
docker model run hf.co/ggml-org/gpt-oss-120b-GGUF:BF16
- Lemonade
How to use ggml-org/gpt-oss-120b-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull ggml-org/gpt-oss-120b-GGUF:BF16
Run and chat with the model
lemonade run user.gpt-oss-120b-GGUF-BF16
List all available models
lemonade list
- Hermes Agent
How to use ggml-org/gpt-oss-120b-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ggml-org/gpt-oss-120b-GGUF:BF16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default ggml-org/gpt-oss-120b-GGUF:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use ggml-org/gpt-oss-120b-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf ggml-org/gpt-oss-120b-GGUF:BF16
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "ggml-org/gpt-oss-120b-GGUF:BF16" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload folder using huggingface_hub
Browse files- .gitattributes +1 -0
- .src_sha +1 -0
- README.md +14 -7
- convert.log +0 -0
- gpt-oss-120b-MXFP4.gguf +3 -0
.gitattributes
CHANGED
|
@@ -36,3 +36,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 36 |
gpt-oss-120b-mxfp4-00001-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
gpt-oss-120b-mxfp4-00002-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
gpt-oss-120b-mxfp4-00003-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 36 |
gpt-oss-120b-mxfp4-00001-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
gpt-oss-120b-mxfp4-00002-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
gpt-oss-120b-mxfp4-00003-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
gpt-oss-120b-MXFP4.gguf filter=lfs diff=lfs merge=lfs -text
|
.src_sha
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
PRIMARY=b5c939de8f754692c1647ca79fbf85e8c1e70f8a
|
README.md
CHANGED
|
@@ -1,17 +1,24 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
base_model:
|
| 3 |
- openai/gpt-oss-120b
|
| 4 |
---
|
|
|
|
| 5 |
# gpt-oss-120b
|
| 6 |
|
| 7 |
-
|
| 8 |
|
| 9 |
-
|
|
|
|
|
|
|
| 10 |
|
| 11 |
-
|
|
|
|
| 12 |
|
| 13 |
-
|
| 14 |
-
llama-server -hf ggml-org/gpt-oss-120b-GGUF -c 0 --jinja
|
| 15 |
|
| 16 |
-
|
| 17 |
-
|
|
|
|
| 1 |
---
|
| 2 |
+
license: other
|
| 3 |
+
tags:
|
| 4 |
+
- gguf
|
| 5 |
+
- quantized
|
| 6 |
base_model:
|
| 7 |
- openai/gpt-oss-120b
|
| 8 |
---
|
| 9 |
+
|
| 10 |
# gpt-oss-120b
|
| 11 |
|
| 12 |
+
Run with https://llama.app
|
| 13 |
|
| 14 |
+
```bash
|
| 15 |
+
llama serve -hf ggml-org/gpt-oss-120b-GGUF
|
| 16 |
+
```
|
| 17 |
|
| 18 |
+
### Source models
|
| 19 |
+
- https://huggingface.co/openai/gpt-oss-120b
|
| 20 |
|
| 21 |
+
### TODOs
|
|
|
|
| 22 |
|
| 23 |
+
- add info
|
| 24 |
+
- add eagle3
|
convert.log
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
gpt-oss-120b-MXFP4.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:582bd40f6886200101f4c4ed9f25f3fe80cc14c86e9e2b37746cd8904a0c622d
|
| 3 |
+
size 63387346208
|