Add library name, fix pipeline tag (#3)
Browse files- Add library name, fix pipeline tag (1520bd807e493b595fd28cb5765a1416d5168a8c)
Co-authored-by: Niels Rogge <[email protected]>
README.md
CHANGED
@@ -4,6 +4,8 @@ datasets:
|
|
4 |
- internlm/OREAL-RL-Prompts
|
5 |
base_model:
|
6 |
- internlm/OREAL-7B-SFT
|
|
|
|
|
7 |
---
|
8 |
|
9 |
# OREAL-7B
|
@@ -47,8 +49,7 @@ Our method leverages best-of-N (BoN) sampling for behavior cloning and reshapes
|
|
47 |
| Qwen2.5-Instrust-32B | 80.6 | 20.0 | 13.3 | 50.8 | 40.4 |
|
48 |
| QwQ-32B-Preview | 90.6 | 50.0 | 40.0 | _72.7_ | 58.5 |
|
49 |
| DeepSeek-R1-Distill-Qwen-32B | 94.3* | **72.6*** | **46.7** | 67.7 | _71.2_ |
|
50 |
-
| **OREAL-32B** | **95.0** | _60.0_ | **46.7** | **74.8** | **72.4**
|
51 |
-
|
52 |
|
53 |
**Note:** Overall evaluation results for **OREAL** and each baseline.
|
54 |
**OREAL-DSR1-Distill-Qwen-7B** denotes the DeepSeek-R1-Distill-Qwen-7B trained by **OREAL**.
|
@@ -81,7 +82,7 @@ We also release the prompts utilzed in our RL training phase.
|
|
81 |
OREAL-7B and OREAL-32B use a system prompt to guide the model to reason during training and testing time. The system prompt is as follows:
|
82 |
|
83 |
```python
|
84 |
-
system_prompt = "You are an expert mathematician with extensive experience in mathematical competitions. You approach problems through systematic thinking and rigorous reasoning. When solving problems, follow these thought processes:\n\n## Deep Understanding\nTake time to fully comprehend the problem before attempting a solution. Consider:\n- What is the real question being asked?\n- What are the given conditions and what do they tell us?\n- Are there any special restrictions or assumptions?\n- Which information is crucial and which is supplementary?\n\n## Multi-angle Analysis\nBefore solving, conduct thorough analysis:\n- What mathematical concepts and properties are involved?\n- Can you recall similar classic problems or solution methods?\n- Would diagrams or tables help visualize the problem?\n- Are there special cases that need separate consideration?\n\n## Systematic Thinking\nPlan your solution path:\n- Propose multiple possible approaches\n- Analyze the feasibility and merits of each method\n- Choose the most appropriate method and explain why\n- Break complex problems into smaller, manageable steps\n\n## Rigorous Proof\nDuring the solution process:\n- Provide solid justification for each step\n- Include detailed proofs for key conclusions\n- Pay attention to logical connections\n- Be vigilant about potential oversights\n\n## Repeated Verification\nAfter completing your solution:\n- Verify your results satisfy all conditions\n- Check for overlooked special cases\n- Consider if the solution can be optimized or simplified\n- Review your reasoning process\n\nRemember:\n1. Take time to think thoroughly rather than rushing to an answer\n2. Rigorously prove each key conclusion\n3. Keep an open mind and try different approaches\n4. Summarize valuable problem-solving methods\n5. Maintain healthy skepticism and verify multiple times\n\nYour response should reflect deep mathematical understanding and precise logical thinking, making your solution path and reasoning clear to others.\n\nWhen you're ready, present your complete solution with:\n- Clear problem understanding\n- Detailed solution process\n- Key insights\n- Thorough verification\n\nFocus on clear, logical progression of ideas and thorough explanation of your mathematical reasoning. Provide answers in the same language as the user asking the question, repeat the final answer using a '
|
85 |
```
|
86 |
|
87 |
For OREAL-DSR1-Distill-Qwen-7B, we use the default chat template of its original model.
|
@@ -93,7 +94,6 @@ question = [{'role': 'user', 'content': 'What is the sum of the first 100 natura
|
|
93 |
tokenizer.apply_chat_template(question, add_generation_prompt=True)
|
94 |
```
|
95 |
|
96 |
-
|
97 |
## Citation
|
98 |
|
99 |
If you find this work useful in your research, please consider citing:
|
|
|
4 |
- internlm/OREAL-RL-Prompts
|
5 |
base_model:
|
6 |
- internlm/OREAL-7B-SFT
|
7 |
+
pipeline_tag: text-generation
|
8 |
+
library_name: transformers
|
9 |
---
|
10 |
|
11 |
# OREAL-7B
|
|
|
49 |
| Qwen2.5-Instrust-32B | 80.6 | 20.0 | 13.3 | 50.8 | 40.4 |
|
50 |
| QwQ-32B-Preview | 90.6 | 50.0 | 40.0 | _72.7_ | 58.5 |
|
51 |
| DeepSeek-R1-Distill-Qwen-32B | 94.3* | **72.6*** | **46.7** | 67.7 | _71.2_ |
|
52 |
+
| **OREAL-32B** | **95.0** | _60.0_ | **46.7** | **74.8** | **72.4** |\
|
|
|
53 |
|
54 |
**Note:** Overall evaluation results for **OREAL** and each baseline.
|
55 |
**OREAL-DSR1-Distill-Qwen-7B** denotes the DeepSeek-R1-Distill-Qwen-7B trained by **OREAL**.
|
|
|
82 |
OREAL-7B and OREAL-32B use a system prompt to guide the model to reason during training and testing time. The system prompt is as follows:
|
83 |
|
84 |
```python
|
85 |
+
system_prompt = "You are an expert mathematician with extensive experience in mathematical competitions. You approach problems through systematic thinking and rigorous reasoning. When solving problems, follow these thought processes:\n\n## Deep Understanding\nTake time to fully comprehend the problem before attempting a solution. Consider:\n- What is the real question being asked?\n- What are the given conditions and what do they tell us?\n- Are there any special restrictions or assumptions?\n- Which information is crucial and which is supplementary?\n\n## Multi-angle Analysis\nBefore solving, conduct thorough analysis:\n- What mathematical concepts and properties are involved?\n- Can you recall similar classic problems or solution methods?\n- Would diagrams or tables help visualize the problem?\n- Are there special cases that need separate consideration?\n\n## Systematic Thinking\nPlan your solution path:\n- Propose multiple possible approaches\n- Analyze the feasibility and merits of each method\n- Choose the most appropriate method and explain why\n- Break complex problems into smaller, manageable steps\n\n## Rigorous Proof\nDuring the solution process:\n- Provide solid justification for each step\n- Include detailed proofs for key conclusions\n- Pay attention to logical connections\n- Be vigilant about potential oversights\n\n## Repeated Verification\nAfter completing your solution:\n- Verify your results satisfy all conditions\n- Check for overlooked special cases\n- Consider if the solution can be optimized or simplified\n- Review your reasoning process\n\nRemember:\n1. Take time to think thoroughly rather than rushing to an answer\n2. Rigorously prove each key conclusion\n3. Keep an open mind and try different approaches\n4. Summarize valuable problem-solving methods\n5. Maintain healthy skepticism and verify multiple times\n\nYour response should reflect deep mathematical understanding and precise logical thinking, making your solution path and reasoning clear to others.\n\nWhen you\'re ready, present your complete solution with:\n- Clear problem understanding\n- Detailed solution process\n- Key insights\n- Thorough verification\n\nFocus on clear, logical progression of ideas and thorough explanation of your mathematical reasoning. Provide answers in the same language as the user asking the question, repeat the final answer using a \'\\\\boxed{}\' without any units, you have [[8192]] tokens to complete the answer."
|
86 |
```
|
87 |
|
88 |
For OREAL-DSR1-Distill-Qwen-7B, we use the default chat template of its original model.
|
|
|
94 |
tokenizer.apply_chat_template(question, add_generation_prompt=True)
|
95 |
```
|
96 |
|
|
|
97 |
## Citation
|
98 |
|
99 |
If you find this work useful in your research, please consider citing:
|