Skip to content
Home
Artificial Intelligence
Generative AI
What is "frequency penalty" in LLM APIs?
What is "frequency penalty" in LLM APIs?
A
Penalizing rare tokens
B
Penalizing repeated tokens
Correct answer
C
Increasing temperature
D
Limiting output length
Correct answer
B. Penalizing repeated tokens
18 views
⚔️
Challenge a friend on Generative AI
Same MCQs, timed, live leaderboard. Send the link on WhatsApp – no sign-up needed.
Create challenge
Explanation
Frequency penalty reduces the likelihood of repeating tokens that have already appeared. Source: General LLM knowledge (aligned with FBISE curriculum).
Reference
Asked in: General
Doubts & discussionNot sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ
‹ Previous MCQ What is "top-K" sampling? Next MCQ › What is "presence penalty"?
× Get 10 free MCQs every day for PPSC, FPSC & NTS preparation
MG Ask MCQ Guru Need help? Find an MCQ, a short question, a test or your certificate. Just ask.×