初始化项目,由ModelHub XC社区提供模型

Model: mykor/A.X-4.0-Light-gguf
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-07-23 07:25:10 +08:00
commit 3d748a3f69
20 changed files with 837 additions and 0 deletions

37
.gitattributes vendored Normal file
View File

@@ -0,0 +1,37 @@
*.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
*.gguf filter=lfs diff=lfs merge=lfs -text
imatrix.dat filter=lfs diff=lfs merge=lfs -text

3
A.X-4.0-Light-BF16.gguf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4d67ba6cf14f2c76acadfe9b771a7c47dc0562ce1aec63f36161b325532a506c
size 14524757824

3
A.X-4.0-Light-F32.gguf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3d3f02e0cbd3b284297ec9b1c1585120ebd6934be1b64dea94f6ce2be7207580
size 29043341120

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f1f687e6d96e5bf53e849d22fe53edb96c02696e42557252427daf4752bf8ef
size 4216026688

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:53e0cac39b759eb7acce8138459631345a5b9c3eb7141da476f3cdd309949c3d
size 4008613440

3
A.X-4.0-Light-Q2_K.gguf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:98f5ad54704761d14c1ac1209e907083ca3df47689f68a4038c584f1d069d0fb
size 2810410560

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:92cab7bffde15f166f70ba9100e199358a87620346ed87d76b507d051bef61dc
size 3864852032

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b51eb32bc20ef88c1b774e7ef074b328a7cbb0ca8075e32eb80785c6cc814712
size 3584783936

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:316851f5b8002fe17cdb47f5550b392c79fa7145b2843840d6a48231b5218ff4
size 3268761152

3
A.X-4.0-Light-Q4_0.gguf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bbbb1a1f443b1c733d9cd7d66494988c45fec1d29a9a40ceec0ab3b032941855
size 4184143424

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6bd9cb8ccaae2efc5c33c7b5e443c2f820d4731130df38cd24f7ba494146ead5
size 4435826240

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4c145d08cf69baf956c711e0440fa2f7da6e916599f923156ed467e0cbc00ff
size 4210521664

3
A.X-4.0-Light-Q5_0.gguf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:de671ab38f226a5e7924c1b9b97bad96ec4f600c2352713a191d7c94eb357266
size 5045679680

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b08f31d824eac1babe4db91f3f9f1e7eeb1ab97ab51e70d34b3ee85e53afb17f
size 5175334464

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0e2a7631e2f977c0b516425691dff29a1b38d19e6d6f182fce7bb84fdd7dbc12
size 5045679680

3
A.X-4.0-Light-Q6_K.gguf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:084674f6799a6d383f560b9450884287611d02c2aaac361f82e18ed388904efb
size 5961061952

3
A.X-4.0-Light-Q8_0.gguf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2a45b095ea5e63426f13a7ad88c9b9b253fccfea67847d245340338d40d2dcea
size 7719171648

233
LICENSE Normal file
View File

