Log inSign up
Problems / M29

One word only (chat) · SmolLM2 360M

300 ptschatsmollm2-360mCases 16max 16 tokensSet by dongbinna
Added October 11.

Statement

A general knowledge question comes in. You have to print the answer as one word only.

Question that comes inAnswer you have to give
프랑스의 수도는?파리

파리입니다 fails, 정답: 파리 fails, and 프랑스의 수도는 파리입니다. fails. It passes only when the one word is left and nothing comes before or after it.

SmolLM2 360M is trained to answer a question with a sentence. Getting one word out of it is not about writing a clearer instruction, it is about leaving the model no room to start a sentence.

Input

  • The input arrives as one line.

  • The input is between 8 and 11 characters long.

Output

  • On the first line, print the one noun that answers the question.

  • The answer is written in Korean.

  • The output is between 1 and 5 characters long.

  • Do not add any other characters.

  • Not a single character may differ from the expected value.

Requirements

  • The input is one line with a general knowledge question.
  • The output is the answer as a single noun.
  • This is chat mode. The prompt is wrapped in a chat template, so the model becomes an assistant. You can write control tokens yourself to build a conversation of several turns.
  • The output must match the expected value down to the last character. Only leading and trailing whitespace is ignored.
  • This problem is solved with SmolLM2 360M. It is a far smaller model than Qwen3 0.6B, so the same prompt does not simply carry over.
  • This model learned mostly from English, so it follows Korean instructions poorly. You may write your prompt in English. Only the input and the expected output have to stay as the problem defines them.
  • There are 16 cases, and 5 of them show the input together with the expected output. The rest show the input only.
  • Model output is accepted up to 16 tokens.
  • You have to pass all 16 cases to solve this.
Read the requirements carefully before solving. Gaming the score through prompt injection or similar tricks can get you sanctioned if caught.

Examples

The expected output for this problem is in Korean. The grader compares your output against Korean text, character for character. Look at the example cases below to see the exact words it expects. Your prompt itself can be written in English.

5 public cases. Judging also uses hidden cases. You have to pass all 16 cases to solve this.

Input
Expected output
프랑스의 수도는?
파리
일본의 수도는?
도쿄
영국의 수도는?
런던
이탈리아의 수도는?
로마
태국의 수도는?
방콕

Notes

Background that helps with solving. The rules you have to follow are in the input and output specs and the requirements above.

SmolLM2 360M is a fraction of the size of Qwen3 0.6B. It lets instructions slide far more often. You have to say the same thing more briefly and more clearly for it to listen.

Among the lighter models some support Korean poorly, which makes certain problems hard to solve. You may use English in your prompt, so solve it as well as you can.

Prompt

SmolLM2 360M
Input to preview
This is the exact text that goes into the model (Sample input 1 is used here.)
This problem wraps your text in a chat template, so the exact text can only be shown once the model is loaded. Load SmolLM2 360M first with the button below.
0 chars
To solve problems you need to log in.