--- library_name: transformers license: apache-2.0 language: - ko --- # GPT-4o Level Reasoning with Ko-R1-1.5B

HRM8K

| πŸ“– Paper | πŸ“ Blog(English) | πŸ“ Blog(Korean) | πŸ–₯️ Code(Coming soon!) |

## Model Overview Ko-R1-Preview is a Korean implementation of [R1](https://huggingface.co/deepseek-ai/DeepSeek-R1). Similar to R1, it adapts a two-step problem-solving process (\ and \). Drawing inspiration from [Ko et al., 2025](https://www.arxiv.org/abs/2501.02448) the thinking is done in English for performance, and the solution is generated in Korean for readability. ## Performance The model’s performance is evaluated on subsets of the HRM8K benchmark ([Ko et al., 2025](https://www.arxiv.org/abs/2501.02448)). The evaluation files are also available [here](https://huggingface.co/OLAIR/ko-r1-1.5b-preview/tree/main/eval). ![image/png](https://cdn-uploads.huggingface.co/production/uploads/60d3e619b8448e1785bbda2a/tLKBy8-CrygkYjIrk8U9l.png) ## Inference Settings Parameters used during evaluation: ``` params = SamplingParams(temperature=0.0, min_tokens=32, max_tokens=8192, repetition_penalty=1.1) ``` ## Sample Output Here is a sample output. ``` Q: $2^8=4^x$일 λ•Œ, $x$의 값은 μ–Όλ§ˆμž…λ‹ˆκΉŒ? Response by ko-r1-preview-1.5B: Okay, so I need to solve the equation 2^8 = 4^x and find the value of x. Let me think about how to approach this step by step. First, I remember that when dealing with exponential equations, it's often helpful to express both sides of the equation with the same base if possible. That way, I can set the exponents equal to each other because if a^b = c^d, then b must equal d if a and c are the same. So, let's see if I can rewrite 4 as a power of 2. Since 4 is 2 squared, right? Because 2 times 2 is 4. So, 4 is 2^2. So substituting that into the original equation, we have:\n\n2^8 = (2^2)^x Now, using the exponentiation rule (a^m)^n = a^(m*n), which means multiplying the exponents. Applying that here, the right side becomes 2^(2*x). So now the equation is:\n\n2^8 = 2^(2x) Since the bases are the same (both are powers of 2), their exponents must be equal for the equality to hold. Therefore, I can set the exponents equal to each other:\n\n8 = 2x\n\nTo solve for x, I just divide both sides by 2: x = 8 / 2 x = 4 Wait, let me check that again. If x is 4, then 4^4 would be 256, and 2^8 is also 256. Yeah, that works out. But maybe there's another way to verify? Alternatively, I could take logarithms on both sides. Let's try that method to confirm. Taking the natural log or common log of both sides. Let's use natural logs for this example.\n\nTaking ln of both sides: ln(2^8) = ln(4^x) Using the logarithm property that ln(a^b) = b*ln(a): 8*ln(2) = x*ln(4)\n\nThen solving for x: x = (8*ln(2)) / ln(4) But since 4 is 2^2, ln(4) is ln(2^2) = 2*ln(2). Substituting back in: x = (8*ln(2)) / (2*ln(2)) = 8/2 = 4 Same result. So that confirms it. Both methods give x = 4. [skipped...] \\(2^8 = 4^x\\)을 ν’€κΈ° μœ„ν•΄, μš°λ¦¬λŠ” μ–‘μͺ½μ„ 같은 λ°‘μœΌλ‘œ ν‘œν˜„ν•©λ‹ˆλ‹€. \\(4\\)λ₯Ό \\(2^2\\)둜 λ‹€μ‹œ μ”λ‹ˆλ‹€: \\[ 2^8 = (2^2)^x \\] μ§€μˆ˜ 법칙 \\((a^m)^n = a^{mn}\\)을 μ‚¬μš©ν•˜μ—¬ 였λ₯Έμͺ½μ„ λ‹¨μˆœν™”ν•˜λ©΄: \\[\n2^8 = 2^{2x}\n\\] 밑이 κ°™μœΌλ―€λ‘œ μ§€μˆ˜λŠ” κ°™μ•„μ•Ό ν•©λ‹ˆλ‹€: \\[ 8 = 2x \\] \\(x\\)λ₯Ό κ΅¬ν•˜λ©΄: \\[ x = \\frac{8}{2} = 4 \\] 검증: - \\(4^4 = 256\\)이고 \\(2^8 = 256\\)μ΄λ―€λ‘œ ν•΄κ°€ λ§žμŒμ„ 확인할 수 μžˆμŠ΅λ‹ˆλ‹€. 둜그λ₯Ό μ‚¬μš©ν•œ 검증도 κ²°κ³Όλ₯Ό ν™•μΈν•©λ‹ˆλ‹€. λ”°λΌμ„œ, \\(x\\)의 값은 \\(\\boxed{4}\\)μž…λ‹ˆλ‹€. ``` ## Citation ``` @article{ko2025understand, title={Understand, Solve and Translate: Bridging the Multilingual Mathematical Reasoning Gap}, author={Ko, Hyunwoo and Son, Guijin and Choi, Dasol}, journal={arXiv preprint arXiv:2501.02448}, year={2025} } ```