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
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@
"metadata": {},
"source": [
"**Note**:\n",
"The NeMo Data Designer Managed service has models available for you to use as well. You can use these models by referencing the appropriate model_alias for them.\n",
"\n",
"Please visit https://build.nvidia.com/nemo/data-designer to see the full list of models and their model aliases.\n"
"The NeMo Data Designer Managed service has access to specific models. Please visit https://build.nvidia.com/nemo/data-designer to see the latest list of which models are available.\n"
]
},
{
Expand All @@ -114,8 +112,8 @@
"metadata": {},
"outputs": [],
"source": [
"model_alias = \"nemotron-nano-v2\"\n",
"model_id = \"nvidia/nvidia-nemotron-nano-9b-v2\"\n"
"model_alias = \"nemotron-3-nano\"\n",
"model_id = \"nvidia/nemotron-3-nano-30b-a3b\"\n"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
" CategorySamplerParams,\n",
" DataDesignerConfigBuilder,\n",
" ExpressionColumnConfig,\n",
" InferenceParameters,\n",
" LLMStructuredColumnConfig,\n",
" ModelConfig,\n",
" NeMoDataDesignerClient,\n",
" PersonSamplerParams,\n",
" SamplerColumnConfig,\n",
Expand Down Expand Up @@ -107,9 +109,7 @@
"metadata": {},
"source": [
"**Note**:\n",
"The NeMo Data Designer Managed service has models available for you to use as well. You can use these models by referencing the appropriate model_alias for them.\n",
"\n",
"Please visit https://build.nvidia.com/nemo/data-designer to see the full list of models and their model aliases.\n"
"The NeMo Data Designer Managed service has access to specific models. Please visit https://build.nvidia.com/nemo/data-designer to see the latest list of which models are available."
]
},
{
Expand All @@ -118,7 +118,8 @@
"metadata": {},
"outputs": [],
"source": [
"model_alias = \"nemotron-nano-v2\"\n"
"model_alias = \"nemotron-3-nano\"\n",
"model_id = \"nvidia/nemotron-3-nano-30b-a3b\""
]
},
{
Expand All @@ -127,7 +128,20 @@
"metadata": {},
"outputs": [],
"source": [
"config_builder = DataDesignerConfigBuilder()\n"
"config_builder = DataDesignerConfigBuilder(\n",
" model_configs=[\n",
" ModelConfig(\n",
" alias=model_alias,\n",
" provider=\"nvidiabuild\",\n",
" model=model_id,\n",
" inference_parameters=InferenceParameters(\n",
" max_tokens=1024,\n",
" temperature=0.6,\n",
" top_p=0.95,\n",
" ),\n",
" ),\n",
" ]\n",
")"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
"\n",
"from nemo_microservices.data_designer.essentials import (\n",
" DataDesignerConfigBuilder,\n",
" InferenceParameters,\n",
" ModelConfig,\n",
" NeMoDataDesignerClient,\n",
" SeedDatasetReference,\n",
")\n"
Expand Down Expand Up @@ -101,9 +103,7 @@
"metadata": {},
"source": [
"**Note**:\n",
"The NeMo Data Designer Managed service has models available for you to use as well. You can use these models by referencing the appropriate model_alias for them.\n",
"\n",
"Please visit https://build.nvidia.com/nemo/data-designer to see the full list of models and their model aliases.\n"
"The NeMo Data Designer Managed service has access to specific models. Please visit https://build.nvidia.com/nemo/data-designer to see the latest list of which models are available.\n"
]
},
{
Expand All @@ -112,7 +112,8 @@
"metadata": {},
"outputs": [],
"source": [
"model_alias = \"nemotron-nano-v2\""
"model_alias = \"nemotron-3-nano\"\n",
"model_id = \"nvidia/nemotron-3-nano-30b-a3b\""
]
},
{
Expand All @@ -121,7 +122,20 @@
"metadata": {},
"outputs": [],
"source": [
"config_builder = DataDesignerConfigBuilder()"
"config_builder = DataDesignerConfigBuilder(\n",
" model_configs=[\n",
" ModelConfig(\n",
" alias=model_alias,\n",
" provider=\"nvidiabuild\",\n",
" model=model_id,\n",
" inference_parameters=InferenceParameters(\n",
" max_tokens=1024,\n",
" temperature=0.6,\n",
" top_p=0.95,\n",
" ),\n",
" ),\n",
" ]\n",
")"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@
"MODEL_PROVIDER = \"nvidiabuild\"\n",
"\n",
"# The model ID is from build.nvidia.com.\n",
"MODEL_ID = \"nvidia/nvidia-nemotron-nano-9b-v2\"\n",
"MODEL_ID = \"nvidia/nemotron-3-nano-30b-a3b\"\n",
"\n",
"# We choose this alias to be descriptive for our use case.\n",
"MODEL_ALIAS = \"nemotron-nano-v2\"\n",
"MODEL_ALIAS = \"nemotron-nano-v3\"\n",
"\n",
"# This sets reasoning to False for the nemotron-nano-v2 model.\n",
"SYSTEM_PROMPT = \"/no_think\"\n",
Expand Down Expand Up @@ -164,7 +164,7 @@
"metadata": {},
"outputs": [],
"source": [
"config_builder.info.sampler_table"
"config_builder.info.display(\"samplers\")"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@
"MODEL_PROVIDER = \"nvidiabuild\"\n",
"\n",
"# The model ID is from build.nvidia.com.\n",
"MODEL_ID = \"nvidia/nvidia-nemotron-nano-9b-v2\"\n",
"MODEL_ID = \"nvidia/nemotron-3-nano-30b-a3b\"\n",
"\n",
"# We choose this alias to be descriptive for our use case.\n",
"MODEL_ALIAS = \"nemotron-nano-v2\"\n",
"MODEL_ALIAS = \"nemotron-nano-v3\"\n",
"\n",
"# This sets reasoning to False for the nemotron-nano-v2 model.\n",
"SYSTEM_PROMPT = \"/no_think\"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@
"MODEL_PROVIDER = \"nvidiabuild\"\n",
"\n",
"# The model ID is from build.nvidia.com.\n",
"MODEL_ID = \"nvidia/nvidia-nemotron-nano-9b-v2\"\n",
"MODEL_ID = \"nvidia/nemotron-3-nano-30b-a3b\"\n",
"\n",
"# We choose this alias to be descriptive for our use case.\n",
"MODEL_ALIAS = \"nemotron-nano-v2\"\n",
"MODEL_ALIAS = \"nemotron-nano-v3\"\n",
"\n",
"# This sets reasoning to False for the nemotron-nano-v2 model.\n",
"SYSTEM_PROMPT = \"/no_think\"\n",
Expand Down Expand Up @@ -237,14 +237,12 @@
" name=\"patient_sampler\",\n",
" column_type=\"sampler\",\n",
" sampler_type=\"person\",\n",
" drop=True,\n",
")\n",
"\n",
"config_builder.add_column(\n",
" name=\"doctor_sampler\",\n",
" column_type=\"sampler\",\n",
" sampler_type=\"person\",\n",
" drop=True,\n",
")\n",
"\n",
"config_builder.add_column(\n",
Expand Down