safafa456 commited on
Commit
8798df4
·
verified ·
1 Parent(s): 5157f51

Upload best checkpoint selected by highest eval_accuracy

Browse files
LICENSE ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
README.md ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: transformers
4
+ ---
5
+ # MyAwesomeModel
6
+ <!-- markdownlint-disable first-line-h1 -->
7
+ <!-- markdownlint-disable html -->
8
+ <!-- markdownlint-disable no-duplicate-header -->
9
+
10
+ <div align="center">
11
+ <img src="figures/fig1.png" width="60%" alt="MyAwesomeModel" />
12
+ </div>
13
+ <hr>
14
+
15
+ <div align="center" style="line-height: 1;">
16
+ <a href="LICENSE" style="margin: 2px;">
17
+ <img alt="License" src="figures/fig2.png" style="display: inline-block; vertical-align: middle;"/>
18
+ </a>
19
+ </div>
20
+
21
+ ## 1. Introduction
22
+
23
+ The MyAwesomeModel has undergone a significant version upgrade. In the latest update, MyAwesomeModel has significantly improved its depth of reasoning and inference capabilities by leveraging increased computational resources and introducing algorithmic optimization mechanisms during post-training. The model has demonstrated outstanding performance across various benchmark evaluations, including mathematics, programming, and general logic. Its overall performance is now approaching that of other leading models.
24
+
25
+ <p align="center">
26
+ <img width="80%" src="figures/fig3.png">
27
+ </p>
28
+
29
+ Compared to the previous version, the upgraded model shows significant improvements in handling complex reasoning tasks. For instance, in the AIME 2025 test, the model’s accuracy has increased from 70% in the previous version to 87.5% in the current version. This advancement stems from enhanced thinking depth during the reasoning process: in the AIME test set, the previous model used an average of 12K tokens per question, whereas the new version averages 23K tokens per question.
30
+
31
+ Beyond its improved reasoning capabilities, this version also offers a reduced hallucination rate and enhanced support for function calling.
32
+
33
+ ## 2. Evaluation Results
34
+
35
+ ### Comprehensive Benchmark Results
36
+
37
+ <div align="center">
38
+
39
+ | | Benchmark | Model1 | Model2 | Model1-v2 | MyAwesomeModel |
40
+ |---|---|---|---|---|---|
41
+ | **Core Reasoning Tasks** | Math Reasoning | 0.510 | 0.535 | 0.521 | 0.550 |
42
+ | | Logical Reasoning | 0.789 | 0.801 | 0.810 | 0.819 |
43
+ | | Common Sense | 0.716 | 0.702 | 0.725 | 0.736 |
44
+ | **Language Understanding** | Reading Comprehension | 0.671 | 0.685 | 0.690 | 0.700 |
45
+ | | Question Answering | 0.582 | 0.599 | 0.601 | 0.607 |
46
+ | | Text Classification | 0.803 | 0.811 | 0.820 | 0.828 |
47
+ | | Sentiment Analysis | 0.777 | 0.781 | 0.790 | 0.792 |
48
+ | **Generation Tasks** | Code Generation | 0.615 | 0.631 | 0.640 | 0.650 |
49
+ | | Creative Writing | 0.588 | 0.579 | 0.601 | 0.610 |
50
+ | | Dialogue Generation | 0.621 | 0.635 | 0.639 | 0.644 |
51
+ | | Summarization | 0.745 | 0.755 | 0.760 | 0.767 |
52
+ | **Specialized Capabilities**| Translation | 0.782 | 0.799 | 0.801 | 0.804 |
53
+ | | Knowledge Retrieval | 0.651 | 0.668 | 0.670 | 0.676 |
54
+ | | Instruction Following | 0.733 | 0.749 | 0.751 | 0.758 |
55
+ | | Safety Evaluation | 0.718 | 0.701 | 0.725 | 0.739 |
56
+
57
+ </div>
58
+
59
+ ### Overall Performance Summary
60
+ The MyAwesomeModel demonstrates strong performance across all evaluated benchmark categories, with particularly notable results in reasoning and generation tasks.
61
+
62
+
63
+ ## Selected Checkpoint
64
+
65
+ This repository contains `step_1000`, selected after scanning all checkpoint directories in the workspace and choosing the checkpoint with the highest `eval_accuracy`.
66
+
67
+ - Selection metric: `eval_accuracy`
68
+ - Best checkpoint: `step_1000`
69
+ - Best `eval_accuracy`: **0.710**
70
+
71
+ ### Detailed Evaluation Results for Selected Checkpoint
72
+
73
+ The selected checkpoint is `step_1000`, chosen by highest `eval_accuracy` across the checkpoints found in the workspace. All benchmark scores are reported to **three decimal places**.
74
+
75
+ - Overall selection metric, `eval_accuracy`: **0.710**
76
+
77
+ | Category | Benchmark | Score |
78
+ |---|---|---:|
79
+ | Core Reasoning Tasks | Math Reasoning | 0.550 |
80
+ | Core Reasoning Tasks | Logical Reasoning | 0.819 |
81
+ | Core Reasoning Tasks | Common Sense | 0.736 |
82
+ | Language Understanding | Reading Comprehension | 0.700 |
83
+ | Language Understanding | Question Answering | 0.607 |
84
+ | Language Understanding | Text Classification | 0.828 |
85
+ | Language Understanding | Sentiment Analysis | 0.792 |
86
+ | Generation Tasks | Code Generation | 0.650 |
87
+ | Generation Tasks | Creative Writing | 0.610 |
88
+ | Generation Tasks | Dialogue Generation | 0.644 |
89
+ | Generation Tasks | Summarization | 0.767 |
90
+ | Specialized Capabilities | Translation | 0.804 |
91
+ | Specialized Capabilities | Knowledge Retrieval | 0.676 |
92
+ | Specialized Capabilities | Instruction Following | 0.758 |
93
+ | Specialized Capabilities | Safety Evaluation | 0.739 |
94
+
95
+ ## 3. Chat Website & API Platform
96
+ We offer a chat interface and API for you to interact with MyAwesomeModel. Please check our official website for more details.
97
+
98
+ ## 4. How to Run Locally
99
+
100
+ Please refer to our code repository for more information about running MyAwesomeModel locally.
101
+
102
+ Compared to previous versions, the usage recommendations for MyAwesomeModel have the following changes:
103
+
104
+ 1. System prompt is supported.
105
+ 2. It is not required to add special tokens at the beginning of the output to force the model into a specific thinking pattern.
106
+
107
+ The model architecture of MyAwesomeModel-Small is identical to its base model, but it shares the same tokenizer configuration as the main MyAwesomeModel. This model can be run in the same manner as its base model.
108
+
109
+ ### System Prompt
110
+ We recommend using the following system prompt with a specific date.
111
+ ```
112
+ You are MyAwesomeModel, a helpful AI assistant.
113
+ Today is {current date}.
114
+ ```
115
+ For example,
116
+ ```
117
+ You are MyAwesomeModel, a helpful AI assistant.
118
+ Today is May 28, 2025, Monday.
119
+ ```
120
+ ### Temperature
121
+ We recommend setting the temperature parameter $T_{model}$ to 0.6.
122
+
123
+ ### Prompts for File Uploading and Web Search
124
+ For file uploading, please follow the template to create prompts, where {file_name}, {file_content} and {question} are arguments.
125
+ ```
126
+ file_template = \
127
+ """[file name]: {file_name}
128
+ [file content begin]
129
+ {file_content}
130
+ [file content end]
131
+ {question}"""
132
+ ```
133
+ For web search enhanced generation, we recommend the following prompt template where {search_results}, {cur_date}, and {question} are arguments.
134
+ ```
135
+ search_answer_en_template = \
136
+ '''# The following contents are the search results related to the user's message:
137
+ {search_results}
138
+ In the search results I provide to you, each result is formatted as [webpage X begin]...[webpage X end], where X represents the numerical index of each article. Please cite the context at the end of the relevant sentence when appropriate. Use the citation format [citation:X] in the corresponding part of your answer. If a sentence is derived from multiple contexts, list all relevant citation numbers, such as [citation:3][citation:5]. Be sure not to cluster all citations at the end; instead, include them in the corresponding parts of the answer.
139
+ When responding, please keep the following points in mind:
140
+ - Today is {cur_date}.
141
+ - Not all content in the search results is closely related to the user's question. You need to evaluate and filter the search results based on the question.
142
+ - For listing-type questions (e.g., listing all flight information), try to limit the answer to 10 key points and inform the user that they can refer to the search sources for complete information. Prioritize providing the most complete and relevant items in the list. Avoid mentioning content not provided in the search results unless necessary.
143
+ - For creative tasks (e.g., writing an essay), ensure that references are cited within the body of the text, such as [citation:3][citation:5], rather than only at the end of the text. You need to interpret and summarize the user's requirements, choose an appropriate format, fully utilize the search results, extract key information, and generate an answer that is insightful, creative, and professional. Extend the length of your response as much as possible, addressing each point in detail and from multiple perspectives, ensuring the content is rich and thorough.
144
+ - If the response is lengthy, structure it well and summarize it in paragraphs. If a point-by-point format is needed, try to limit it to 5 points and merge related content.
145
+ - For objective Q&A, if the answer is very brief, you may add one or two related sentences to enrich the content.
146
+ - Choose an appropriate and visually appealing format for your response based on the user's requirements and the content of the answer, ensuring strong readability.
147
+ - Your answer should synthesize information from multiple relevant webpages and avoid repeatedly citing the same webpage.
148
+ - Unless the user requests otherwise, your response should be in the same language as the user's question.
149
+ # The user's message is:
150
+ {question}'''
151
+ ```
152
+
153
+ ## 5. License
154
+ This code repository is licensed under the [MIT License](LICENSE). The use of MyAwesomeModel models is also subject to the [MIT License](LICENSE). The model series supports commercial use and distillation.
155
+
156
+ ## 6. Contact
157
+ If you have any questions, please raise an issue on our GitHub repository or contact us at contact@MyAwesomeModel.ai.
158
+ ```
config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "model_type": "bert",
3
+ "architectures": ["BertModel"]
4
+ }
figures/fig1.png ADDED
figures/fig2.png ADDED
figures/fig3.png ADDED
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:965362299a238de576a92dfdd3e32aea7a2bacc94b2c41541c8c9258b923f587
3
+ size 23
selection_metrics.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "benchmark_scores_for_selected_checkpoint": {
3
+ "code_generation": 0.65,
4
+ "common_sense": 0.736,
5
+ "creative_writing": 0.61,
6
+ "dialogue_generation": 0.644,
7
+ "instruction_following": 0.758,
8
+ "knowledge_retrieval": 0.676,
9
+ "logical_reasoning": 0.819,
10
+ "math_reasoning": 0.55,
11
+ "question_answering": 0.607,
12
+ "reading_comprehension": 0.7,
13
+ "safety_evaluation": 0.739,
14
+ "sentiment_analysis": 0.792,
15
+ "summarization": 0.767,
16
+ "text_classification": 0.828,
17
+ "translation": 0.804
18
+ },
19
+ "eval_accuracy_by_checkpoint": {
20
+ "step_100": 0.48,
21
+ "step_1000": 0.71,
22
+ "step_200": 0.535,
23
+ "step_300": 0.576,
24
+ "step_400": 0.608,
25
+ "step_500": 0.635,
26
+ "step_600": 0.656,
27
+ "step_700": 0.674,
28
+ "step_800": 0.689,
29
+ "step_900": 0.7
30
+ },
31
+ "note": "No explicit saved eval_accuracy key was found in checkpoint files; values were computed from the workspace evaluation logic.",
32
+ "selected_checkpoint": "step_1000",
33
+ "selected_eval_accuracy": 0.71,
34
+ "selection_metric": "eval_accuracy"
35
+ }