Bài kiểm tra có liên kết hướng dẫn · Trung bình Cấp độ

Quản lý cấu hình với Hydra Quiz

Soạn cấu hình Hydra từ các nhóm, áp dụng ghi đè và quét, đồng thời xem xét các cài đặt đã giải quyết, xác thực và ranh giới tài nguyên.

Đường dẫn hướng dẫn liên quanQuản lý cấu hình với Hydra
Câu hỏi 1 của 8

Hydra xây dựng cấu hình thời gian chạy của ứng dụng như thế nào?

Xem trước mọi câu hỏi8 câu hỏi

Câu trả lời và giải thích xuất hiện khi bạn làm bài kiểm tra.

  1. Hydra xây dựng cấu hình thời gian chạy của ứng dụng như thế nào?
    • It hard-codes each run’s settings into separate scripts
    • It loads one flat config and disallows command-line overrides
    • It composes selected config pieces and command-line overrides
    • It infers all settings from a model checkpoint
  2. Ghi đè dòng lệnh thường thay đổi điều gì?
    • Edits the source file permanently before execution
    • A selected configuration value for a run
    • Creates a new config group automatically
    • Rewrites the defaults list on disk
  3. Mô tả nào phân biệt nhóm cấu hình Hydra với việc ghi đè vô hướng thông thường?
    • It replaces one existing scalar value
    • It selects a different output directory
    • It selects among related component configurations
    • It logs a training metric
  4. Tại sao phải kiểm tra và lưu cấu hình đã được kết hợp hoàn chỉnh?
    • It shows the actual settings used for that run
    • It guarantees the model generalizes
    • It eliminates data versioning
    • It replaces source control
  5. Điều gì nên xảy ra trước khi khởi chạy một đợt quét tốn kém?
    • Use the test set for every parameter combination
    • Include secret tokens in each command-line override
    • Estimate the run count and bound resources before dispatch
    • Assume the launcher caps the sweep at a safe size
  6. How do ordinary overrides differ from adding a new config key?
    • An ordinary override updates a value, while addition syntax introduces a missing key
    • Ordinary overrides add missing keys while addition syntax removes them
    • Both forms only select config groups and cannot change scalar values
    • Both forms edit the source YAML file before execution
  7. What should be kept out of committed configuration files?
    • Model architecture names
    • Non-sensitive learning rates
    • Dataset schema fields
    • Passwords, access tokens and other secrets
  8. When is a configuration framework most useful?
    • When an application has repeatable components and many meaningful variants
    • For every one-line script
    • When no parameters need to change
    • Only after deployment is complete