Kuis terkait panduan · Sedang Tingkat

Menerapkan Demo Portofolio di Hugging Face Spaces Quiz

Rencanakan demo model yang dapat dibagikan dengan Space SDK yang tepat, dependensi yang dapat direproduksi, rahasia yang dilindungi, batasan yang jelas, dan pemeriksaan langsung.

Pertanyaan 1 dari 8

Space SDK manakah yang memungkinkan Anda menentukan paket sistem dan perintah startup di Dockerfile?

Pratinjau setiap pertanyaan8 pertanyaan

Jawaban dan penjelasan muncul saat Anda mengikuti kuis.

  1. Space SDK manakah yang memungkinkan Anda menentukan paket sistem dan perintah startup di Dockerfile?
    • Gradio SDK conventions
    • Static HTML SDK
    • Setting suggested_hardware to a GPU
    • Docker SDK
  2. Kapan Ruang HTML statis cocok?
    • An app requiring a Python server process and installed system packages
    • A client-side page that does not need server-side model inference
    • A model that must run locally on a Space GPU for each request
    • A custom Linux inference runtime inside the Space
  3. Untuk Gradio atau Docker Space sisi server, di mana kunci API pribadi harus disimpan dan diakses?
    • In a committed source file
    • In Space Secrets and read by server-side code
    • In the browser JavaScript bundle
    • As a public Space variable
  4. Pemeriksaan manakah yang memberikan bukti bahwa ruang yang dikerahkan berfungsi secara end to end?
    • Run the deployed URL with representative valid, invalid and boundary inputs
    • Inspect the build log without opening the app
    • Check repository metadata and commit status only
    • Test only a local development copy
  5. Informasi manakah yang paling langsung membantu pengguna menginterpretasikan hasil model?
    • The expected input and output plus known limitations
    • A claim that the model cannot fail
    • A guarantee that a successful build proves accuracy
    • A statement that the interface removes licensing concerns
  6. Why pin dependencies and test a clean build?
    • To guarantee identical predictions on all hardware
    • To reduce version drift and catch missing setup assumptions
    • To make model outputs independent of data
    • To replace evaluation of the live app
  7. Which detail should the demo disclose about uploaded user content?
    • Whether inputs are logged or retained
    • The GPU model used by every other Space
    • The editor used to write the interface
    • The number of lines in the README
  8. Which statement about a hosted portfolio demo is most accurate?
    • A hosted demo is not automatically a production-ready service
    • A successful build proves reliability under production load
    • A public URL guarantees model validity
    • A Gradio interface resolves model licensing concerns