ガイド連動クイズ · 中 レベル

制約付きデコードクイズ

トークンレベルの制約、増分解析、構造化された出力制限、有効な形式と正しいコンテンツの区別を確認します。

関連するガイドパス制約付きデコード
質問 1 の 8

制約付きデコードは基本的に各生成ステップで何を行うのでしょうか?

すべての質問をプレビューする8 質問

クイズに答えると、答えと解説が表示されます。

  1. 制約付きデコードは基本的に各生成ステップで何を行うのでしょうか?
    • サンプリング前に必要な構造に違反するトークンをマスクアウトします。
    • 構造化されたサンプルに基づいてモデルを再トレーニングします
    • 温度をゼロに下げます
    • プロンプトにトレーニング データをさらに追加します
  2. What can happen if a requested JSON Schema uses a feature unsupported by a structured-output implementation?
    • The model silently gains new training data
    • The request can be rejected with an error
    • All outputs become valid SQL
    • The schema is automatically converted to natural language
  3. 制約付きデコードの実装を難しくしている技術的な課題は何ですか?
    • これがないとモデルはテキストをまったく出力できません
    • 100GB以上のメモリを搭載したGPUが必要です
    • サブワードトークンが文法記号ときれいに一致しない
    • JSON 用に文法を記述することはできません
  4. デコードの制約を指定するために使用される実際の形式は次のうちどれですか?
    • 重みのスプレッドシート
    • GPU温度のリスト
    • ランダムなシード値
    • JSON スキーマまたは文脈自由文法
  5. 制約マスクは通常、パイプラインのどの時点で適用されますか?
    • ソフトマックス/サンプリングステップの前のロジットへ
    • プロンプトのトークン化前
    • テキストがすでにユーザーに出力された後
    • モデルのトレーニング中のみ
  6. プロンプト内のモデルに単に「有効な JSON を出力する」ように要求する場合と比較して、制約付きデコードにはどのような利点がありますか?
    • 消費電力が少なくなります
    • モデルの協力に依存するのではなく、確実な保証を提供します
    • モデルをより創造的にします
    • トークナイザーが不要になります
  7. What does PICARD do with a candidate token that would make a partial SQL query unparsable?
    • Accepts it and repairs the query after generation
    • Retrains the language model immediately
    • Rejects that token during incremental parsing before it is emitted
    • Deletes the user’s database schema
  8. What does a schema-conforming output guarantee by itself?
    • Every value is true in the external world
    • The model used the right source documents
    • No refusal or incomplete response can occur
    • The output matches the supported structure, not that its values are factually correct