How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="ggml-org/gpt-oss-20b-GGUF",
	filename="gpt-oss-20b-mxfp4.gguf",
)
llm.create_chat_completion(
	messages = "No input example has been defined for this model task."
)

gpt-oss-20b

Detailed guide for using this model with llama.cpp:

https://github.com/ggml-org/llama.cpp/discussions/15396

Quick start:

llama-server -hf ggml-org/gpt-oss-20b-GGUF -c 0 --jinja

# Then, access http://localhost:8080
Downloads last month
65,646
GGUF
Model size
21B params
Architecture
gpt-oss
Hardware compatibility
Log In to add your hardware

We're not able to determine the quantization variants.

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ 3 Ask for provider support

Model tree for ggml-org/gpt-oss-20b-GGUF

Quantized
(216)
this model

Space using ggml-org/gpt-oss-20b-GGUF 1

Collection including ggml-org/gpt-oss-20b-GGUF