初始化项目,由ModelHub XC社区提供模型
Model: KISTI-KONI/KONI-Llama3.1-8B-R-20250831 Source: Original Platform
This commit is contained in:
36
.gitattributes
vendored
Normal file
36
.gitattributes
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.arrow filter=lfs diff=lfs merge=lfs -text
|
||||
*.bin filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
||||
*.ftz filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.h5 filter=lfs diff=lfs merge=lfs -text
|
||||
*.joblib filter=lfs diff=lfs merge=lfs -text
|
||||
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
||||
*.model filter=lfs diff=lfs merge=lfs -text
|
||||
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
||||
*.npy filter=lfs diff=lfs merge=lfs -text
|
||||
*.npz filter=lfs diff=lfs merge=lfs -text
|
||||
*.onnx filter=lfs diff=lfs merge=lfs -text
|
||||
*.ot filter=lfs diff=lfs merge=lfs -text
|
||||
*.parquet filter=lfs diff=lfs merge=lfs -text
|
||||
*.pb filter=lfs diff=lfs merge=lfs -text
|
||||
*.pickle filter=lfs diff=lfs merge=lfs -text
|
||||
*.pkl filter=lfs diff=lfs merge=lfs -text
|
||||
*.pt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pth filter=lfs diff=lfs merge=lfs -text
|
||||
*.rar filter=lfs diff=lfs merge=lfs -text
|
||||
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
||||
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
||||
*.tar filter=lfs diff=lfs merge=lfs -text
|
||||
*.tflite filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.wasm filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
||||
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
||||
331
README.md
Normal file
331
README.md
Normal file
@@ -0,0 +1,331 @@
|
||||
---
|
||||
license: llama3.1
|
||||
language:
|
||||
- ko
|
||||
- en
|
||||
tags:
|
||||
- text-generation
|
||||
- pytorch
|
||||
- llama3.1
|
||||
- KISTI
|
||||
- KONI
|
||||
- 8b
|
||||
library_name: transformers
|
||||
base_model:
|
||||
- KISTI-KONI/KONI-Llama3.1-8B-Instruct-20241024
|
||||
---
|
||||
|
||||
# KONI-Llama3.1-8B-R-20250831
|
||||
|
||||
[**KONI (KISTI Open Neural Intelligence)**](https://huggingface.co/KISTI-KONI) is a large language model developed by the Korea Institute of Science and Technology Information (KISTI). Designed specifically for the scientific and technological domains, KONI excels in both Korean and English, making it an ideal tool for tasks requiring specialized knowledge in these areas.
|
||||
|
||||
|
||||
<div class="logo-row">
|
||||
<img src="https://cdn-uploads.huggingface.co/production/uploads/60d3e619b8448e1785bbda2a/RJUQtsIG1xwSHk2KuuDl_.png" alt="Koni logo" class="koni-logo">
|
||||
<img src="https://cdn-uploads.huggingface.co/production/uploads/60d3e619b8448e1785bbda2a/xYJqy-qqWzN2FjQwcV80Z.png" alt="OneLineAI logo" class="OneLineAI-logo">
|
||||
<img src="https://cdn-uploads.huggingface.co/production/uploads/60d3e619b8448e1785bbda2a/mJjX11ZN6dYMihNAk_IFn.png" alt="HAE-RAE logo" class="HAE-RAE-logo">
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.logo-row {
|
||||
display: flex;
|
||||
align-items: center; /* vertical align */
|
||||
justify-content: center; /* center the pair (optional) */
|
||||
gap: 3px; /* space between logos */
|
||||
flex-wrap: wrap; /* stack on very small screens */
|
||||
}
|
||||
.logo-row img {
|
||||
width: auto; /* keep aspect ratio */
|
||||
object-fit: contain;
|
||||
}
|
||||
.koni-logo {
|
||||
height: 200px; /* KONI 크게 */
|
||||
|
||||
}
|
||||
.OneLineAI-logo {
|
||||
height: 110px; /* KONI 크게 */
|
||||
|
||||
}
|
||||
.HAE-RAE-logo {
|
||||
height: 160px; /* KONI 크게 */
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
**KONI-Llama3.1-8B-R-20250831** is an 8B Korean reasoning–specialized model developed collaboratively by KISTI, OneLineAI, HAE-RAE, and ORACLE as part of the [**KO-REAson series**](https://huggingface.co/KOREAson). Built upon [**KONI-Llama3.1-8B-Instruct-20241024**](https://huggingface.co/KISTI-KONI/KONI-Llama3.1-8B-Instruct-20241024), it is an instruction-tuned variant optimized for Korean-centric reasoning with full English support. By leveraging the **Language-Mixed Chain-of-Thought strategy**—interleaving Korean and English during the reasoning stage—the model improves both consistency and accuracy in complex reasoning. It is designed to address a wide range of tasks, from science and technology queries to general knowledge, mathematics, and logical problem-solving. While fully maintaining the tokenizer, context length, and API compatibility of the base model, it further enhances performance through supervised fine-tuning (SFT) tailored for Korean reasoning and terminology preservation.
|
||||
|
||||
## Key Features
|
||||
|
||||
- **Korean-Centric Reasoning with English Support**: Optimized primarily for Korean reasoning tasks while providing full support for English, enabling robust bilingual usage.
|
||||
- **Language-Mixed Chain-of-Thought**: Employs Language-Mixed Chain-of-Thought strategy that interleaves Korean and English during the thought process, improving both consistency and accuracy in complex reasoning.
|
||||
- **Specialized in Science & Technology**: Trained with strong emphasis on scientific and technological domains, making it well-suited for expert-level queries in these areas.
|
||||
- **Base Model**: Built upon [KONI-Llama3.1-8B-Instruct-20241024](https://huggingface.co/KISTI-KONI/KONI-Llama3.1-8B-Instruct-20241024), derived from the Llama-3.1-8B-Instruct lineage.
|
||||
- **Alignment**: Enhanced through Supervised Fine-Tuning (SFT) on 260k Language-Mixed Chain-of-Thought (CoT) examples, tailored for bilingual(Korean/English) reasoning and terminology preservation.
|
||||
- **Strengths**: Demonstrating substantial performance gains across diverse reasoning benchmarks, this model provides coherent and complex reasoning in both Korean and English, capable of addressing a broad spectrum of tasks such as science and technology queries, general knowledge, mathematics, and logical problem-solving.
|
||||
- **Intended Use**: Designed for science and technology Q&A, mathematical and logical problem-solving, Korean document understanding, and as a reasoning backbone for agent systems.
|
||||
|
||||
---
|
||||
|
||||
# KO-REAson
|
||||
|
||||
[**KO-REAson**](https://huggingface.co/KOREAson) is a series of Korean-centric reasoning language models developed in collaboration with [OneLineAI](https://onelineai.com/), [KISTI-KONI](https://huggingface.co/KISTI-KONI), [HAE-RAE](https://huggingface.co/HAERAE-HUB) and ORACLE.
|
||||
|
||||
We use the **Language-Mixed Chain-of-Thought (CoT)** approach, which allows the model to alternate between English and Korean during the “Think” stage of reasoning, preserving key Korean terms while leveraging English for logical scaffolding.
|
||||
|
||||
Top-performing models of our series [KONI-7B-R-20250831 (KO-REAson-AX3_1-7B-0831)](https://huggingface.co/KISTI-KONI/KONI-7B-R-20250831) and [KO-REAson-7B-Q2_5-0831](https://huggingface.co/KoReason/KO-REASon-7B-Q2_5-0831) show performance comparable to models trained on closed-source datasets such as Exaone-Deep-7.8B.
|
||||
|
||||
|
||||
<p align="center">
|
||||
<img src="https://cdn-uploads.huggingface.co/production/uploads/60d3e619b8448e1785bbda2a/uqrKdxbQEqAFknYBmuH7Y.png"
|
||||
alt="Model Comparison" width="500"/>
|
||||
<em style="display:inline-block; text-align:center; white-space:normal; word-wrap:break-word; line-height:1.5; margin-top:0px;">
|
||||
Average performance (Held-out-Ko) of open models trained on closed or open data. <br>
|
||||
(Our models are highlighted in green.)
|
||||
</em>
|
||||
</p>
|
||||
|
||||
---
|
||||
|
||||
## Model Details
|
||||
|
||||
The **KO-REAson-0831** family comes in six variants based on the base model used.
|
||||
|
||||
<div align="center">
|
||||
|
||||
| Model | Base |
|
||||
| :--------------------------------------------------------------------------------------------: | :--------------------: |
|
||||
| [KO-REAson-L3_1-8B-0831](https://huggingface.co/KoReason/KO-REASon-L3_1-8B-0831) | [Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct) |
|
||||
| [KONI-Llama3.1-8B-R-20250831(KO-REAson-KL3_1-8B-0831)](https://huggingface.co/KISTI-KONI/KONI-Llama3.1-8B-R-20250831) | [KONI-Llama3.1-8B-Instruct-20241024](https://huggingface.co/KISTI-KONI/KONI-Llama3.1-8B-Instruct-20241024) |
|
||||
| [KO-REAson-G3-4B-0831](https://huggingface.co/KoReason/KO-REASon-G3-4B-0831) | [Gemma-3-4b-it](https://huggingface.co/google/gemma-3-4b-it) |
|
||||
| [KONI-7B-R-20250831(KO-REAson-AX3_1-7B-0831)](https://huggingface.co/KISTI-KONI/KONI-7B-R-20250831) | [A.X-3.1-Light (≈7B)](https://huggingface.co/skt/A.X-3.1-Light) |
|
||||
| [KO-REAson-K2505_8B-0831](https://huggingface.co/KoReason/KO-REASon-K2505_8B-0831) | [kanana-1.5-8b-instruct-2505](https://huggingface.co/kakaocorp/kanana-1.5-8b-instruct-2505) |
|
||||
| [KO-REAson-7B-Q2_5-0831](https://huggingface.co/KoReason/KO-REASon-7B-Q2_5-0831) | [Qwen2.5-7B-Instruct](https://huggingface.co/Qwen/Qwen2.5-7B-Instruct) |
|
||||
</div>
|
||||
|
||||
---
|
||||
|
||||
# Performance
|
||||
|
||||
**Evaluation Datasets**
|
||||
|
||||
The model's performance was evaluated across a total of 11 benchmarks, and the evaluation suite is divided into two parts: (You can check these benchmarks in [HAERAE-HUB/KoSimpleEval](https://huggingface.co/datasets/HAERAE-HUB/KoSimpleEval))
|
||||
|
||||
- **Held-in**: This set of benchmarks is used for routine monitoring of the model's performance during the training and ablation study phases.
|
||||
- **Held-out**: This set is used only once to evaluate the final model after all training and ablations are complete.
|
||||
|
||||
This separation is designed to prevent inadvertent overfitting to the benchmarks during the iterative training process and to provide a more accurate measure of the model's generalization capabilities.
|
||||
|
||||
<div align="center">
|
||||
|
||||
|**Category**|**Held-in**|**Held-out**|
|
||||
|:---:|:---:|:---:|
|
||||
|**General Knowledge**|KMMLU-Redux|KMMLU-HARD, KMMLU-Pro|
|
||||
|**Reasoning**|MCLM|KSM, GPQA, AIME2024, AIME2025|
|
||||
|**Korean-specific**|HAE-RAE Bench|CLIcK, KoBALT-700|
|
||||
|
||||
</div>
|
||||
|
||||
**Comparison with models trained on public datasets**
|
||||
|
||||
<table align="center" style="margin:auto; border-collapse:collapse; text-align:center; vertical-align:middle;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="text-align:center; vertical-align:middle;">Models</th>
|
||||
<th style="text-align:center; vertical-align:middle;">#Instances</th>
|
||||
<th style="text-align:center; vertical-align:middle;">Methodology</th>
|
||||
<th style="text-align:center; vertical-align:middle;">Held-Out(Ko)</th>
|
||||
<th style="text-align:center; vertical-align:middle;">Held-Out(En)</th>
|
||||
<th style="text-align:center; vertical-align:middle;">Total</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th style="text-align:center; vertical-align:middle;">KONI-7B-R-20250831<br>(KO-REASon-AX3_1-7B-0831; Ours)</th>
|
||||
<td style="text-align:center; vertical-align:middle;">260k</td>
|
||||
<td style="text-align:center; vertical-align:middle;">SFT</td>
|
||||
<td style="text-align:center; vertical-align:middle;"><b>44.60</b></td>
|
||||
<td style="text-align:center; vertical-align:middle;">41.20</td>
|
||||
<td style="text-align:center; vertical-align:middle;"><u>43.30</u></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="text-align:center; vertical-align:middle;">KONI-Llama3.1-8B-R-20250831<br>(KO-REAson-KL3_1-8B-0831; Ours)</th>
|
||||
<td style="text-align:center; vertical-align:middle;">260k</td>
|
||||
<td style="text-align:center; vertical-align:middle;">SFT</td>
|
||||
<td style="text-align:center; vertical-align:middle;">40.13</td>
|
||||
<td style="text-align:center; vertical-align:middle;">30.57</td>
|
||||
<td style="text-align:center; vertical-align:middle;">43.66</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="text-align:center; vertical-align:middle;">KO-REASon-7B-Q2_5-0831<br>(Ours)</th>
|
||||
<td style="text-align:center; vertical-align:middle;">260k</td>
|
||||
<td style="text-align:center; vertical-align:middle;">SFT</td>
|
||||
<td style="text-align:center; vertical-align:middle;"><b>45.10</b></td>
|
||||
<td style="text-align:center; vertical-align:middle;">38.75</td>
|
||||
<td style="text-align:center; vertical-align:middle;"><u>49.95</u></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6" style="text-align:center; font-weight:bold;">Open Recipe (En)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="text-align:center; vertical-align:middle;">OpenThinker3-7B</th>
|
||||
<td style="text-align:center; vertical-align:middle;">1.2M</td>
|
||||
<td style="text-align:center; vertical-align:middle;">SFT</td>
|
||||
<td style="text-align:center; vertical-align:middle;">33.60</td>
|
||||
<td style="text-align:center; vertical-align:middle;"><b>55.50</b></td>
|
||||
<td style="text-align:center; vertical-align:middle;">41.80</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="text-align:center; vertical-align:middle;">s1.1-7B</th>
|
||||
<td style="text-align:center; vertical-align:middle;">1k</td>
|
||||
<td style="text-align:center; vertical-align:middle;">SFT</td>
|
||||
<td style="text-align:center; vertical-align:middle;">35.60</td>
|
||||
<td style="text-align:center; vertical-align:middle;">23.40</td>
|
||||
<td style="text-align:center; vertical-align:middle;">31.10</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="text-align:center; vertical-align:middle;">Llama-3.1-Nemotron-Nano-8B-v1</th>
|
||||
<td style="text-align:center; vertical-align:middle;">>3M</td>
|
||||
<td style="text-align:center; vertical-align:middle;">SFT & RL</td>
|
||||
<td style="text-align:center; vertical-align:middle;">27.00</td>
|
||||
<td style="text-align:center; vertical-align:middle;">44.10</td>
|
||||
<td style="text-align:center; vertical-align:middle;">33.40</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6" style="text-align:center; font-weight:bold;">Open Recipe (Ko)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="text-align:center; vertical-align:middle;">Ko-R1-14B</th>
|
||||
<td style="text-align:center; vertical-align:middle;">45k</td>
|
||||
<td style="text-align:center; vertical-align:middle;">SFT</td>
|
||||
<td style="text-align:center; vertical-align:middle;"><u>43.70</u></td>
|
||||
<td style="text-align:center; vertical-align:middle;"><u>46.30</u></td>
|
||||
<td style="text-align:center; vertical-align:middle;"><b>44.70</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="text-align:center; vertical-align:middle;">Ko-R1-7B</th>
|
||||
<td style="text-align:center; vertical-align:middle;">45k</td>
|
||||
<td style="text-align:center; vertical-align:middle;">SFT</td>
|
||||
<td style="text-align:center; vertical-align:middle;">27.30</td>
|
||||
<td style="text-align:center; vertical-align:middle;">36.10</td>
|
||||
<td style="text-align:center; vertical-align:middle;">30.60</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="text-align:center; vertical-align:middle;">LLaMa-3.1-Ko-Reasoning-8B</th>
|
||||
<td style="text-align:center; vertical-align:middle;">63k</td>
|
||||
<td style="text-align:center; vertical-align:middle;">SFT</td>
|
||||
<td style="text-align:center; vertical-align:middle;">17.70</td>
|
||||
<td style="text-align:center; vertical-align:middle;">7.70</td>
|
||||
<td style="text-align:center; vertical-align:middle;">14.00</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
|
||||
**Held-out benchmark performance**
|
||||
|
||||
<table border="1" cellspacing="0" cellpadding="6" style="margin:auto; border-collapse:collapse; text-align:center; vertical-align:middle; white-space:nowrap;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th rowspan="2">Model</th>
|
||||
<th rowspan="2">Model Size</th>
|
||||
<th colspan="2">General</th>
|
||||
<th colspan="4">Reasoning</th>
|
||||
<th colspan="2">Korean-Specific</th>
|
||||
<th rowspan="2">Average<br>(Held-out)</th>
|
||||
<th rowspan="2">Average<br>(Held-out-Ko)</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="text-align:center; vertical-align:middle;">KMMLU-HARD</th>
|
||||
<th style="text-align:center; vertical-align:middle;">KMMLU-Pro</th>
|
||||
<th style="text-align:center; vertical-align:middle;">KSM</th>
|
||||
<th style="text-align:center; vertical-align:middle;">AIME 2024</th>
|
||||
<th style="text-align:center; vertical-align:middle;">AIME 2025</th>
|
||||
<th style="text-align:center; vertical-align:middle;">GPQA</th>
|
||||
<th style="text-align:center; vertical-align:middle;">CLIcK</th>
|
||||
<th style="text-align:center; vertical-align:middle;">KoBALT-700</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align:center; vertical-align:middle;"><b>Llama-3.1-Nemotron-Nano-8B</b></td>
|
||||
<td style="text-align:center; vertical-align:middle;">8.03</td><td style="text-align:center; vertical-align:middle;">21.47</td><td style="text-align:center; vertical-align:middle;">22.89</td><td style="text-align:center; vertical-align:middle;">47.06</td><td style="text-align:center; vertical-align:middle;">56.67</td><td style="text-align:center; vertical-align:middle;">43.33</td><td style="text-align:center; vertical-align:middle;">32.32</td><td style="text-align:center; vertical-align:middle;">34.54</td><td style="text-align:center; vertical-align:middle;">9.29</td><td style="text-align:center; vertical-align:middle;">33.45</td><td style="text-align:center; vertical-align:middle;">27.05</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center; vertical-align:middle;"><b>Llama-3.1-Korean-Reasoning-8B-Instruct</b></td>
|
||||
<td style="text-align:center; vertical-align:middle;">8.03</td><td style="text-align:center; vertical-align:middle;">14.91</td><td style="text-align:center; vertical-align:middle;">21.72</td><td style="text-align:center; vertical-align:middle;">6.09</td><td style="text-align:center; vertical-align:middle;">0.00</td><td style="text-align:center; vertical-align:middle;">0.00</td><td style="text-align:center; vertical-align:middle;">23.23</td><td style="text-align:center; vertical-align:middle;">39.65</td><td style="text-align:center; vertical-align:middle;">6.14</td><td style="text-align:center; vertical-align:middle;">13.97</td><td style="text-align:center; vertical-align:middle;">17.70</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center; vertical-align:middle;"><b>EXAONE-Deep-7.8B</b></td>
|
||||
<td style="text-align:center; vertical-align:middle;">7.82</td><td style="text-align:center; vertical-align:middle;"><u>40.96</u></td><td style="text-align:center; vertical-align:middle;">37.35</td><td style="text-align:center; vertical-align:middle;"><b>70.80</b></td><td style="text-align:center; vertical-align:middle;"><b>70.00</b></td><td style="text-align:center; vertical-align:middle;"><b>63.33</b></td><td style="text-align:center; vertical-align:middle;"><b>64.65</b></td><td style="text-align:center; vertical-align:middle;">54.24</td><td style="text-align:center; vertical-align:middle;">18.86</td><td style="text-align:center; vertical-align:middle;"><b>52.52</b></td><td style="text-align:center; vertical-align:middle;">44.44</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center; vertical-align:middle;"><b>DeepSeek-R1-Distill-Qwen-7B</b></td>
|
||||
<td style="text-align:center; vertical-align:middle;">7.62</td><td style="text-align:center; vertical-align:middle;">0.00</td><td style="text-align:center; vertical-align:middle;">23.00</td><td style="text-align:center; vertical-align:middle;">56.09</td><td style="text-align:center; vertical-align:middle;">60.00</td><td style="text-align:center; vertical-align:middle;">40.00</td><td style="text-align:center; vertical-align:middle;">43.43</td><td style="text-align:center; vertical-align:middle;">0.00</td><td style="text-align:center; vertical-align:middle;">8.29</td><td style="text-align:center; vertical-align:middle;">28.85</td><td style="text-align:center; vertical-align:middle;">17.48</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center; vertical-align:middle;"><b>DeepSeek-R1-Distill-Llama-8B</b></td>
|
||||
<td style="text-align:center; vertical-align:middle;">8.03</td><td style="text-align:center; vertical-align:middle;">23.22</td><td style="text-align:center; vertical-align:middle;">26.26</td><td style="text-align:center; vertical-align:middle;">29.97</td><td style="text-align:center; vertical-align:middle;">33.33</td><td style="text-align:center; vertical-align:middle;">20.00</td><td style="text-align:center; vertical-align:middle;"><U>46.46</u></td><td style="text-align:center; vertical-align:middle;">39.05</td><td style="text-align:center; vertical-align:middle;">13.29</td><td style="text-align:center; vertical-align:middle;">28.95</td><td style="text-align:center; vertical-align:middle;">26.36</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center; vertical-align:middle;"><b>s1.1-7B</b></td>
|
||||
<td style="text-align:center; vertical-align:middle;">7.62</td><td style="text-align:center; vertical-align:middle;">31.16</td><td style="text-align:center; vertical-align:middle;"><u>37.70</u></td><td style="text-align:center; vertical-align:middle;">30.60</td><td style="text-align:center; vertical-align:middle;">16.67</td><td style="text-align:center; vertical-align:middle;">23.33</td><td style="text-align:center; vertical-align:middle;">30.30</td><td style="text-align:center; vertical-align:middle;"><u>56.84</u></td><td style="text-align:center; vertical-align:middle;"><u>21.86</u></td><td style="text-align:center; vertical-align:middle;">31.06</td><td style="text-align:center; vertical-align:middle;">35.63</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center; vertical-align:middle;"><b>OpenThinker3-7B</b></td>
|
||||
<td style="text-align:center; vertical-align:middle;">7.62</td><td style="text-align:center; vertical-align:middle;">30.31</td><td style="text-align:center; vertical-align:middle;">26.26</td><td style="text-align:center; vertical-align:middle;"><u>63.59</u></td><td style="text-align:center; vertical-align:middle;"><u>66.67</u></td><td style="text-align:center; vertical-align:middle;"><u>53.33</u></td><td style="text-align:center; vertical-align:middle;"><u>46.46</u></td><td style="text-align:center; vertical-align:middle;">47.69</td><td style="text-align:center; vertical-align:middle;">10.14</td><td style="text-align:center; vertical-align:middle;">35.63</td><td style="text-align:center; vertical-align:middle;">30.60</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center; vertical-align:middle;"><b>Ko-R1-7B</b></td>
|
||||
<td style="text-align:center; vertical-align:middle;">7.61</td><td style="text-align:center; vertical-align:middle;">28.46</td><td style="text-align:center; vertical-align:middle;">19.31</td><td style="text-align:center; vertical-align:middle;">51.61</td><td style="text-align:center; vertical-align:middle;">46.67</td><td style="text-align:center; vertical-align:middle;">33.33</td><td style="text-align:center; vertical-align:middle;">28.28</td><td style="text-align:center; vertical-align:middle;">32.48</td><td style="text-align:center; vertical-align:middle;">4.71</td><td style="text-align:center; vertical-align:middle;">30.61</td><td style="text-align:center; vertical-align:middle;">27.31</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center; vertical-align:middle;"><b>KONI-Llama3.1-8B-R-20250831<br>(KO-REAson-KL3_1-8B-0831; Ours)</b></td>
|
||||
<td style="text-align:center; vertical-align:middle;">8.03</td><td style="text-align:center; vertical-align:middle;">44.64</td><td style="text-align:center; vertical-align:middle;">40.08</td><td style="text-align:center; vertical-align:middle;">37.96</td><td style="text-align:center; vertical-align:middle;">23.33</td><td style="text-align:center; vertical-align:middle;">30.00</td><td style="text-align:center; vertical-align:middle;">38.38</td><td style="text-align:center; vertical-align:middle;">56.39</td><td style="text-align:center; vertical-align:middle;">21.57</td><td style="text-align:center; vertical-align:middle;">30.57</td><td style="text-align:center; vertical-align:middle;">40.13</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center; vertical-align:middle;"><b>KONI-7B-R-20250831<br>(KO-REASon-AX3_1-7B-0831; Ours)</b></td>
|
||||
<td style="text-align:center; vertical-align:middle;">7.26</td><td style="text-align:center; vertical-align:middle;">45.57</td><td style="text-align:center; vertical-align:middle;">38.13</td><td style="text-align:center; vertical-align:middle;">52.80</td><td style="text-align:center; vertical-align:middle;">53.33</td><td style="text-align:center; vertical-align:middle;">33.33</td><td style="text-align:center; vertical-align:middle;">36.87</td><td style="text-align:center; vertical-align:middle;"><b>62.86</b></td><td style="text-align:center; vertical-align:middle;">23.43</td><td style="text-align:center; vertical-align:middle;"><u>43.29</u></td><td style="text-align:center; vertical-align:middle;"><u>44.56</u></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align:center; vertical-align:middle;"><b>KO-REASon-7B-Q2_5-0831<br>(Ours)</b></td>
|
||||
<td style="text-align:center; vertical-align:middle;">7.26</td><td style="text-align:center; vertical-align:middle;"><b>46.81</b></td><td style="text-align:center; vertical-align:middle;"><b>44.93</b></td><td style="text-align:center; vertical-align:middle;">48.11</td><td style="text-align:center; vertical-align:middle;">43.33</td><td style="text-align:center; vertical-align:middle;">30.00</td><td style="text-align:center; vertical-align:middle;">42.93</td><td style="text-align:center; vertical-align:middle;">60.65</td><td style="text-align:center; vertical-align:middle;"><b>25.00</b></td><td style="text-align:center; vertical-align:middle;">42.72</td><td style="text-align:center; vertical-align:middle;"><b>45.10</b></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
---
|
||||
|
||||
## Citation
|
||||
|
||||
The paper will be released soon!
|
||||
|
||||
If you use this model in your work, please cite it as follows:
|
||||
|
||||
```
|
||||
@article{KISTI-KONI/KONI-Llama3.1-8B-R-20250831,
|
||||
title={KISTI-KONI/KONI-Llama3.1-8B-R-20250831},
|
||||
author={KISTI, OneLine AI, HAE-RAE and Oracle},
|
||||
year={2025},
|
||||
url={https://huggingface.co/KISTI-KONI/KONI-Llama3.1-8B-R-20250831}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
## Contact
|
||||
|
||||
For any questions contact us via the following email :)
|
||||
|
||||
```
|
||||
(KISTI)yangdonghun3@kisti.re.kr
|
||||
(OneLineAI/HAE-RAE)spthsrbwls123@yonsei.ac.kr
|
||||
```
|
||||
|
||||
|
||||
## Acknowlegments
|
||||
```
|
||||
This research is a collaborative project between KISTI, OneLine AI, HAE-RAE and Oracle to investigate open reciepes to build Korean Reasoning Models.<br>
|
||||
This research was also supported by the Korea Institute of Science and Technology Information (KISTI) (No.(KISTI) K25L1M1C1), aimed at developing KONI (KISTI Open Neural Intelligence), a large language model specialized in science and technology.
|
||||
This work also benefited from the resources and technical support provided by the National Supercomputing Center (KISTI).
|
||||
```
|
||||
114
chat_template.jinja
Normal file
114
chat_template.jinja
Normal file
@@ -0,0 +1,114 @@
|
||||
{{- bos_token }}
|
||||
{%- if custom_tools is defined %}
|
||||
{%- set tools = custom_tools %}
|
||||
{%- endif %}
|
||||
{%- if not tools_in_user_message is defined %}
|
||||
{%- set tools_in_user_message = true %}
|
||||
{%- endif %}
|
||||
{%- if not date_string is defined %}
|
||||
{%- set date_string = "27 Aug 2024" %}
|
||||
{%- endif %}
|
||||
{%- if not tools is defined %}
|
||||
{%- set tools = none %}
|
||||
{%- endif %}
|
||||
|
||||
{#- This block extracts the system message, so we can slot it into the right place. #}
|
||||
{%- if messages[0]['role'] == 'system' %}
|
||||
{%- set system_message = messages[0]['content']|trim %}
|
||||
{%- set messages = messages[1:] %}
|
||||
{%- else %}
|
||||
{%- set system_message = "" %}
|
||||
{%- endif %}
|
||||
|
||||
{#- System message + builtin tools #}
|
||||
{{- "<|start_header_id|>system<|end_header_id|>\n\n" }}
|
||||
{%- if builtin_tools is defined or tools is not none %}
|
||||
{{- "Environment: ipython\n" }}
|
||||
{%- endif %}
|
||||
{%- if builtin_tools is defined %}
|
||||
{{- "Tools: " + builtin_tools | reject('equalto', 'code_interpreter') | join(", ") + "\n\n"}}
|
||||
{%- endif %}
|
||||
{{- "You are KONI, an AI assistant trained based on LlaMA3.1 and created by KISTI to be helpful and honest. Your knowledge spans a wide range of topics, allowing you to engage in substantive conversations and provide analysis on complex subjects. Below is an instruction that describes a task. Write a response that appropriately completes the request. If you don't know the answer, just say that you don't know.\n" }}
|
||||
{{- "Cutting Knowledge Date: July 2024\n" }}
|
||||
{{- "Today Date: " + date_string + "\n\n" }}
|
||||
{%- if tools is not none and not tools_in_user_message %}
|
||||
{{- "You have access to the following functions. To call a function, please respond with JSON for a function call." }}
|
||||
{{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
|
||||
{{- "Do not use variables.\n\n" }}
|
||||
{%- for t in tools %}
|
||||
{{- t | tojson(indent=4) }}
|
||||
{{- "\n\n" }}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
{{- system_message }}
|
||||
{{- "<|eot_id|>" }}
|
||||
|
||||
{#- Custom tools are passed in a user message with some extra guidance #}
|
||||
{%- if tools_in_user_message and not tools is none %}
|
||||
{#- Extract the first user message so we can plug it in here #}
|
||||
{%- if messages | length != 0 %}
|
||||
{%- set first_user_message = messages[0]['content']|trim %}
|
||||
{%- set messages = messages[1:] %}
|
||||
{%- else %}
|
||||
{{- raise_exception("Cannot put tools in the first user message when there's no first user message!") }}
|
||||
{%- endif %}
|
||||
{{- '<|start_header_id|>user<|end_header_id|>\n\n' -}}
|
||||
{{- "Given the following functions, please respond with a JSON for a function call " }}
|
||||
{{- "with its proper arguments that best answers the given prompt.\n\n" }}
|
||||
{{- 'Respond in the format {"name": function name, "parameters": dictionary of argument name and its value}.' }}
|
||||
{{- "Do not use variables.\n\n" }}
|
||||
{%- for t in tools %}
|
||||
{{- t | tojson(indent=4) }}
|
||||
{{- "\n\n" }}
|
||||
{%- endfor %}
|
||||
{{- first_user_message + "<|eot_id|>"}}
|
||||
{%- endif %}
|
||||
|
||||
{%- for message in messages %}
|
||||
{%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}
|
||||
{%- if (message.role == 'assistant') %}
|
||||
{{- '<|start_header_id|>' + 'KONI' + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' }}
|
||||
{%- else %}
|
||||
{{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' }}
|
||||
{%- endif %}
|
||||
{%- elif 'tool_calls' in message %}
|
||||
{%- if not message.tool_calls|length == 1 %}
|
||||
{{- raise_exception("This model only supports single tool-calls at once!") }}
|
||||
{%- endif %}
|
||||
{%- set tool_call = message.tool_calls[0].function %}
|
||||
{%- if builtin_tools is defined and tool_call.name in builtin_tools %}
|
||||
{{- '<|start_header_id|>KONI<|end_header_id|>\n\n' -}}
|
||||
{{- "<|python_tag|>" + tool_call.name + ".call(" }}
|
||||
{%- for arg_name, arg_val in tool_call.arguments | items %}
|
||||
{{- arg_name + '="' + arg_val + '"' }}
|
||||
{%- if not loop.last %}
|
||||
{{- ", " }}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{{- ")" }}
|
||||
{%- else %}
|
||||
{{- '<|start_header_id|>KONI<|end_header_id|>\n\n' -}}
|
||||
{{- '{"name": "' + tool_call.name + '", ' }}
|
||||
{{- '"parameters": ' }}
|
||||
{{- tool_call.arguments | tojson }}
|
||||
{{- "}" }}
|
||||
{%- endif %}
|
||||
{%- if builtin_tools is defined %}
|
||||
{#- This means we're in ipython mode #}
|
||||
{{- "<|eom_id|>" }}
|
||||
{%- else %}
|
||||
{{- "<|eot_id|>" }}
|
||||
{%- endif %}
|
||||
{%- elif message.role == "tool" or message.role == "ipython" %}
|
||||
{{- "<|start_header_id|>ipython<|end_header_id|>\n\n" }}
|
||||
{%- if message.content is mapping or message.content is iterable %}
|
||||
{{- message.content | tojson }}
|
||||
{%- else %}
|
||||
{{- message.content }}
|
||||
{%- endif %}
|
||||
{{- "<|eot_id|>" }}
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
{%- if add_generation_prompt %}
|
||||
{{- '<|start_header_id|>KONI<|end_header_id|>\n\n' }}
|
||||
{%- endif %}
|
||||
35
config.json
Normal file
35
config.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"architectures": [
|
||||
"LlamaForCausalLM"
|
||||
],
|
||||
"attention_bias": false,
|
||||
"attention_dropout": 0.0,
|
||||
"bos_token_id": 128000,
|
||||
"eos_token_id": 128001,
|
||||
"head_dim": 128,
|
||||
"hidden_act": "silu",
|
||||
"hidden_size": 4096,
|
||||
"initializer_range": 0.02,
|
||||
"intermediate_size": 14336,
|
||||
"max_position_embeddings": 131072,
|
||||
"mlp_bias": false,
|
||||
"model_type": "llama",
|
||||
"num_attention_heads": 32,
|
||||
"num_hidden_layers": 32,
|
||||
"num_key_value_heads": 8,
|
||||
"pretraining_tp": 1,
|
||||
"rms_norm_eps": 1e-05,
|
||||
"rope_scaling": {
|
||||
"factor": 8.0,
|
||||
"high_freq_factor": 4.0,
|
||||
"low_freq_factor": 1.0,
|
||||
"original_max_position_embeddings": 8192,
|
||||
"rope_type": "llama3"
|
||||
},
|
||||
"rope_theta": 500000.0,
|
||||
"tie_word_embeddings": false,
|
||||
"torch_dtype": "bfloat16",
|
||||
"transformers_version": "4.52.4",
|
||||
"use_cache": true,
|
||||
"vocab_size": 128256
|
||||
}
|
||||
6
generation_config.json
Normal file
6
generation_config.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"_from_model_config": true,
|
||||
"bos_token_id": 128000,
|
||||
"eos_token_id": 128001,
|
||||
"transformers_version": "4.52.4"
|
||||
}
|
||||
3
model-00001-of-00004.safetensors
Normal file
3
model-00001-of-00004.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2dbd9a74aafd1a0065d29b089ebed1265e2eff8cb2388f7398d6c5aaa87fd514
|
||||
size 4976698672
|
||||
3
model-00002-of-00004.safetensors
Normal file
3
model-00002-of-00004.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a9cc06c814b88ad16b96369d3603be3103c1e7f6a30416a2f0a150233b997bfb
|
||||
size 4999802720
|
||||
3
model-00003-of-00004.safetensors
Normal file
3
model-00003-of-00004.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7a2cb880da898fafc893fa7051d3c58eee0e1f907cb0161fd0fef040237e1a71
|
||||
size 4915916176
|
||||
3
model-00004-of-00004.safetensors
Normal file
3
model-00004-of-00004.safetensors
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9afd31998e2a081aee972f17010ffdc8cf71ff3fc6554bb7c3377e19010e0cde
|
||||
size 1168138808
|
||||
298
model.safetensors.index.json
Normal file
298
model.safetensors.index.json
Normal file
@@ -0,0 +1,298 @@
|
||||
{
|
||||
"metadata": {
|
||||
"total_size": 16060522496
|
||||
},
|
||||
"weight_map": {
|
||||
"lm_head.weight": "model-00004-of-00004.safetensors",
|
||||
"model.embed_tokens.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.18.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.18.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.18.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.18.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.18.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.18.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.18.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.18.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.19.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.19.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.19.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.19.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.19.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.19.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.19.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.19.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.19.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.20.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.20.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.20.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.20.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.20.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.21.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.21.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.21.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.26.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.26.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.26.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.26.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.28.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.28.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.28.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.28.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.28.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.28.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.28.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.28.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.28.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.29.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.29.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.29.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.29.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.29.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.29.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.29.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.29.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.29.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.30.input_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.30.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.30.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.30.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.30.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.30.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.30.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.30.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.30.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.31.input_layernorm.weight": "model-00004-of-00004.safetensors",
|
||||
"model.layers.31.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
|
||||
"model.layers.31.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.31.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.31.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
|
||||
"model.layers.31.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.31.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.31.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.31.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
|
||||
"model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.6.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.6.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.7.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.7.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.7.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.7.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.7.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.7.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.7.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.7.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.7.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.8.input_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.8.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.8.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.8.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.8.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.8.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.8.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.8.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.8.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
|
||||
"model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.9.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.9.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.9.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.layers.9.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
|
||||
"model.norm.weight": "model-00004-of-00004.safetensors"
|
||||
}
|
||||
}
|
||||
23
special_tokens_map.json
Normal file
23
special_tokens_map.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"bos_token": {
|
||||
"content": "<|begin_of_text|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"eos_token": {
|
||||
"content": "<|eot_id|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
},
|
||||
"pad_token": {
|
||||
"content": "<|finetune_right_pad_id|>",
|
||||
"lstrip": false,
|
||||
"normalized": false,
|
||||
"rstrip": false,
|
||||
"single_word": false
|
||||
}
|
||||
}
|
||||
BIN
tokenizer.json
(Stored with Git LFS)
Normal file
BIN
tokenizer.json
(Stored with Git LFS)
Normal file
Binary file not shown.
2067
tokenizer_config.json
Normal file
2067
tokenizer_config.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user