Downloads · 30 days
0
cnmoro/gpt-oss-20b-tokenizer-optional-reasoning
gpt-oss-20b-tokenizer-optional-reasoning is a machine learning model from cnmoro. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
0
Access
Public
Updated Sep 5, 2025
Repo size
27.9 MB
Likes
3
Public
Click a slice to open those files.
.json27.9 MB · 100%
From the Hugging Face model README
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained(
"cnmoro/gpt-oss-20b-tokenizer-optional-reasoning"
)
gen_input = tokenizer.apply_chat_template(
[{"role": "user", "content": "Hello!"}],
tokenize=False,
add_generation_prompt=True, # <-- Will be added anyway if reasoning is disabled, otherwise, default behavior
reasoning_effort="disabled" # <-- New option. Disable thinking completely
)