@@ -0,0 +1,233 @@
Copyright (c) 2025 SK Telecom Co., Ltd. All rights reserved.
Built with Qwen 2.5 — original model by Alibaba Cloud, licensed under the Apache License 2.0.
Unless otherwise stated, all files in this repository (including modified model weights
and tokenizer files) are distributed under the terms of the Apache License, Version 2.0
(the "License"). You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
ANY KIND, either express or implied. See the License for the specific language governing
permissions and limitations under the License.
================================================================================
NOTICE (Apache-2.0 §4 d)
================================================================================
This product is built with Qwen 2.5 developed by Alibaba Cloud
(https://github.com/QwenLM) and distributed under the Apache License 2.0.
See the upstream Qwen 2.5 repository for additional attribution details.
================================================================================
TRADEMARK
================================================================================
"SK Telecom" and associated logos are trademarks of SK Telecom Co., Ltd.
This License does not grant permission to use these trademarks without prior
written consent.
================================================================================
APACHE LICENSE 2.0
================================================================================
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2024 Alibaba Cloud
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

516
README.md Normal file
View File

@@ -0,0 +1,516 @@
---
license: apache-2.0
license_link: https://huggingface.co/skt/A.X-4.0-Light/blob/main/LICENSE
language:
- en
- ko
pipeline_tag: text-generation
library_name: transformers
model_id: skt/A.X-4.0-Light
developers: SKT AI Model Lab
model-index:
- name: A.X-4.0-Light
results:
- task:
type: generate_until
name: mmlu
dataset:
name: mmlu (chat CoT)
type: hails/mmlu_no_train
metrics:
- type: exact_match
value: 75.43
name: exact_match
- task:
type: generate_until
name: kmmlu
dataset:
name: kmmlu (chat CoT)
type: HAERAE-HUB/KMMLU
metrics:
- type: exact_match
value: 64.15
name: exact_match
base_model:
- skt/A.X-4.0-Light
tags:
- A.X
---
# A.X 4.0 Light
<p align="center">
<picture>
<img src="https://i.imgur.com/RdZhPeZ.png" width="45%" style="margin: 40px auto;">
</picture>
</p>
<p align="center"> <a href="https://huggingface.co/collections/skt/ax-4-68637ebaa63b9cc51925e886">🤗 Models</a> | <a href="https://sktax.chat/chat">💬 Chat</a> | <a href="https://github.com/SKT-AI/A.X-4.0/blob/main/apis/README.md">📬 APIs (FREE!)</a> | <a href="https://github.com/SKT-AI/A.X-4.0">🖥️ Github</a> </p>
## A.X 4.0 Family Highlights
SK Telecom released **A.X 4.0** (pronounced "A dot X"), a large language model (LLM) optimized for Korean-language understanding and enterprise deployment, on July 03, 2025. Built on the open-source [Qwen2.5](https://huggingface.co/collections/Qwen/qwen25-66e81a666513e518adb90d9e) model, A.X 4.0 has been further trained with large-scale Korean datasets to deliver outstanding performance in real-world business environments.
- **Superior Korean Proficiency**: Achieved a score of 78.3 on [KMMLU](https://huggingface.co/datasets/HAERAE-HUB/KMMLU), the leading benchmark for Korean-language evaluation and a Korean-specific adaptation of MMLU, outperforming GPT-4o (72.5).
- **Deep Cultural Understanding**: Scored 83.5 on [CLIcK](https://huggingface.co/datasets/EunsuKim/CLIcK), a benchmark for Korean cultural and contextual comprehension, surpassing GPT-4o (80.2).
- **Efficient Token Usage**: A.X 4.0 uses approximately 33% fewer tokens than GPT-4o for the same Korean input, enabling more cost-effective and efficient processing.
- **Deployment Flexibility**: Offered in both a 72B-parameter standard model (A.X 4.0) and a 7B lightweight version (A.X 4.0 Light).
- **Long Context Handling**: Supports up to 131,072 tokens, allowing comprehension of lengthy documents and conversations. (Lightweight model supports up to 16,384 tokens length)
## Performance
### Model Performance
<table><thead>
<tr>
<th colspan="2">Benchmarks</th>
<th>A.X 4.0</th>
<th>Qwen3-235B-A22B<br/>(w/o reasoning)</th>
<th>Qwen2.5-72B</th>
<th>GPT-4o</th>
</tr></thead>
<tbody>
<tr>
<td rowspan="4">Knowledge</td>
<td>KMMLU</td>
<td>78.32</td>
<td>73.64</td>
<td>66.44</td>
<td>72.51</td>
</tr>
<tr>
<td>CLIcK</td>
<td>83.51</td>
<td>74.55</td>
<td>72.59</td>
<td>80.22</td>
</tr>
<tr>
<td>KoBALT</td>
<td>47.30</td>
<td>41.57</td>
<td>37.00</td>
<td>44.00</td>
</tr>
<tr>
<td>MMLU</td>
<td>86.62</td>
<td>87.37</td>
<td>85.70</td>
<td>88.70</td>
</tr>
<tr>
<td rowspan="3">General</td>
<td>Ko-MT-Bench</td>
<td>86.69</td>
<td>88.00</td>
<td>82.69</td>
<td>88.44</td>
</tr>
<tr>
<td>MT-Bench</td>
<td>83.25</td>
<td>86.56</td>
<td>93.50</td>
<td>88.19</td>
</tr>
<tr>
<td>LiveBench<sup>2024.11</sup></td>
<td>52.30</td>
<td>64.50</td>
<td>54.20</td>
<td>52.19</td>
</tr>
<tr>
<td rowspan="2">Instruction Following</td>
<td>Ko-IFEval</td>
<td>77.96</td>
<td>77.53</td>
<td>77.07</td>
<td>75.38</td>
</tr>
<tr>
<td>IFEval</td>
<td>86.05</td>
<td>85.77</td>
<td>86.54</td>
<td>83.86</td>
</tr>
<tr>
<td rowspan="2">Math</td>
<td>HRM8K</td>
<td>48.55</td>
<td>54.52</td>
<td>46.37</td>
<td>43.27</td>
</tr>
<tr>
<td>MATH</td>
<td>74.28</td>
<td>72.72</td>
<td>77.00</td>
<td>72.38</td>
</tr>
<tr>
<td rowspan="3">Code</td>
<td>HumanEval+</td>
<td>79.27</td>
<td>79.27</td>
<td>81.71</td>
<td>86.00</td>
</tr>
<tr>
<td>MBPP+</td>
<td>73.28</td>
<td>70.11</td>
<td>75.66</td>
<td>75.10</td>
</tr>
<tr>
<td>LiveCodeBench<sup>2024.10~2025.04</sup></td>
<td>26.07</td>
<td>33.09</td>
<td>27.58</td>
<td>29.30</td>
</tr>
<tr>
<td>Long Context</td>
<td>LongBench<sup>&lt;128K</sup></td>
<td>56.70</td>
<td>49.40</td>
<td>45.60</td>
<td>47.50</td>
</tr>
<tr>
<td>Tool-use</td>
<td>FunctionChatBench</td>
<td>85.96</td>
<td>82.43</td>
<td>88.30</td>
<td>95.70</td>
</tr>
</tbody></table>
### Lightweight Model Performance
<table><thead>
<tr>
<th colspan="2">Benchmarks</th>
<th>A.X 4.0 Light</th>
<th>Qwen3-8B<br/>(w/o reasoning)</th>
<th>Qwen2.5-7B</th>
<th>EXAONE-3.5-7.8B</th>
<th>Kanana-1.5-8B</th>
</tr></thead>
<tbody>
<tr>
<td rowspan="4">Knowledge</td>
<td>KMMLU</td>
<td>64.15</td>
<td>63.53</td>
<td>49.56</td>
<td>53.76</td>
<td>48.28</td>
</tr>
<tr>
<td>CLIcK</td>
<td>68.05</td>
<td>62.71</td>
<td>60.56</td>
<td>64.30</td>
<td>61.30</td>
</tr>
<tr>
<td>KoBALT</td>
<td>30.29</td>
<td>26.57</td>
<td>21.57</td>
<td>21.71</td>
<td>23.14</td>
</tr>
<tr>
<td>MMLU</td>
<td>75.43</td>
<td>82.89</td>
<td>75.40</td>
<td>72.20</td>
<td>68.82</td>
</tr>
<tr>
<td rowspan="3">General</td>
<td>Ko-MT-Bench</td>
<td>79.50</td>
<td>64.06</td>
<td>61.31</td>
<td>81.06</td>
<td>76.30</td>
</tr>
<tr>
<td>MT-Bench</td>
<td>81.56</td>
<td>65.69</td>
<td>79.37</td>
<td>83.50</td>
<td>77.60</td>
</tr>
<tr>
<td>LiveBench</td>
<td>37.10</td>
<td>50.20</td>
<td>37.00</td>
<td>40.20</td>
<td>29.40</td>
</tr>
<tr>
<td rowspan="2">Instruction Following</td>
<td>Ko-IFEval</td>
<td>72.99</td>
<td>73.39</td>
<td>60.73</td>
<td>65.01</td>
<td>69.96</td>
</tr>
<tr>
<td>IFEval</td>
<td>84.68</td>
<td>85.38</td>
<td>76.73</td>
<td>82.61</td>
<td>80.11</td>
</tr>
<tr>
<td rowspan="2">Math</td>
<td>HRM8K</td>
<td>40.12</td>
<td>52.50</td>
<td>35.13</td>
<td>31.88</td>
<td>30.87</td>
</tr>
<tr>
<td>MATH</td>
<td>68.88</td>
<td>71.48</td>
<td>65.58</td>
<td>63.20</td>
<td>59.28</td>
</tr>
<tr>
<td rowspan="3">Code</td>
<td>HumanEval+</td>
<td>75.61</td>
<td>77.44</td>
<td>74.39</td>
<td>76.83</td>
<td>76.83</td>
</tr>
<tr>
<td>MBPP+</td>
<td>67.20</td>
<td>62.17</td>
<td>68.50</td>
<td>64.29</td>
<td>67.99</td>
</tr>
<tr>
<td>LiveCodeBench</td>
<td>18.03</td>
<td>23.93</td>
<td>16.62</td>
<td>17.98</td>
<td>16.52</td>
</tr>
</tbody></table>
## 🚀 Quickstart
### with HuggingFace Transformers
- `transformers>=4.46.0` or the latest version is required to use `skt/A.X-4.0-Light`
```bash
pip install transformers>=4.46.0
```
#### Example Usage
```python
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "skt/A.X-4.0-Light"
model = AutoModelForCausalLM.from_pretrained(
model_name,
torch_dtype=torch.bfloat16,
device_map="auto",
)
model.eval()
tokenizer = AutoTokenizer.from_pretrained(model_name)
messages = [
{"role": "system", "content": "당신은 사용자가 제공하는 영어 문장들을 한국어로 번역하는 AI 전문가입니다."},
{"role": "user", "content": "The first human went into space and orbited the Earth on April 12, 1961."},
]
input_ids = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)
with torch.no_grad():
output = model.generate(
input_ids,
max_new_tokens=128,
do_sample=False,
)
len_input_prompt = len(input_ids[0])
response = tokenizer.decode(output[0][len_input_prompt:], skip_special_tokens=True)
print(response)
# Output:
# 1961년 4월 12일, 최초의 인간이 우주로 나가 지구를 공전했습니다.
```
### with vLLM
- `vllm>=v0.6.4.post1` or the latest version is required to use tool-use function
```bash
pip install vllm>=v0.6.4.post1
# if you don't want to activate tool-use function, just commenting out below vLLM option
VLLM_OPTION="--enable-auto-tool-choice --tool-call-parser hermes"
vllm serve skt/A.X-4.0-Light $VLLM_OPTION
```
#### Example Usage
```python
from openai import OpenAI
def call(messages, model):
completion = client.chat.completions.create(
model=model,
messages=messages,
)
print(completion.choices[0].message)
client = OpenAI(
base_url="http://localhost:8000/v1",
api_key="api_key"
)
model = "skt/A.X-4.0-Light"
messages = [{"role": "user", "content": "에어컨 여름철 적정 온도는? 한줄로 답변해줘"}]
call(messages, model)
# Output:
# ChatCompletionMessage(content='여름철 적정 에어컨 온도는 일반적으로 24-26도입니다.', refusal=None, role='assistant', audio=None, function_call=None, tool_calls=[], reasoning_content=None)
messages = [{"role": "user", "content": "What is the appropriate temperature for air conditioning in summer? Response in a single sentence."}]
call(messages, model)
# Output:
# ChatCompletionMessage(content='The appropriate temperature for air conditioning in summer generally ranges from 72°F to 78°F (22°C to 26°C) for comfort and energy efficiency.', refusal=None, role='assistant', audio=None, function_call=None, tool_calls=[], reasoning_content=None)
```
#### Examples for tool-use
```python
from openai import OpenAI
def call(messages, model):
completion = client.chat.completions.create(
model=model,
messages=messages,
tools=tools
)
print(completion.choices[0].message)
client = OpenAI(
base_url="http://localhost:8000/v1",
api_key="api_key"
)
model = "skt/A.X-4.0-Light"
calculate_discount = {
"type": "function",
"function": {
"name": "calculate_discount",
"description": "원가격과 할인율(퍼센트 단위)을 입력받아 할인된 가격을계산한다.",
"parameters": {
"type": "object",
"properties": {
"original_price": {
"type": "number",
"description": "상품의 원래 가격"
},
"discount_percentage": {
"type": "number",
"description": "적용할 할인율(예: 20% 할인의 경우 20을 입력)"
}
},
"required": ["original_price", "discount_percentage"]
}
}
}
get_exchange_rate = {
"type": "function",
"function": {
"name": "get_exchange_rate",
"description": "두 통화 간의 환율을 가져온다.",
"parameters": {
"type": "object",
"properties": {
"base_currency": {
"type": "string",
"description": "The currency to convert from."
},
"target_currency": {
"type": "string",
"description": "The currency to convert to."
}
},
"required": ["base_currency", "target_currency"]
}
}
}
tools = [calculate_discount, get_exchange_rate]
### Slot filling ###
messages = [{"role": "user", "content": "우리가 뭘 사야되는데 원래 57600원인데 직원할인 받을 수 있거든? 할인가좀 계산해줘"}]
call(messages, model)
# Output:
# ChatCompletionMessage(content='할인율을 알려주시겠습니까?', refusal=None, role='assistant', audio=None, function_call=None, tool_calls=[], reasoning_content=None)
### Function calling ###
messages = [
{"role": "user", "content": "우리가 뭘 사야되는데 원래 57600원인데 직원할인 받을 수 있거든? 할인가좀 계산해줘"},
{"role": "assistant", "content": "할인율을 알려주시겠습니까?"},
{"role": "user", "content": "15% 할인 받을 수 있어."},
]
call(messages, model)
# Output:
# ChatCompletionMessage(content=None, refusal=None, role='assistant', audio=None, function_call=None, tool_calls=[ChatCompletionMessageToolCall(id='chatcmpl-tool-7778d1d9fca94bf2acbb44c79359502c', function=Function(arguments='{"original_price": 57600, "discount_percentage": 15}', name='calculate_discount'), type='function')], reasoning_content=None)
### Completion ###
messages = [
{"role": "user", "content": "우리가 뭘 사야되는데 원래 57600원인데 직원할인 받을 수 있거든? 할인가좀 계산해줘"},
{"role": "assistant", "content": "할인율을 알려주시겠습니까?"},
{"role": "user", "content": "15% 할인 받을 수 있어."},
{"role": "tool", "tool_call_id": "random_id", "name": "calculate_discount", "content": "{\"original_price\": 57600, \"discount_percentage\": 15, \"discounted_price\": 48960.0}"}
]
call(messages, model)
# Output:
# ChatCompletionMessage(content='57600원의 상품에서 15% 할인을 적용하면, 할인된 가격은 48960원입니다.', refusal=None, role='assistant', audio=None, function_call=None, tool_calls=[], reasoning_content=None)
```
## License
The `A.X 4.0 Light` models are licensed under `Apache License 2.0`.
## Citation
```
@article{SKTAdotX4Light,
title={A.X 4.0 Light},
author={SKT AI Model Lab},
year={2025},
url={https://huggingface.co/skt/A.X-4.0-Light}
}
```
## Contact
- Business & Partnership Contact: [a.x@sk.com](a.x@sk.com)

3
imatrix.dat Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec5f00229f5d89a65327d8dece02f638cfafadbfce949ea8130701851eddd9d8
size 4536653