gpt-oss-20b-int4-ov
355
3
license:apache-2.0
by
OpenVINO
Language Model
OTHER
20B params
New
355 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
45GB+ RAM
Mobile
Laptop
Server
Quick Summary
AI model with specialized capabilities.
Device Compatibility
Mobile
4-6GB RAM
Laptop
16GB RAM
Server
GPU
Minimum Recommended
19GB+ RAM
Code Examples
text
pip install optimum[openvino]Running Model Inference with [OpenVINO GenAI](https://github.com/openvinotoolkit/openvino.genai)text
pip install openvino-genai huggingface_hubtext
import huggingface_hub as hf_hub
model_id = "OpenVINO/gpt-oss-20b-int4-ov"
model_path = "gpt-oss-20b-int4-ov"
hf_hub.snapshot_download(model_id, local_dir=model_path)text
pip install openaitextopenai
from openai import OpenAI
client = OpenAI(
base_url="http://localhost:8000/v3",
api_key="unused"
)
stream = client.chat.completions.create(
model="OpenVINO/gpt-oss-20b-int4-ov",
messages=[{"role": "user", "content": "Hello."}],
stream=True,
extra_body={"chat_template_kwargs": {"enable_thinking": False}},
tools=[],
)
for chunk in stream:
if chunk.choices[0].delta.content is not None:
print(chunk.choices[0].delta.content, end="")Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.