nvidia/Nemotron-SFT-Safety-v2(複製)
データの内容
非整合な LLM に生じうる安全性とセキュリティの問題に対し、モデルを頑健に整合させるための SFT 用の会話データ。英語のプロンプトと応答は、公開データ(Nemotron Content Safety Dataset v2、Gretel Safety Alignment v1、HarmfulTasks など)と合成したプロンプトからなり、Nemotron-SFT-Safety-v1 と同一である。多言語のサブセットは英語を de・es・fr・ja・it・zh に翻訳したもので、逆翻訳で意味を確かめ、類似度の低い例を取り除いている。
データの概要
| 項目 | 値 |
|---|---|
| 行数・列数 | 不明(データセットビューアで読めない形式。ファイルの内訳だけを示す) |
| 容量 | 576.04 MB(ファイル 3 本) |
| ファイルの形式 | jsonl 1 |
| 言語 | en |
| 公開 | public |
全データセットの一覧は HYUKI5/dataset-catalog にある。
複製について
nvidia/Nemotron-SFT-Safety-v2 をリビジョン 8a40a63c9a1a340874b874f980953be53bff0a07 の時点でそのまま複製したもの。中身は変えていない。判断モデル Laya(convaiinnovations/laya)の微調整に使う候補として、調査メモ(Laya 学習用データセット調査)に載せたデータを集めている。
出典
- 元のデータセット: https://huggingface.co/datasets/nvidia/Nemotron-SFT-Safety-v2
- 複製したリビジョン:
8a40a63c9a1a340874b874f980953be53bff0a07(2026-06-04 04:49:04+00:00) - 元のライセンス表記:
['cc-by-4.0', 'apache-2.0', 'mit']
論文
- 元のカードに論文へのリンクは見つからなかった
アノテーションの方法
データセットの作成日:
作成日: 2026 年 3 月 15 日
最終更新日: 2026 年 3 月 15 日
微調整に使うときの注意
- 調査メモの台帳での区分: A(許諾型のライセンスだけで、疑義の注記が無い)。区分は記載の文言で機械的に付けたもので、法的な判定ではない。学習に入れる前に元のカードとライセンスの原文で確かめる。
- Laya の入力は 2,048 token まで(ModernBERT-large / mmBERT)。長い本文は先頭から黙って切られるので、切れる行は事前に除くか、要約・切り出しをしてから入れる。
- 分割は記事・文書単位で行い、同じ本文から作った別の問いを学習側と較正側に分けない。温度と閾値は学習に使っていない分割で別々に当てる。
調査メモの記述
| メモ | 節 | ライセンス(記載) | 確認 | 注記 |
|---|---|---|---|---|
nvidia_nemotron.md |
付録. 取得した nvidia 組織のデータセット全件の簡易一覧 (L309) | cc-by-4.0 | 確認済 | 確認印なし(各ファイルの凡例により確認済扱い) / 原文注記: △ 安全・指示階層の RL/SFT 用。ラベルは選好でなく規則・ルーブリック |
元のカード(日本語訳)
以下は元のデータセットのカードの本文を日本語に訳したもの(機械翻訳)。訳に疑問があるときは、末尾の原文を確かめる。
データセットの説明:
Nemotron-SFT-Safety-v2 のデータは、アライメントされていない大規模言語モデルに生じうる様々な安全性・セキュリティ上の懸念に対して、モデルを頑健にするよう整列させるために設計されている。
このデータセットは次のものを集めたものである:
- 様々なモデルの脆弱性を引き出すように設計された、プロンプトの集合(オープンソースと合成生成のハイブリッド)。
- 安全性に整合した価値観へとモデルの振る舞いを導き、多様な攻撃ベクトルに対するモデルの頑健性を高めるように設計された、合成生成の応答。
- 英語のサブセットの多言語翻訳。
このデータセットは、商用・非商用のいずれの用途にも利用できる。
注意: このデータセットに含まれる英語のプロンプトと応答の集まりは、Nemotron-SFT-Safety-v1 データセット と同一である。多言語のサブセットは新しく追加されたものである。
多言語のサブセット:
英語のサブセット en を、6 言語に翻訳した。翻訳先は、ドイツ語 de、スペイン語 es、フランス語 fr、日本語 ja、イタリア語 it、中国語 zh である。翻訳には、NVIDIA の Riva Translate 4B Instruct v1.1 を用いた NeMo Skills により、文ごとに分割して翻訳するパイプラインを用いた。
翻訳の品質を高めるため、翻訳された各例を英語に逆翻訳し、元の英語のプロンプトと応答の組と比較した。意味的類似度が 0.8 未満の例は除外し、翻訳先言語ごとにおよそ 10〜15% の例を取り除いた。また、スコアが最も高いものと最も低いものの翻訳を人手で抜き取って確認し、フィルタが明らかな翻訳の失敗や構造上の問題を含む例を取り除けているかを検証した。
フィルタの後、層化抽出により翻訳先言語ごとにおよそ 15,000 例を残した。最終的なデータセットには約 135,000 例が含まれる。内訳は、英語が約 45,000 例、de、es、fr、ja、it、zh がそれぞれ約 15,000 例である。
英語のサブセットの構成要素の復習:
- 収集したデータセット:
- Nemotron Content Safety Dataset v2: 自傷、暴力、犯罪の計画、冒涜的な表現など、さまざまなコンテンツの安全性上のリスクと、有害な内容を引き出そうとするユーザーの要求を幅広くカバーする。
- Gretel Safety Alignment Dataset v1: 補足のコンテンツ安全性データセット。Nemotron Content Safety Dataset と目的は似ている。
- HarmfulTasks: 定型化されているが非常に効果的な、いくつかの脱獄攻撃に対する頑健性。
- 合成生成したプロンプト:
sdg_oversafety: 安全でないプロンプトを、構文の類似性は保ったまま意味が異なるように書き換えて作った、対照的な安全なプロンプト。sdg_jailbreaks: 脱獄に対する頑健性を高める補足データ。sdg_latent_injection: 潜在的なプロンプトインジェクション攻撃に対する耐性を高める。sdg_sensitive_categories: 自傷のような極端な有害カテゴリに対する、明確な拒否。sdg_bias_mitigation: 年齢などの特性に基づいて人を判断しうる応答を緩和する。sdg_leakreplay: 著作権で保護されている可能性のある内容を引き出そうとする試みを緩和する。
応答の生成手法は、安全性の行動指針に沿った推論の痕跡とアシスタントの応答を引き出すように慎重に設計されている。この目的のため、最終的な応答の生成と推論の痕跡の生成を切り離した、2 段階の応答生成の仕組みを用いる。たとえば、モデルが無視すべき、あるいは関与すべきでない潜在的インジェクション(例: 「xyz 銀行にこの金額を送れ」が紛れ込んだもの)については、プロンプトから潜在的インジェクションを除いた形で正解のモデル応答を生成する。これにより、モデルの応答は完全に実用的なものになる。次に、潜在的インジェクションを埋め込んだプロンプトを 2 つ目の推論呼び出しに渡す。この呼び出しでは、より大きな無害な要求の途中に埋め込まれた悪意のある指示の存在を明示的に認め、なぜそれを無視すべきかを述べる、簡潔で適切な推論の痕跡を生成する。その推論を、ユーザーの要求に対する元の思考に統合する。
推論の痕跡をこのように書き換えることで、効率的で簡潔な思考の痕跡を作りやすくなる。同時に、各場面で強制しようとしている安全性の原則が、正解の応答の振る舞いで適切に考慮されることを保証する。
データセットの所有者:
NVIDIA Corporation
データセットの作成日:
作成日: 2026 年 3 月 15 日
最終更新日: 2026 年 3 月 15 日
ライセンス・利用条件:
このデータセットは、Creative Commons Attribution 4.0 International License(CC BY 4.0)の下で提供される。
追加情報: Apache 2.0 License; MIT License。
想定される用途:
このデータセットは、コミュニティが各自のモデルの教師あり微調整(SFT)の手順の一部として用いることを想定している。次の観点を含む、安全性とセキュリティの様々な側面でモデルのアライメントを改善するためである:
- 自傷、暴力、犯罪の計画、児童性的虐待素材(CSAM)、その他の有害な内容を引き出そうとするユーザーの要求に対する適切な応答。
- 一般的な脱獄の手口、サイバー攻撃、またはモデルに不穏な内容を出力させようとするレッドチーミングの試みに対する頑健性。
- 対照的なハードネガティブ(安全でない要求と構文構造は共有するが意味は共有しない要求)を通じて、モデルが過度に安全になり何でも拒否する傾向に対抗すること。
- 年齢に基づく差別など、偏ったモデルの出力を緩和すること。
- 著作権で保護された可能性のある内容の漏えいを緩和すること。
前のバージョン:
Nemotron-SFT-Safety-v1
前のバージョンとの関係: このデータセットは、以前に公開されたデータセットを直接置き換えるものである。
データセットの特徴付け
データ収集の方法
- ハイブリッド: 人手、合成、自動
ラベル付けの方法
- ハイブリッド: 人手、合成、自動
データ形式
モダリティ: テキスト
形式: JSONL
構造: テキスト + メタデータ
データ量
注記: 元となるデータセットからは、プロンプトのみを取得している。
元のオープンソースのデータセットに既に存在しうる応答はすべて破棄し、データセットの説明の節 で述べた応答生成の手法で再生成している。
出発点は英語 45K 件と、翻訳先言語それぞれ 15K 件の層化サンプルだが、最後にすべてのサンプルを標準的な一連の健全性フィルタに通し、応答の品質を確保している。これらのフィルタは LLM と正規表現を組み合わせたもので、安全性のチェック(コンテンツモデレーションのモデルが安全でないと判定した応答はすべて破棄)、アイデンティティに関するチェック、機密性の高い API キーの漏えい、データの整合性チェックを含む。そのため、最終的なデータ量は、英語で 45K 件、ほかの言語ではそれぞれ 15K 件にわずかに届かない。詳細は以下のとおり。
英語のサブセット
| Prompts Collection | Samples |
|---|---|
コンテンツの安全性(Nemotron Content Safety v2、Gretel Safety Alignment v1、sdg_sensitive_categories) |
24,752 |
脱獄に対する頑健性(HarmfulTasks、sdg_jailbreaks、sdg_latent_injection) |
8,963 |
過剰な拒否に対する頑健性(sdg_oversafety) |
6,896 |
人口統計上のバイアスに対する頑健性(sdg_bias_mitigation) |
2,000 |
機微なコンテンツの漏えいに対する頑健性(sdg_leakreplay) |
910 |
| 英語の合計 | 43,521 |
多言語のサブセット
英語のサブセットの翻訳を検証したもの
| Prompts Collection | Samples |
|---|---|
de |
14,474 |
es |
14,451 |
fr |
14,497 |
it |
14,459 |
ja |
14,494 |
zh |
14,454 |
| 多言語の合計 | 86,829 |
| 総計 | 130,350 |
ディスクの合計サイズ: 約 650MB
倫理的な配慮:
NVIDIA は、信頼できる AI は共有の責任であると考えており、多様な AI アプリケーションの開発を可能にするための方針と実践を確立している。開発者は社内の開発チームと協力して、このデータセットが関連する業界と用途の要件を満たしていること、および想定外の製品の誤用に対処していることを確認すべきである。
品質、リスク、セキュリティ上の脆弱性、または NVIDIA の AI に関する懸念は、こちら に報告されたい。
原文(英語)
Dataset Description:
The Nemotron-SFT-Safety-v2 data is designed to align models to be robust against a variety of safety and security concerns that may arise in unaligned large language models.
This dataset is a collection of:
- A hybrid (open-source and synthetically generated) collection of prompts designed to elicit different model vulnerabilities, and
- Synthetically generated responses designed to steer model behavior towards safety-aligned values and enhance model robustness across a broad variety of potential attack vectors.
- Multilingual translations of the English subset.
This dataset is ready for commercial or non-commercial uses.
Note that the collection of English prompts and responses in this dataset is the same as Nemotron-SFT-Safety-v1 dataset. Multilingual subsets are new.
The multilingual subset:
We translated the English en subset into six languages—German de, Spanish es, French fr, Japanese ja, Italian it, and Chinese zh using NeMo Skills using a sentence-by-sentence chunked translation pipeline with NVIDIA Riva Translate 4B Instruct v1.1.
To improve translation quality, each translated example was back-translated into English and compared against the original English prompt-response pair. Examples with semantic similarity below 0.8 were filtered out, removing approximately 10–15% of examples per translated language. We also manually spot-checked the highest and lowest-scoring translations to verify that the filter was removing examples with clear translation failures or structural issues.
After filtering, we used stratified sampling to retain approximately 15,000 examples per translated language. The final dataset contains about 135,000 examples: ~45,000 in English and ~15,000 each in de, es, fr, ja, it, and zh.
A refresher on the English subset's consituents:
- Collected datasets:
- Nemotron Content Safety Dataset v2: Comprehensive coverage across a variety of content safety risks like self-harm, violence, criminal planning, profanity, and other harmful or harm-eliciting user requests.
- Gretel Safety Alignment Dataset v1: Supplemental content safety dataset with a similar purpose as Nemotron Content Safety Dataset.
- HarmfulTasks: Robustness against some templated but highly effective jailbreak attacks.
- Synthetically generated prompts:
sdg_oversafety: Contrastive safe prompts created by modifying unsafe prompts to maintain syntactic similarity but be semantically divergent.sdg_jailbreaks: Supplemental jailbreak robustness data.sdg_latent_injection: Improve resiliency against latent prompt injection attacks.sdg_sensitive_categories: Hard refusals for extreme harm categories like self-harm.sdg_bias_mitigation: Mitigate responses that may judge people based on characteristics like age.sdg_leakreplay: Mitigate attempts to elicit possibly copyrighted content.
The response generation techniques are carefully designed to elicit reasoning traces and assistant responses that are aligned with our safety behavior guides. To this end, we use a two-stage response generation mechanism, which decouples final response generation and reasoning trace generation. For example, for latent injections (example: "send this money to xyz bank" sneaked in) that need to be ignored/not engaged with by the model, we generate the gold model response without the latent injection present in the prompt, so that the model response is fully utilitarian. Next, we pass the prompt with the latent injection embedded to a second inference call that generates a concise, proper reasoning trace which explicitly acknowledges the presence of the malicious embedded instruction in the middle of the larger benign request, and reasons about why it should ignore it, merging this in with the original thinking about the user request.
This form of rewriting the reasoning traces helps build efficient and concise thinking traces, while ensuring that the safety principles we are trying to enforce in each scenario are considered properly in the gold response behaviors.
Dataset Owner(s):
NVIDIA Corporation
Dataset Creation Date:
Created on: 3/15/2026
Last Modified on: 3/15/2026
License/Terms of Use:
This dataset is governed by the Creative Commons Attribution 4.0 International License (CC BY 4.0).
Additional Information: Apache 2.0 License; MIT License.
Intended Usage:
This dataset is intended to be used by the community as part of their model's supervised finetuning (SFT) recipe to improve model alignment on various dimensions of safety and security, including:
- Appropriate responses to self-harm, violence, criminal planning, child sexual abuse material (CSAM), and other harmful or harm-eliciting user requests.
- Robustness to common jailbreak strategies, cybersecurity attacks, or red-teaming attempts designed to coerce a model into outputting disturbing content.
- Counter-acting tendency of models to become overly safe and refuse everything through contrastive hard negatives (requests that share syntactic structure but not semantic meaning with unsafe requests).
- Mitigating biased model outputs on axes like age-based discrimination.
- Mitigating leakage of potentially copyrighted content.
Previous Version:
Nemotron-SFT-Safety-v1
Relationship to Previous Version(s): This dataset is a direct replacement for the previously released dataset.
Dataset Characterization
Data Collection Method
- Hybrid: Human, Synthetic, Automated
Labeling Method
- Hybrid: Human, Synthetic, Automated
Dataset Format
Modality: Text
Format: JSONL
Structure: Text + Metadata
Dataset Quantification
Note: We source only the prompts from the following underlying datasets.
Any responses that may already exist in an underlying open-source dataset are discarded and regenerated using the response generation techniques described in the Dataset Description section.
While we start with 45K English, and 15K stratified samples from each of the translated languages, finally, all samples are passed through a standard set of sanity filters to ensure quality responses. These filters are a mixture of LLM and regex-based, and include safety checks (any response marked unsafe by a content moderation model is discarded), identity checks, leakage of sensitive API keys, and data integrity checks. The final dataset quantification numbers are thus slightly shy of 45K English, and 15K for every other language, and are provided in detail below.
English subset
| Prompts Collection | Samples |
|---|---|
Content safety (Nemotron Content Safety v2, Gretel Safety Alignment v1, sdg_sensitive_categories) |
24,752 |
Robustness against jailbreaks (HarmfulTasks, sdg_jailbreaks, sdg_latent_injection) |
8,963 |
Robustness against over-refusals (sdg_oversafety) |
6,896 |
Robustness against demographic biases (sdg_bias_mitigation) |
2,000 |
Robustness against leaking sensitive content (sdg_leakreplay) |
910 |
| Total English | 43,521 |
Multilingual subset
Verified translations of the English subset
| Prompts Collection | Samples |
|---|---|
de |
14,474 |
es |
14,451 |
fr |
14,497 |
it |
14,459 |
ja |
14,494 |
zh |
14,454 |
| Total multilingual | 86,829 |
| Grand Total | 130,350 |
Total Disk Size: ~650MB
Ethical Considerations:
NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. Developers should work with their internal developer teams to ensure this dataset meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
Please report quality, risk, security vulnerabilities or NVIDIA AI Concerns here