Skip to content

Feature/add axk1#45334

Closed
kmswin1 wants to merge 2 commits intohuggingface:mainfrom
HyunHo99:feature/add_axk1
Closed

Feature/add axk1#45334
kmswin1 wants to merge 2 commits intohuggingface:mainfrom
HyunHo99:feature/add_axk1

Conversation

@kmswin1
Copy link
Copy Markdown

@kmswin1 kmswin1 commented Apr 9, 2026

Add A.X K1 model architecture
What does this PR do?
This PR adds support for A.X K1, a large-scale Mixture-of-Experts (MoE) language model developed by SK Telecom. A.X K1 contains 519B total parameters with 33B active parameters per token, enabling strong reasoning performance with practical inference efficiency.

Paper: A.X K1 Technical Report (arXiv:2601.09200)
Model: skt/A.X-K1
License: Apache 2.0

Architecture overview
A.X K1 is a decoder-only Transformer with the following key design choices:

Sparse MoE: 61 layers (1 dense + 60 MoE), with 192 routed experts + 1 shared expert per MoE layer. 8 experts + 1 shared expert are activated per token.
Multi-Latent Attention (MLA): Compressed KV representations for efficient long-context inference.
Post-MLP RMSNorm: An additional RMSNorm applied after the MLP/MoE block in each layer, improving training stability in large-scale sparse settings.
Multi-Token Prediction (MTP): An auxiliary training objective that also enables speculative decoding at inference time.
Hybrid Reasoning (Think / Non-Think): Supports user-controllable reasoning depth within a single unified model.
Context length: 131,072 tokens
Vocab size: 163,840 (BBPE-based tokenizer optimized for EN, KO, ZH, JA, ES and code)

This PR includes

Model implementation (AXK1ForCausalLM, AXK1Model, AXK1Config)
Tokenizer integration (BBPE-based, 163,840 vocab)
Documentation and model card
Tests

Before submitting

I confirm that this is not a pure code agent PR.
This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
Did you read the contributor guideline, Pull Request section?
Was this discussed/approved via a Github issue or the forum? Please add a link to it if that's the case.
Did you make sure to update the documentation with your changes? Here are the documentation guidelines, and here are tips on formatting docstrings.
Did you write any new necessary tests?

Who can review?
@ArthurZucker @Cyrilvallez — text model architecture addition

minsangkim and others added 2 commits March 9, 2026 17:55
@kmswin1 kmswin1 closed this Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant