Bài kiểm tra có liên kết hướng dẫn · Cứng Cấp độ
Tối ưu hóa lời nhắc tự động và bài kiểm tra DSPy
Kiểm tra những gì bạn biết về lời nhắc chấm điểm theo một số liệu, cách APE và OPRO tìm kiếm hướng dẫn cũng như cách hoạt động của chữ ký và trình tối ưu hóa DSPy.
Câu hỏi 1 của 8
Bạn phải cung cấp những gì để tối ưu hóa lời nhắc tự động hoạt động?
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.
- Bạn phải cung cấp những gì để tối ưu hóa lời nhắc tự động hoạt động?
- Only a longer prompt
- A task, a set of example inputs and a metric to score outputs
- A fine-tuned model and a GPU cluster
- A list of banned words
- Trong OPRO, vai trò của trình tối ưu hóa là gì?
- A gradient descent step on the model's weights
- A human prompt engineer
- A random search with no feedback
- An LLM given a meta-prompt listing earlier instructions and their scores
- Kết quả "Hít một hơi thật sâu và giải quyết vấn đề này từng bước một" của OPRO minh họa điều gì?
- Optimized wording can be unintuitive and specific to a model
- Breathing instructions work for every model
- Math tasks do not need prompts
- OPRO only works for writing tasks
- Chữ ký DSPy là gì?
- A cryptographic key for the API
- A model's version number
- A declaration of a step's inputs and outputs, such as "question, context -> answer"
- A watermark on generated text
- BootstrapFewShot của DSPy được trình diễn như thế nào?
- It downloads examples from the internet
- It runs the program on training inputs and keeps the traces where the metric passes
- It asks the user to label every intermediate step
- It uses the longest available examples
- Why should you keep a separate held-out set when optimizing prompts?
- To reduce the size of the prompt
- To make the optimizer run faster
- It is required by the API
- To check whether the optimized prompt has overfit the training examples
- What were DSPy's optimizers called earlier?
- Teleprompters
- Compilers
- Tokenizers
- Retrievers
- What approach did APE (Automatic Prompt Engineer) take?
- It fine-tuned model weights on instructions
- It hand-wrote prompts from expert interviews
- It had a model propose instructions from input-output examples and kept the highest-scoring ones
- It removed instructions entirely