Name the capital (raw) · SmolLM2 360M
Statement
This is essentially the same problem as Name the capital (chat). This one is a raw mode problem.
One line with a country name comes in, and you have to print only that country's capital on one line.
| Input line | Expected output |
|---|---|
| 프랑스 | 파리 |
Raw mode has no place for a question and an answer. The model carries on after 프랑스 with a list of other country names, or makes up a sentence such as 프랑스의 수도는? of its own. You have to build a shape where nothing but the capital can come next.
Input
The input arrives as one line.
The input is between 2 and 5 characters long.
Output
Print the name of the capital as one word on the first line.
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 a country name.
- The output is the name of the capital as one word.
- This is raw mode. Your two pieces and the input are joined together as they are and fed to the model. No chat template and no
<think>is added. Grading looks only as far as the first line. - 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.
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.
프랑스
파리
일본
도쿄
영국
런던
이탈리아
로마
태국
방콕
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프랑스