Text Generation
Transformers
Safetensors
English
gpt-oss
lora
unsloth
instruction-following
multilingual
Instructions to use prxshetty/gpt-oss-20b-multilingual-thinking with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prxshetty/gpt-oss-20b-multilingual-thinking with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="prxshetty/gpt-oss-20b-multilingual-thinking")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("prxshetty/gpt-oss-20b-multilingual-thinking", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use prxshetty/gpt-oss-20b-multilingual-thinking with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prxshetty/gpt-oss-20b-multilingual-thinking" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prxshetty/gpt-oss-20b-multilingual-thinking", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/prxshetty/gpt-oss-20b-multilingual-thinking
- SGLang
How to use prxshetty/gpt-oss-20b-multilingual-thinking with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "prxshetty/gpt-oss-20b-multilingual-thinking" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prxshetty/gpt-oss-20b-multilingual-thinking", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "prxshetty/gpt-oss-20b-multilingual-thinking" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prxshetty/gpt-oss-20b-multilingual-thinking", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Unsloth Desktop
- Docker Model Runner
How to use prxshetty/gpt-oss-20b-multilingual-thinking with Docker Model Runner:
docker model run hf.co/prxshetty/gpt-oss-20b-multilingual-thinking
Download adapter_model.safetensors from prxshetty/gpt-oss-20b-multilingual-thinking: direct link, hf CLI and curl.
- Browser
- Download file 16 MB
-
https://huggingface.co/prxshetty/gpt-oss-20b-multilingual-thinking/resolve/main/adapter_model.safetensors
- Command line
-
hf download hf://prxshetty/gpt-oss-20b-multilingual-thinking/adapter_model.safetensors
-
curl -L -o adapter_model.safetensors https://huggingface.co/prxshetty/gpt-oss-20b-multilingual-thinking/resolve/main/adapter_model.safetensors
16 MB
- Xet hash:
- 71ae8cb339459b090cd4ba93b22a3c217cd33cad75247b3eb7c55d99c166c44b
- Size of remote file:
- 16 MB
- SHA256:
- 8dcee2c214ed574ba93aab1ab03fe838e32effc077b2f7c62678f07edac46b8c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.