Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,17 +156,17 @@ Specifically, a model name that is defined a `ModelConfig` object, is what will
```python
ModelConfig(
alias="nv-reasoning",
model="openai/gpt-oss-20b",
model="nvidia/nemotron-3-super-120b-a12b",
provider="nvidia",
inference_parameters=ChatCompletionInferenceParams(
temperature=0.3,
top_p=0.9,
temperature=1.0,
top_p=0.95,
max_tokens=4096,
),
)
```

The value `openai/gpt-oss-20b` would be collected.
The value `nvidia/nemotron-3-super-120b-a12b` would be collected.

To disable telemetry capture, set `NEMO_TELEMETRY_ENABLED=false`.

Expand Down
2 changes: 1 addition & 1 deletion docs/concepts/models/default-model-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The following model configurations are automatically available when `NVIDIA_API_
| Alias | Model | Use Case | Inference Parameters |
|-------|-------|----------|---------------------|
| `nvidia-text` | `nvidia/nemotron-3-nano-30b-a3b` | General text generation | `temperature=1.0, top_p=1.0` |
| `nvidia-reasoning` | `openai/gpt-oss-20b` | Reasoning and analysis tasks | `temperature=0.35, top_p=0.95` |
| `nvidia-reasoning` | `nvidia/nemotron-3-super-120b-a12b` | Reasoning and analysis tasks | `temperature=1.0, top_p=0.95, extra_body={"reasoning_effort": "medium"}` |
| `nvidia-vision` | `nvidia/nemotron-nano-12b-v2-vl` | Vision and image understanding | `temperature=0.85, top_p=0.95` |
| `nvidia-embedding` | `nvidia/llama-3.2-nv-embedqa-1b-v2` | Text embeddings | `encoding_format="float", extra_body={"input_type": "query"}` |

Expand Down
4 changes: 2 additions & 2 deletions docs/concepts/models/inference-parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ The `ChatCompletionInferenceParams` class controls how models generate text comp
!!! note "Default Values"
If `temperature`, `top_p`, or `max_tokens` are not provided, the model provider's default values will be used. Different providers and models may have different defaults.

!!! tip "Controlling Reasoning Effort for GPT-OSS Models"
For gpt-oss models like `gpt-oss-20b` and `gpt-oss-120b`, you can control the reasoning effort using the `extra_body` parameter:
!!! tip "Controlling Reasoning Effort for Reasoning Models"
For reasoning models like Nemotron 3 Super (`nvidia/nemotron-3-super-120b-a12b`) and GPT-OSS (`gpt-oss-20b`, `gpt-oss-120b`), you can control the reasoning effort using the `extra_body` parameter:

```python
import data_designer.config as dd
Expand Down
6 changes: 3 additions & 3 deletions docs/concepts/models/model-configs.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ model_configs = [
# Reasoning and structured tasks
dd.ModelConfig(
alias="reasoning-model",
model="openai/gpt-oss-20b",
model="nvidia/nemotron-3-super-120b-a12b",
provider="nvidia",
inference_parameters=dd.ChatCompletionInferenceParams(
temperature=0.3,
top_p=0.9,
temperature=1.0,
top_p=0.95,
max_tokens=4096,
),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,11 @@ class NordColor(Enum):
DEFAULT_VISION_INFERENCE_PARAMS = {"temperature": 0.85, "top_p": 0.95}
DEFAULT_EMBEDDING_INFERENCE_PARAMS = {"encoding_format": "float"}
NEMOTRON_3_NANO_30B_A3B_INFERENCE_PARAMS = {"temperature": 1.0, "top_p": 1.0}
NEMOTRON_3_SUPER_120B_A12B_INFERENCE_PARAMS = {
"temperature": 1.0,
"top_p": 0.95,
"extra_body": {"reasoning_effort": "medium"},
}
GPT5_INFERENCE_PARAMS = {"extra_body": {"reasoning_effort": "medium"}}

PREDEFINED_PROVIDERS_MODEL_MAP = {
Expand All @@ -344,7 +349,10 @@ class NordColor(Enum):
"model": "nvidia/nemotron-3-nano-30b-a3b",
"inference_parameters": NEMOTRON_3_NANO_30B_A3B_INFERENCE_PARAMS,
},
"reasoning": {"model": "openai/gpt-oss-20b", "inference_parameters": DEFAULT_REASONING_INFERENCE_PARAMS},
"reasoning": {
"model": "nvidia/nemotron-3-super-120b-a12b",
"inference_parameters": NEMOTRON_3_SUPER_120B_A12B_INFERENCE_PARAMS,
},
"vision": {"model": "nvidia/nemotron-nano-12b-v2-vl", "inference_parameters": DEFAULT_VISION_INFERENCE_PARAMS},
"embedding": {
"model": "nvidia/llama-3.2-nv-embedqa-1b-v2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ def test_get_default_inference_parameters():
top_p=0.95,
)
assert get_default_inference_parameters(
"reasoning", {"temperature": 0.35, "top_p": 0.95}
"reasoning", {"temperature": 1.0, "top_p": 0.95, "extra_body": {"reasoning_effort": "medium"}}
) == ChatCompletionInferenceParams(
temperature=0.35,
temperature=1.0,
top_p=0.95,
extra_body={"reasoning_effort": "medium"},
)
assert get_default_inference_parameters(
"vision", {"temperature": 0.85, "top_p": 0.95}
Expand All @@ -59,7 +60,7 @@ def test_get_builtin_model_configs():
assert builtin_model_configs[0].model == "nvidia/nemotron-3-nano-30b-a3b"
assert builtin_model_configs[0].provider == "nvidia"
assert builtin_model_configs[1].alias == "nvidia-reasoning"
assert builtin_model_configs[1].model == "openai/gpt-oss-20b"
assert builtin_model_configs[1].model == "nvidia/nemotron-3-super-120b-a12b"
assert builtin_model_configs[1].provider == "nvidia"
assert builtin_model_configs[2].alias == "nvidia-vision"
assert builtin_model_configs[2].model == "nvidia/nemotron-nano-12b-v2-vl"
Expand Down
Loading