Nemotron-3-8B-Chat-SteerLM · nvidia-ai v2 ↗
- source model id
- nvidia-ai/Nemotron-3-8B-Chat-SteerLM@2
- hosting
- foundry-managed-compute
- platforms
- Microsoft Foundry
- license
- custom
- architecture
- input_modalities
- text
- output_modalities
- text
- capabilities
# Model Overview ## Description ### [!] Attention Required : This model is being retired. Migrate your workloads to [Nemotron 3.5 Lightning](https://ai.azure.com/catalog/models/nvidia--nvidia-nemotro…
azureFoundry/nvidia-ai/Nemotron-3-8B-Chat-SteerLM@2
# Model Overview
## Description
### [!] Attention Required : This model is being retired. Migrate your workloads to [Nemotron 3.5 Lightning](https://ai.azure.com/catalog/models/nvidia--nvidia-nemotron-3.5-lightning-30b-a3b-nvfp4)
Nemotron-3-8B-SteerLM is an 8 billion parameter generative language model based on the NVIDIA 8B GPT base model. It has been customized using the [SteerLM Method](https://arxiv.org/abs/2310.05344) developed by NVIDIA to allow for user control of model outputs during inference Key capabilities enabled by SteerLM:
- Dynamic steering of responses by specifying desired attributes like quality, helpfulness, and toxicity at inference time. - Simplified training compared to RLHF techniques like fine-tuning and bootstrapping.
Nemotron-3-8B-SteerLM is part of Nemotron-3, is a family of enterprise ready decoder-only generative text models compatible with [NeMo Framework](https://www.nvidia.com/ai-data-science/generative-ai/nemo-framework/).
NVIDIA NeMo is an end-to-end, cloud-native framework to build, customize, and deploy generative AI models anywhere. It includes training and inferencing frameworks, guardrailing toolkits, data curation tools, and pretrained models, offering enterprises an easy, cost-effective, and fast way to adopt generative AI.
## License The use of this model is governed by the NVIDIA AI Foundational Models Community License Agreement
## Model Architecture
**Architecture Type:** Transformer
**Network Architecture:** Generative Pre-Trained Transformer (GPT-3)
The SteerLM method involves the following key steps:
- Train an attribute prediction model on human annotated data to evaluate response quality.
- Use this model to annotate diverse datasets and enrich training data.
- Perform conditioned fine-tuning to align responses with specified combinations of attributes.
- (Optionally) Bootstrap training through model sampling and further fine-tuning.
SteerLM-8B applies this technique on top of the open-source NVIDIA GPT model architecture. It was pretrained on internet-scale data and then customized using [OASST](https://huggingface.co/datasets/OpenAssistant/oasst1), [HH-RLHF](https://huggingface.co/datasets/Anthropic/hh-rlhf), Light, a subset of permissive licensed [OpenPlatypus](https://huggingface.co/datasets/garage-bAInd/Open-Platypus), and some internally collected SFT data.
Prompt Format:
|Single Turn | Multi-Turn or Few-shot/In-context prompting | |--- | ---| <extra_id_0>System <br>A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. <br><br><extra_id_1>User <br><br>{prompt}<br><extra_id_1>Assistant<br><extra_id_2>quality:4,understanding:4,correctness:4,coherence:4,complexity:4,verbosity:4,toxicity:0,humor:0,creativity:0,violence:0,helpfulness:4,not_appropriate:0,hate_speech:0,sexual_content:0,fails_task:0,political_content:0,moral_judgement:0,lang:en | <extra_id_0>System <br>A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions. <br><br><extra_id_1>User <br>{prompt 1} <br><extra_id_1>Assistant <br><extra_id_2>quality:4,understanding:4,correctness:4,coherence:4,complexity:4,verbosity:4,toxicity:0,humor:0,creativity:0,violence:0,helpfulness:4,not_appropriate:0,hate_speech:0,sexual_content:0,fails_task:0,political_content:0,moral_judgement:0,lang:en<br>{response 1}<br><extra_id_1>User <br><br>{prompt 2} <br><extra_id_1>Assistant <br><extra_id_2>quality:4,understanding:4,correctness:4,coherence:4,complexity:4,verbosity:4,toxicity:0,humor:0,creativity:0,violence:0,helpfulness:4,not_appropriate:0,hate_speech:0,sexual_content:0,fails_task:0,political_content:0,moral_judgement:0,lang:en
## Example prompt formation code PROMPT_TEMPLATE = """<extra_id_0>System
A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.
<extra_id_1>User
{prompt}
<extra_id_1>Assistant
<extra_id_2>quality:4,understanding:4,correctness:4,coherence:4,complexity:4,verbosity:4,toxicity:0,humor:0,creativity:0,violence:0,helpfulness:4,not_appropriate:0,hate_speech:0,sexual_content:0,fails_task:0,political_content:0,moral_judgement:0,lang:en"""
question = "Write a poem on NVIDIA in the style of Shakespeare"
prompt = PROMPT_TEMPLATE.format(prompt=question)
print(prompt)
Each of the properties (e.g. humor, toxicity…) can receive integer values in the range [0..4].
## Samples ### Inference samples
Inference type|Python sample (Notebook) |--|--| Real time|<a href="https://aka.ms/azureml-infer-online-sdk-text-generation-dolly" target="_blank">text-generation-online-endpoint-dolly.ipynb</a>|
## Software Integration
**Runtime Engine(s):**
NVIDIA AI Enterprise
**Toolkit:**
NeMo Framework
See the document here for details on how to setup an inference server with the pyTriton and TensorRT-LLM backend.
## Dataset
NVIDIA models are trained on a diverse set of public and proprietary datasets. This model was trained on a dataset containing 3.5 Trillion tokens of text. The dataset contains 53 different human languages and 37 programming languages. NVIDIA is committed to the responsible development of large language models and conducts reviews of all datasets included in training.
## Intended use
- The 8B-Chat-SteerLM model is for users who want to customize a model's response during inference.
- Ethical use: Technology can have a profound impact on people and the world, and NVIDIA is committed to enabling trust and transparency in AI development. NVIDIA encourages users to adopt principles of AI ethics and trustworthiness to guide your business decisions by following the guidelines in the NVIDIA NeMo Foundational Models Community License Agreement.
## Limitations
- The model was trained on the data that contains toxic language and societal biases originally crawled from the Internet. Therefore, the model may amplify those biases and return toxic responses especially when prompted with toxic prompts.
- The Model may generate answers that may be inaccurate, omit key information, or include irrelevant or redundant text producing socially unacceptable or undesirable text, even if the prompt itself does not include anything explicitly offensive.
## References https://developer.nvidia.com/blog/nvidia-ai-foundation-models-build-custom-enterprise-chatbots-and-co-pilots-with-production-ready-llms/
1–1 / 1
1–3 / 3
Microsoft Foundry · Model page ↗
1–1 / 1
These charts contain model-linked results. The charts above also include unlinked source profiles. Compare scores within each evaluation. Model quality, usage, transparency and system performance measure different things.