গাইড লিঙ্ক ক্যুইজ · মাঝারি স্তর

সর্বোচ্চ টোকেন এবং স্টপ সিকোয়েন্স কুইজ

সর্বোচ্চ টোকেন এবং প্রসঙ্গ উইন্ডোর মধ্যে পার্থক্য পরীক্ষা করে, কীভাবে স্টপ সিকোয়েন্সগুলি কাজ করে এবং ছেঁটে ধরার শেষ কারণগুলি কীভাবে পড়তে হয়।

প্রশ্ন 1 এর 8

সর্বোচ্চ টোকেন সীমা কি?

প্রতিটি প্রশ্নের পূর্বরূপ দেখুন8 প্রশ্ন

আপনি কুইজ নেওয়ার সাথে সাথে উত্তর এবং ব্যাখ্যাগুলি উপস্থিত হয়।

  1. সর্বোচ্চ টোকেন সীমা কি?
    • 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
    • মডেলের শব্দভান্ডারের আকার
  2. আপনার কল OpenAI-এর API-এ 'দৈর্ঘ্য'-এর একটি শেষ কারণ প্রদান করে। কি হয়েছে?
    • 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
  3. কোন Anthropic stop_reason নির্দেশ করে যে মডেল সিদ্ধান্ত নিয়েছে তার উত্তর সম্পূর্ণ হয়েছে?
    • end_turn
    • max_tokens
    • stop_sequence
    • tool_use
  4. কেন একটি কম সর্বোচ্চ টোকেন মান সেট করা উত্তরগুলিকে সংক্ষিপ্ত করে না?
    • 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
  5. মিলিত স্টপ সিকোয়েন্স কি সাধারণত প্রত্যাবর্তিত টেক্সটে অন্তর্ভুক্ত করা হয়?
    • 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
  6. 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
  7. Which stop sequence is the best choice for ending after a structured answer block?
    • দ
    • a single space
    • </answer>
    • .
  8. 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