Text Generation
Transformers
Safetensors
Korean
llama
korean
sft
lora-merged
k-ai-leaderboard
source-screening
conversational
text-generation-inference
Instructions to use youngseok12/AX-3.1-Light-sft_v0_21_source_screen_scitech_mrc_300 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use youngseok12/AX-3.1-Light-sft_v0_21_source_screen_scitech_mrc_300 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="youngseok12/AX-3.1-Light-sft_v0_21_source_screen_scitech_mrc_300") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("youngseok12/AX-3.1-Light-sft_v0_21_source_screen_scitech_mrc_300") model = AutoModelForCausalLM.from_pretrained("youngseok12/AX-3.1-Light-sft_v0_21_source_screen_scitech_mrc_300", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use youngseok12/AX-3.1-Light-sft_v0_21_source_screen_scitech_mrc_300 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "youngseok12/AX-3.1-Light-sft_v0_21_source_screen_scitech_mrc_300" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "youngseok12/AX-3.1-Light-sft_v0_21_source_screen_scitech_mrc_300", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/youngseok12/AX-3.1-Light-sft_v0_21_source_screen_scitech_mrc_300
- SGLang
How to use youngseok12/AX-3.1-Light-sft_v0_21_source_screen_scitech_mrc_300 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "youngseok12/AX-3.1-Light-sft_v0_21_source_screen_scitech_mrc_300" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "youngseok12/AX-3.1-Light-sft_v0_21_source_screen_scitech_mrc_300", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "youngseok12/AX-3.1-Light-sft_v0_21_source_screen_scitech_mrc_300" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "youngseok12/AX-3.1-Light-sft_v0_21_source_screen_scitech_mrc_300", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use youngseok12/AX-3.1-Light-sft_v0_21_source_screen_scitech_mrc_300 with Docker Model Runner:
docker model run hf.co/youngseok12/AX-3.1-Light-sft_v0_21_source_screen_scitech_mrc_300
upload v0.21 source-screen scitech-mrc-300 merged model
Browse files- LICENSE +226 -0
- README.md +91 -0
- chat_template.jinja +72 -0
- config.json +32 -0
- generation_config.json +7 -0
- kds_merge_info.json +5 -0
- model.safetensors +3 -0
- tokenizer.json +0 -0
- tokenizer_config.json +23 -0
LICENSE
ADDED
|
@@ -0,0 +1,226 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright (c) 2025 SK Telecom Co., Ltd. All rights reserved.
|
| 2 |
+
|
| 3 |
+
Unless otherwise stated, all files in this repository (including modified model weights
|
| 4 |
+
and tokenizer files) are distributed under the terms of the Apache License, Version 2.0
|
| 5 |
+
(the "License"). You may obtain a copy of the License at:
|
| 6 |
+
|
| 7 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
|
| 9 |
+
Unless required by applicable law or agreed to in writing, software distributed under
|
| 10 |
+
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
| 11 |
+
ANY KIND, either express or implied. See the License for the specific language governing
|
| 12 |
+
permissions and limitations under the License.
|
| 13 |
+
|
| 14 |
+
================================================================================
|
| 15 |
+
TRADEMARK
|
| 16 |
+
================================================================================
|
| 17 |
+
|
| 18 |
+
"SK Telecom" and associated logos are trademarks of SK Telecom Co., Ltd.
|
| 19 |
+
This License does not grant permission to use these trademarks without prior
|
| 20 |
+
written consent.
|
| 21 |
+
|
| 22 |
+
================================================================================
|
| 23 |
+
APACHE LICENSE 2.0
|
| 24 |
+
================================================================================
|
| 25 |
+
|
| 26 |
+
Apache License
|
| 27 |
+
Version 2.0, January 2004
|
| 28 |
+
http://www.apache.org/licenses/
|
| 29 |
+
|
| 30 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 31 |
+
|
| 32 |
+
1. Definitions.
|
| 33 |
+
|
| 34 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 35 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 36 |
+
|
| 37 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 38 |
+
the copyright owner that is granting the License.
|
| 39 |
+
|
| 40 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 41 |
+
other entities that control, are controlled by, or are under common
|
| 42 |
+
control with that entity. For the purposes of this definition,
|
| 43 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 44 |
+
direction or management of such entity, whether by contract or
|
| 45 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 46 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 47 |
+
|
| 48 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 49 |
+
exercising permissions granted by this License.
|
| 50 |
+
|
| 51 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 52 |
+
including but not limited to software source code, documentation
|
| 53 |
+
source, and configuration files.
|
| 54 |
+
|
| 55 |
+
"Object" form shall mean any form resulting from mechanical
|
| 56 |
+
transformation or translation of a Source form, including but
|
| 57 |
+
not limited to compiled object code, generated documentation,
|
| 58 |
+
and conversions to other media types.
|
| 59 |
+
|
| 60 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 61 |
+
Object form, made available under the License, as indicated by a
|
| 62 |
+
copyright notice that is included in or attached to the work
|
| 63 |
+
(an example is provided in the Appendix below).
|
| 64 |
+
|
| 65 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 66 |
+
form, that is based on (or derived from) the Work and for which the
|
| 67 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 68 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 69 |
+
of this License, Derivative Works shall not include works that remain
|
| 70 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 71 |
+
the Work and Derivative Works thereof.
|
| 72 |
+
|
| 73 |
+
"Contribution" shall mean any work of authorship, including
|
| 74 |
+
the original version of the Work and any modifications or additions
|
| 75 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 76 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 77 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 78 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 79 |
+
means any form of electronic, verbal, or written communication sent
|
| 80 |
+
to the Licensor or its representatives, including but not limited to
|
| 81 |
+
communication on electronic mailing lists, source code control systems,
|
| 82 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 83 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 84 |
+
excluding communication that is conspicuously marked or otherwise
|
| 85 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 86 |
+
|
| 87 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 88 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 89 |
+
subsequently incorporated within the Work.
|
| 90 |
+
|
| 91 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 92 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 93 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 94 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 95 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 96 |
+
Work and such Derivative Works in Source or Object form.
|
| 97 |
+
|
| 98 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 99 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 100 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 101 |
+
(except as stated in this section) patent license to make, have made,
|
| 102 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 103 |
+
where such license applies only to those patent claims licensable
|
| 104 |
+
by such Contributor that are necessarily infringed by their
|
| 105 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 106 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 107 |
+
institute patent litigation against any entity (including a
|
| 108 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 109 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 110 |
+
or contributory patent infringement, then any patent licenses
|
| 111 |
+
granted to You under this License for that Work shall terminate
|
| 112 |
+
as of the date such litigation is filed.
|
| 113 |
+
|
| 114 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 115 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 116 |
+
modifications, and in Source or Object form, provided that You
|
| 117 |
+
meet the following conditions:
|
| 118 |
+
|
| 119 |
+
(a) You must give any other recipients of the Work or
|
| 120 |
+
Derivative Works a copy of this License; and
|
| 121 |
+
|
| 122 |
+
(b) You must cause any modified files to carry prominent notices
|
| 123 |
+
stating that You changed the files; and
|
| 124 |
+
|
| 125 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 126 |
+
that You distribute, all copyright, patent, trademark, and
|
| 127 |
+
attribution notices from the Source form of the Work,
|
| 128 |
+
excluding those notices that do not pertain to any part of
|
| 129 |
+
the Derivative Works; and
|
| 130 |
+
|
| 131 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 132 |
+
distribution, then any Derivative Works that You distribute must
|
| 133 |
+
include a readable copy of the attribution notices contained
|
| 134 |
+
within such NOTICE file, excluding those notices that do not
|
| 135 |
+
pertain to any part of the Derivative Works, in at least one
|
| 136 |
+
of the following places: within a NOTICE text file distributed
|
| 137 |
+
as part of the Derivative Works; within the Source form or
|
| 138 |
+
documentation, if provided along with the Derivative Works; or,
|
| 139 |
+
within a display generated by the Derivative Works, if and
|
| 140 |
+
wherever such third-party notices normally appear. The contents
|
| 141 |
+
of the NOTICE file are for informational purposes only and
|
| 142 |
+
do not modify the License. You may add Your own attribution
|
| 143 |
+
notices within Derivative Works that You distribute, alongside
|
| 144 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 145 |
+
that such additional attribution notices cannot be construed
|
| 146 |
+
as modifying the License.
|
| 147 |
+
|
| 148 |
+
You may add Your own copyright statement to Your modifications and
|
| 149 |
+
may provide additional or different license terms and conditions
|
| 150 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 151 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 152 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 153 |
+
the conditions stated in this License.
|
| 154 |
+
|
| 155 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 156 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 157 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 158 |
+
this License, without any additional terms or conditions.
|
| 159 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 160 |
+
the terms of any separate license agreement you may have executed
|
| 161 |
+
with Licensor regarding such Contributions.
|
| 162 |
+
|
| 163 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 164 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 165 |
+
except as required for reasonable and customary use in describing the
|
| 166 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 167 |
+
|
| 168 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 169 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 170 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 171 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 172 |
+
implied, including, without limitation, any warranties or conditions
|
| 173 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 174 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 175 |
+
appropriateness of using or redistributing the Work and assume any
|
| 176 |
+
risks associated with Your exercise of permissions under this License.
|
| 177 |
+
|
| 178 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 179 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 180 |
+
unless required by applicable law (such as deliberate and grossly
|
| 181 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 182 |
+
liable to You for damages, including any direct, indirect, special,
|
| 183 |
+
incidental, or consequential damages of any character arising as a
|
| 184 |
+
result of this License or out of the use or inability to use the
|
| 185 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 186 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 187 |
+
other commercial damages or losses), even if such Contributor
|
| 188 |
+
has been advised of the possibility of such damages.
|
| 189 |
+
|
| 190 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 191 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 192 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 193 |
+
or other liability obligations and/or rights consistent with this
|
| 194 |
+
License. However, in accepting such obligations, You may act only
|
| 195 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 196 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 197 |
+
defend, and hold each Contributor harmless for any liability
|
| 198 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 199 |
+
of your accepting any such warranty or additional liability.
|
| 200 |
+
|
| 201 |
+
END OF TERMS AND CONDITIONS
|
| 202 |
+
|
| 203 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 204 |
+
|
| 205 |
+
To apply the Apache License to your work, attach the following
|
| 206 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 207 |
+
replaced with your own identifying information. (Don't include
|
| 208 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 209 |
+
comment syntax for the file format. We also recommend that a
|
| 210 |
+
file or class name and description of purpose be included on the
|
| 211 |
+
same "printed page" as the copyright notice for easier
|
| 212 |
+
identification within third-party archives.
|
| 213 |
+
|
| 214 |
+
Copyright 2025 SK Telecom Co.
|
| 215 |
+
|
| 216 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 217 |
+
you may not use this file except in compliance with the License.
|
| 218 |
+
You may obtain a copy of the License at
|
| 219 |
+
|
| 220 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 221 |
+
|
| 222 |
+
Unless required by applicable law or agreed to in writing, software
|
| 223 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 224 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 225 |
+
See the License for the specific language governing permissions and
|
| 226 |
+
limitations under the License.
|
README.md
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: skt/A.X-3.1-Light
|
| 3 |
+
library_name: transformers
|
| 4 |
+
language:
|
| 5 |
+
- ko
|
| 6 |
+
license: apache-2.0
|
| 7 |
+
pipeline_tag: text-generation
|
| 8 |
+
tags:
|
| 9 |
+
- korean
|
| 10 |
+
- sft
|
| 11 |
+
- lora-merged
|
| 12 |
+
- safetensors
|
| 13 |
+
- k-ai-leaderboard
|
| 14 |
+
- source-screening
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# AX-3.1-Light-sft_v0_21_source_screen_scitech_mrc_300
|
| 18 |
+
|
| 19 |
+
This is a standalone BF16 model obtained by fine-tuning
|
| 20 |
+
[skt/A.X-3.1-Light](https://huggingface.co/skt/A.X-3.1-Light) with a LoRA
|
| 21 |
+
adapter and merging the adapter into the base weights. It is intended for
|
| 22 |
+
Korean-language research and controlled evaluation. The repository contains
|
| 23 |
+
no benchmark data, benchmark answers, training logs, or access credentials.
|
| 24 |
+
|
| 25 |
+
## Model Details
|
| 26 |
+
|
| 27 |
+
- Base model: skt/A.X-3.1-Light
|
| 28 |
+
- Base revision used for training and merge: 9b41bb2406472634d8812c0b8931fa40fa9a6c3a
|
| 29 |
+
- Architecture: unchanged from the base model
|
| 30 |
+
- Weight format: BF16 safetensors
|
| 31 |
+
- Chat template: official A.X tokenizer chat template
|
| 32 |
+
- Custom Python model code: none
|
| 33 |
+
- Submission form: merged full model; no separate adapter is required
|
| 34 |
+
- Experiment condition: A v0.21-equivalent source-screening arm replacing 300 rows with technical-science machine-reading examples.
|
| 35 |
+
|
| 36 |
+
## Training Data
|
| 37 |
+
|
| 38 |
+
Each arm contains 5,801 training rows in a v0.21-equivalent source-screening
|
| 39 |
+
mixture: 5,501 unchanged occurrences and 300 replacement occurrences. The
|
| 40 |
+
replacement source for this model is **AIHub-71533, 기술과학 문서 기계독해 데이터**. The 300 examples
|
| 41 |
+
were selected deterministically with seed 20260829; no quality, ranking,
|
| 42 |
+
embedding, or model scoring was used for selection.
|
| 43 |
+
|
| 44 |
+
Public evaluation benchmarks such as KMMLU-Pro, CLIcK, HLE, SNU Ko-MuSR,
|
| 45 |
+
Com2-main, and Original MuSR were not used as SFT data. The applicable terms
|
| 46 |
+
of the AI Hub source data remain in force.
|
| 47 |
+
|
| 48 |
+
## Training Procedure
|
| 49 |
+
|
| 50 |
+
- Objective: assistant-only causal-language-model cross entropy
|
| 51 |
+
- Epochs: 1
|
| 52 |
+
- Learning rate: 5e-5
|
| 53 |
+
- Optimizer: adamw_torch_fused
|
| 54 |
+
- Scheduler: linear, no warmup
|
| 55 |
+
- Weight decay: 0.0
|
| 56 |
+
- Maximum gradient norm: 1.0
|
| 57 |
+
- LoRA: rank 16, alpha 32, dropout 0.05
|
| 58 |
+
- LoRA target modules: q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj
|
| 59 |
+
- Per-device batch size: 1
|
| 60 |
+
- Gradient accumulation: 8 (effective batch size 8)
|
| 61 |
+
- Maximum sequence length: 2048
|
| 62 |
+
- Precision: BF16
|
| 63 |
+
- Packing: disabled
|
| 64 |
+
- Random seed: 42
|
| 65 |
+
|
| 66 |
+
## Local Evaluation
|
| 67 |
+
|
| 68 |
+
The full local canonical-suite evaluation used free and B1_constrained
|
| 69 |
+
probes, 21,962 rows per model, and had zero generation errors. The following
|
| 70 |
+
are the primary B1_constrained parsed-accuracy results; they are local
|
| 71 |
+
evaluation results, not official K-AI leaderboard scores.
|
| 72 |
+
|
| 73 |
+
KMMLU-Pro 39.40%, CLIcK 63.31%, HLE(Ko) 4.54%, SNU Ko-MuSR 56.80%, Com2-main(Ko) 51.60%; five-axis mean 43.13%.
|
| 74 |
+
|
| 75 |
+
## Usage
|
| 76 |
+
|
| 77 |
+
Load the repository with transformers AutoModelForCausalLM and
|
| 78 |
+
AutoTokenizer, or directly with standard vLLM. The merged repository does
|
| 79 |
+
not require a separate adapter or trust_remote_code.
|
| 80 |
+
|
| 81 |
+
## Intended Use and Limitations
|
| 82 |
+
|
| 83 |
+
This model is an experimental Korean SFT model for research and controlled
|
| 84 |
+
evaluation. It can produce factual errors and should not be used as a
|
| 85 |
+
substitute for professional legal, accounting, medical, or financial advice.
|
| 86 |
+
|
| 87 |
+
## License
|
| 88 |
+
|
| 89 |
+
The base model is distributed under the Apache License 2.0. The applicable
|
| 90 |
+
terms of the AI Hub source data remain in force for use of the training data.
|
| 91 |
+
See LICENSE for the base model license text.
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools is iterable and tools | length > 0 %}
|
| 2 |
+
{{- '<|im_start|><|system|>'}}
|
| 3 |
+
{{- '당신은 도구 호출 기능을 갖춘 유용한 도우미입니다. 사용자의 요청을 처리하기 위해서 필요한 도구가 주어진 목록에 있는 경우 도구 호출로 응답하세요.
|
| 4 |
+
필요한 도구가 목록에 없는 경우에는 도구 호출 없이 사용자가 요구한 정보를 제공하세요.
|
| 5 |
+
필요한 도구가 목록에 있지만 해당 도구를 호출하는데 필요한 argument 정보가 부족한 경우 해당 정보를 사용자에게 요청하세요.
|
| 6 |
+
사용자의 요청을 처리하기 위해 여러번 도구를 호출할 수 있어야 합니다.
|
| 7 |
+
도구 호출 이후 도구 실행 결과를 입력으로 받으면 해당 결과를 활용하여 답변을 생성하세요.
|
| 8 |
+
|
| 9 |
+
다음은 접근할 수 있는 도구들의 목록 입니다:
|
| 10 |
+
<tools>
|
| 11 |
+
'}}
|
| 12 |
+
{%- for t in tools %}
|
| 13 |
+
{{- t | tojson }}
|
| 14 |
+
{{- '
|
| 15 |
+
' }}
|
| 16 |
+
{%- endfor %}
|
| 17 |
+
{{- '</tools>' }}
|
| 18 |
+
{{- '
|
| 19 |
+
|
| 20 |
+
도구를 호출하려면 아래의 JSON으로 응답하세요.
|
| 21 |
+
도구 호출 형식: <tool_call>{"name": 도구 이름, "arguments": dictionary 형태의 도구 인자값}</tool_call>' }}
|
| 22 |
+
{{- '<|im_end|>' }}
|
| 23 |
+
{%- endif %}
|
| 24 |
+
|
| 25 |
+
{%- for message in messages %}
|
| 26 |
+
{%- if message.role == 'system' %}
|
| 27 |
+
{{- '<|im_start|><|system|>' + message.content + '<|im_end|>'}}
|
| 28 |
+
{%- elif message.role == 'user' %}
|
| 29 |
+
{{- '<|im_start|><|user|>' + message.content + '<|im_end|>'}}
|
| 30 |
+
{%- elif message.role == 'assistant' %}
|
| 31 |
+
{{- '<|im_start|><|assistant|>'}}
|
| 32 |
+
{%- set content = '' %}
|
| 33 |
+
{%- if message.content is defined %}
|
| 34 |
+
{%- set content = message.content %}
|
| 35 |
+
{%- endif %}
|
| 36 |
+
|
| 37 |
+
{%- if add_generation_prompt and not (message.reasoning_content is defined and message.reasoning_content is not none) %}
|
| 38 |
+
{%- if '</think>' in message.content %}
|
| 39 |
+
{%- set content = message.content.split('</think>'.strip())[-1].lstrip('\n') %}
|
| 40 |
+
{%- endif %}
|
| 41 |
+
{%- endif %}
|
| 42 |
+
|
| 43 |
+
{{- content}}
|
| 44 |
+
{%- if message.tool_calls is defined %}
|
| 45 |
+
{%- for tool_call in message.tool_calls %}
|
| 46 |
+
{%- if tool_call.function is defined %}
|
| 47 |
+
{%- set tool_call = tool_call.function %}
|
| 48 |
+
{%- endif %}
|
| 49 |
+
{{- '<tool_call>' }}
|
| 50 |
+
{{- '{' }}
|
| 51 |
+
{{- '"name": "' }}
|
| 52 |
+
{{- tool_call.name }}
|
| 53 |
+
{{- '"' }}
|
| 54 |
+
{%- if tool_call.arguments is defined %}
|
| 55 |
+
{{- ', ' }}
|
| 56 |
+
{{- '"arguments": ' }}
|
| 57 |
+
{{- tool_call.arguments|tojson }}
|
| 58 |
+
{%- endif %}
|
| 59 |
+
{{- '}' }}
|
| 60 |
+
{{- '</tool_call>' }}
|
| 61 |
+
{%- endfor %}
|
| 62 |
+
{%- endif %}
|
| 63 |
+
{{- '<|im_end|>'}}
|
| 64 |
+
|
| 65 |
+
{%- elif message.role == 'tool' %}
|
| 66 |
+
{{- '<|im_start|><|extra_id_13|><tool_output>' + message.content + '</tool_output><|im_end|>'}}
|
| 67 |
+
{%- endif %}
|
| 68 |
+
{%- endfor %}
|
| 69 |
+
|
| 70 |
+
{%- if add_generation_prompt %}
|
| 71 |
+
{{- '<|im_start|><|assistant|>' }}
|
| 72 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"LlamaForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.1,
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"dtype": "bfloat16",
|
| 9 |
+
"eos_token_id": 0,
|
| 10 |
+
"head_dim": 128,
|
| 11 |
+
"hidden_act": "silu",
|
| 12 |
+
"hidden_size": 4096,
|
| 13 |
+
"initializer_range": 0.02,
|
| 14 |
+
"intermediate_size": 10880,
|
| 15 |
+
"max_position_embeddings": 32768,
|
| 16 |
+
"mlp_bias": false,
|
| 17 |
+
"model_type": "llama",
|
| 18 |
+
"num_attention_heads": 32,
|
| 19 |
+
"num_hidden_layers": 32,
|
| 20 |
+
"num_key_value_heads": 32,
|
| 21 |
+
"pad_token_id": null,
|
| 22 |
+
"pretraining_tp": 1,
|
| 23 |
+
"rms_norm_eps": 1e-05,
|
| 24 |
+
"rope_parameters": {
|
| 25 |
+
"rope_theta": 500000,
|
| 26 |
+
"rope_type": "default"
|
| 27 |
+
},
|
| 28 |
+
"tie_word_embeddings": false,
|
| 29 |
+
"transformers_version": "5.15.0",
|
| 30 |
+
"use_cache": false,
|
| 31 |
+
"vocab_size": 102400
|
| 32 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 0,
|
| 3 |
+
"eos_token_id": 27,
|
| 4 |
+
"max_new_tokens": 32768,
|
| 5 |
+
"pad_token_id": 1,
|
| 6 |
+
"transformers_version": "5.15.0"
|
| 7 |
+
}
|
kds_merge_info.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"base_model": "AX-3.1-Light",
|
| 3 |
+
"base_model_path": "/home/youngseok3/.cache/huggingface/hub/models--skt--A.X-3.1-Light/snapshots/9b41bb2406472634d8812c0b8931fa40fa9a6c3a",
|
| 4 |
+
"adapter_path": "/home/youngseok3/KDS/experiments/source_screening_v021/outputs/source_screen_scitech_mrc_300"
|
| 5 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:26a8f1271d06f00275348ab16449349151bdcdd1eb4dd312c6ed3d3fdcc685e2
|
| 3 |
+
size 14529635608
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"backend": "tokenizers",
|
| 4 |
+
"bos_token": "<|endoftext|>",
|
| 5 |
+
"clean_up_tokenization_spaces": true,
|
| 6 |
+
"cls_token": "<|cls|>",
|
| 7 |
+
"eod_token": "<|endoftext|>",
|
| 8 |
+
"eos_token": "<|im_end|>",
|
| 9 |
+
"errors": "replace",
|
| 10 |
+
"is_local": true,
|
| 11 |
+
"local_files_only": true,
|
| 12 |
+
"mask_token": "<|mask|>",
|
| 13 |
+
"max_length": 7680,
|
| 14 |
+
"model_max_length": 32768,
|
| 15 |
+
"model_specific_special_tokens": {
|
| 16 |
+
"eod_token": "<|endoftext|>"
|
| 17 |
+
},
|
| 18 |
+
"pad_token": "<|pad|>",
|
| 19 |
+
"sep_token": "<|sep|>",
|
| 20 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 21 |
+
"unk_token": "<|unk|>",
|
| 22 |
+
"vocab_size": 102400
|
| 23 |
+
}
|