Κουίζ που συνδέεται με οδηγό · Μεσαίο Επίπεδο
Κουίζ Max Tokens και Stop Sequences
Ελέγχει τη διαφορά μεταξύ των μέγιστων διακριτικών και του παραθύρου περιβάλλοντος, τον τρόπο λειτουργίας των ακολουθιών διακοπής και τον τρόπο ανάγνωσης των λόγων ολοκλήρωσης για τη σύλληψη της περικοπής.
Ερώτηση 1 του 8
Τι περιορίζει τα μέγιστα διακριτικά;
Προεπισκόπηση κάθε ερώτησης8 ερωτήσεις
Οι απαντήσεις και οι εξηγήσεις εμφανίζονται καθώς κάνετε το κουίζ.
- Τι περιορίζει τα μέγιστα διακριτικά;
- The total tokens of input plus output in the context window
- The number of tokens the model may generate in a single response
- The number of requests per minute
- Το μέγεθος του λεξιλογίου του μοντέλου
- Η κλήση σας επιστρέφει έναν λόγο τερματισμού «μήκους» στο API του OpenAI. Τι συνέβη;
- The model finished its answer naturally
- A stop sequence was matched
- The output hit the maximum token limit and was cut off
- The model requested a tool call
- Ποια Anthropic stop_reason υποδεικνύει ότι το μοντέλο αποφάσισε ότι η απάντησή του ήταν ολοκληρωμένη;
- end_turn
- max_tokens
- stop_sequence
- tool_use
- Γιατί ο ορισμός μιας χαμηλής μέγιστης τιμής διακριτικών δεν κάνει τις απαντήσεις συνοπτικές;
- The API ignores low values
- The model writes as usual and is simply cut off when it reaches the limit
- It makes the model skip the first half of its answer
- It only affects input tokens
- Περιλαμβάνεται κανονικά η αντιστοιχισμένη ακολουθία διακοπής στο επιστρεφόμενο κείμενο;
- Yes, always at the end
- Yes, but only when streaming
- No, it is normally left out of the output
- Only if it is a single character
- A reasoning model returns an empty visible answer. What is a likely cause described in the guide?
- The stop sequence was too long
- Hidden reasoning tokens used up the output limit
- The context window was too large
- The prompt was written in lowercase
- Which stop sequence is the best choice for ending after a structured answer block?
- το
- a single space
- </answer>
- .
- When streaming a response, when should your code decide whether the output was truncated?
- After the first chunk arrives
- When the finish reason arrives at the end of the stream
- Before sending the request
- Streaming responses cannot be truncated