/ Модель

Характеристики

Контекст
65 536 токенов
Параметры
3 млрд
Лицензия
Apache 2.0
Архитектура
eka_v1 · dense
Библиотека
transformers
Опубликована
30 ноя 2026

EKA-1

Генерация текстаТекст → текст
1 346скачиваний за 30 дней52лайкавеса обновлены5 дек 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

EKA-1 — диалоговая языковая модель с длинным контекстом, ориентированная на математику, программирование и рассуждение.

EKA-1 — текстовая авторегрессионная модель семейства EKA, разработанная в рамках Project EKA при поддержке и финансировании IndiaAI Mission. Она предназначена прежде всего для математики, программирования и задач на рассуждение, а также поддерживает диалоговую генерацию текста. Архитектура RASLNet сочетает блоки Mamba-2, разреженную смесь экспертов (MoE) и Multi-Latent Attention; README указывает 52 слоя и 26,3 млрд параметров, из которых 3,6 млрд активны на токен. В метаданных Hugging Face размер указан как 3 млрд параметров.

Модель рассчитана на длинный контекст до 65 536 токенов. Токенизатор Unigram с размером словаря 256 000 ориентирован на морфологически богатые индийские и другие языки Глобального Юга. README не перечисляет конкретные естественные языки. Модель обучалась на этапах предобучения, промежуточного обучения и supervised fine-tuning; README отмечает, что выравнивание ещё не проводилось. Лицензия — Apache-2.0.

Модель лучше всего подходит для чётко сформулированных математических задач, генерации кода и рассуждений. Ответы могут быть неполными или неточными на сложных либо неоднозначных запросах, фактические сведения требуют проверки, а сгенерированный код — тестирования. Соблюдение инструкций может быть нестабильным; предусмотрены ограниченные меры безопасности, и результаты для общих задач могут различаться по качеству.

Сценарии применения

  • решение чётко сформулированных математических задач
  • генерация и объяснение программного кода
  • рассуждение по заданным условиям
  • диалоговые ответы на текстовые запросы
  • обработка длинных текстовых запросов до 65 536 токенов

Ограничения

На сложных и неоднозначных задачах ответы могут быть неполными или неточными; факты и сгенерированный код следует проверять. Следование инструкциям может быть нестабильным, меры безопасности ограничены, а качество на общих задачах может различаться.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Technical Report

https://soket.ai/reports/eka-1-technical-report.pdf

Indroduction

EKA-1 is a Math, Code, and Reasoning(MCR) text model developed under Project EKA, supported and funded by the IndiaAI Mission. It is a Hybrid MoE model with 26.3B total parameters, of which 3.6B are active per token. This gives it the capacity of a large model at the inference cost of a much smaller one for larger context.

EKA-1 is designed for long-context use. It runs efficiently with a 64K-token context window, and its speed advantage over other models of similar size grows as the context length increases. Most of its layers are Mamba-2 blocks, which maintain a fixed-size state regardless of the input length.

EKA-1 uses a 256K-vocabulary Unigram tokenizer that excels for morphologically rich languages such as Indian and Global South Languages. In these languages, words are formed through inflection, agglutination, compounding, and sandhi, so a single word often combines a root with several meaningful suffixes. The tokenizer tends to split such words along natural morpheme boundaries, such as roots, case markers, and verb endings, rather than into arbitrary fragments. This gives the model a more faithful representation of Indic text and supports better understanding and generation.

Architecture

We introduce RASLNet (Recursive Attentive Sparse Latent Network), a hybrid language model architecture designed to combine the computational efficiency of state-space models with the representational capacity of attention mechanisms and the scalability of sparse expert computation. RASLNet integrates three complementary building blocks: Mamba-2, Latent Mixture-of-Experts (MoE), and Multi-Latent Attention (MLA) within a unified decoder architecture.

The architecture consists of 52 layers, interleaving 23 Mamba-2 layers, 23 MoE layers, and 6 MLA-bearing layers. Each layer contains a single primary block type with pre-normalization and a residual connection. This design balances efficient sequence processing through Mamba-2, conditional parameter activation through sparse MoE computation, and attention-based contextual modeling through MLA.

The decoder follows the layer arrangement illustrated below, where M denotes a Mamba-2 mixer, E denotes a Latent MoE feed-forward block, and * denotes an MLA attention block:

MEMEM*EMEMEM*EMEMEM*EMEMEM*EMEMEM*EMEMEMEM*EMEMEMEME

Training Corpus

EKA-1 was trained on 6.52T tokens during pretraining, followed by 629.99B tokens during mid-training and annealing, bringing the combined pretraining and mid-training total to 7.15T tokens. Subsequently, 1.78T tokens were used for supervised fine-tuning (SFT), resulting in a total of 8.93T tokens across all training stages.

Inference

import os
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

HF_TOKEN = os.environ.get("HF_TOKEN") or "HF_TOKEN"
model_id = "soketlabs/EKA-1"
device = "cuda:0" if torch.cuda.is_available() else "cpu"

tokenizer = AutoTokenizer.from_pretrained(
    model_id,
    trust_remote_code=True,
    token=HF_TOKEN,
)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    dtype="auto",
    trust_remote_code=True,
    token=HF_TOKEN,
).to(device)
model.eval()

messages = [
    {"role": "user", "content": "Explain quantum mechanics clearly and concisely."},
]
inputs = tokenizer.apply_chat_template(
    messages,
    add_generation_prompt=True,
    return_tensors="pt",
    return_dict=True,
).to(device)

with torch.no_grad():
    output_ids = model.generate(
        **inputs,
        max_new_tokens=4096,
        do_sample=True,
        temperature=0.7,
        top_p=1.0,
    )

prompt_len = inputs["input_ids"].shape[-1]
print(tokenizer.decode(output_ids[0, prompt_len:], skip_special_tokens=True))

Native vLLM support for Eka-1 is in progress. Until it is merged, you can run Eka-1 on vLLM by following the steps below.

cd vllm_patch

python -m pip install vllm @ https://github.com/vllm-project/vllm/releases/download/v0.31.0/vllm-0.31.0%2Bcu129-cp38-abi3-manylinux_2_28_x86_64.whl
python -u hotpatch_vllm.py
python test_hotpatch.py check

vllm serve . --trust-remote-code --dtype bfloat16 --max-model-len 65536 --tensor-parallel-size 1 --gpu-memory-utilization 0.90 --host 0.0.0.0 --port 8000

RASLNet Architecture

Model Configuration

  • Model Type: Causal Language Model
  • Training Stages: Pre-training and Supervised Fine-Tuning (SFT)
  • Context Length: 65,536 tokens
  • Vocabulary Size: 256,000 (untied embeddings and LM head)
  • Number of Decoder Layers: 52
  • Hidden Size: 2,688
  • Activation Function: SiLU
  • Precision: BF16

Mamba-2 Configuration

  • Mamba State Dimension: 128
  • Mamba Head Dimension: 64
  • Number of Mamba Groups: 8
  • Number of Mamba Heads: 64
  • Convolution Kernel Size: 4

Latent Mixture-of-Experts Configuration

  • Number of Experts: 128
  • Expert Intermediate Size: 1,856
  • Latent Size: 1,344
  • Experts Activated per Token (Top-K): 6
  • Shared Expert Intermediate Size: 3,712

Multi-Latent Attention Configuration

  • Number of Attention Heads: 32
  • Query LoRA Rank: 512
  • Key-Value LoRA Rank: 256
  • Query-Key Head Dimension: 128
  • Rotary Position Embedding Dimension: 64

Multi-Token Prediction

  • Number of MTP Layers: 1
  • MTP Loss Scaling Factor: 0.1

RASLNet provides a unified architectural framework that combines state-space sequence modeling, sparse latent expert computation, and latent attention to support efficient training and inference at scale.

Benchmarks Results

BenchmarkEKA-1GLM-4.7-FlashMuse-Glimmer-30BGemma-4-26B-A4B-itNemotron-3-Nano-30BSarvam-30BGpt-oss-20bQwen3.8-27B
GSM8K928795.19594.293.893.694.8
MATH50092.290.696.698.297.69795.297.8
MMLU-Redux80.578.982.789.48369.974.391.9
HumanEval+89.640.960.433.571.3788682.9
HumanEval (base)95.141.565.234.874.484.890.985.4
MBPP+75.177.577.582.875.478.876.781.7
MBPP (base)89.988.989.795.590.592.691.595.2
BoolQ82.6688.188.38185.48475.486.8
IFEval (prompt / instruction)72.6 / 80.283.4 / 88.693.5 / 95.794.5 / 96.393.9 / 95.877.1 / 82.779.5 / 86.192.4 / 94.6
XQuAD-IN86 / 86.384.6 / 85.390.2 / 90.489.7 / 90.164.2 / 64.762.6 / 66.986.8 / 87.280.2 / 80.9
MILU (Indic)49.8748.4672.669.5544.9948.2549.2757.42

Tokenizer

We curated a 13T-token corpus covering 39 natural languages and 100 programming languages, drawn from web crawls, code, mathematics, scientific text, books and synthetic data. All of it passes through a curation pipeline with per-language filtering thresholds.

Tokenization sets the cost of every Indic token the model ever sees or produces. To get it right, we trained more than 200 candidate tokenizers and selected one by measuring fertility on held-out data for Indic, English, other regional languages, code and math.

The final 256K-token vocabulary produces the fewest tokens of any open tokenizer we tested on the ten most widely spoken Indic languages:

  • 5% fewer tokens than Sarvam-105B
  • 69% fewer tokens than Qwen3

It is also the most efficient on math, and within about 3% of the best on English and 5% on code.

Metric: fertility (tok/char)

Fertility is measured in tokens per character (tok/char) on held-out data. Lower is better: fewer tokens are needed to represent the same text. We compare against seven open tokenizers: Qwen3, Gemma-4, DeepSeek, GPT-OSS, Nemotron-3, Kimi and Sarvam.

In every table below, all values are in tok/char, and the bold value in each row is the best (lowest). Ties are both bolded.

Per-language fertility (tok/char)

Fertility in tok/char (lower is better). Rows are grouped into high-resource Indic, low-resource Indic and Global South languages.

High-resource Indic

LanguageQwen3Gemma-4DeepSeekGPT-OSSNemotron-3KimiSarvamOurs
Hindi (hi)0.7890.3190.5140.3420.3990.5090.3200.307
Bengali (bn)0.9840.3100.4450.3910.4550.6060.3100.331
Marathi (mr)0.8330.3610.5540.3930.4690.5450.3610.320
Telugu (te)1.3240.4180.7180.4300.5030.7540.3800.353
Tamil (ta)0.9890.3450.5230.3900.4410.6850.3470.321
Gujarati (gu)1.1930.4290.7190.4140.5700.7040.3920.368
Urdu (ur)0.6330.3430.4910.3640.3920.4660.3430.341
Kannada (kn)1.2140.4340.6820.4140.4860.6760.3740.336
Odia (or)1.7400.6661.0030.8972.2851.1430.3570.338
Malayalam (ml)1.2370.3850.7540.3860.5030.5830.3520.341

Low-resource Indic

LanguageQwen3Gemma-4DeepSeekGPT-OSSNemotron-3KimiSarvamOurs
Punjabi (pa)1.3590.5560.8430.5300.6200.7350.3870.380
Assamese (as)1.1220.4290.5620.4340.6590.6990.4290.340
Maithili (mai)0.8350.4040.6090.4000.4990.6010.4040.380
Santali (sat)1.6800.9881.1912.4762.3271.3590.3610.482
Kashmiri (ks)0.7730.5710.6870.6220.6350.7010.5710.614
Nepali (ne)0.8120.3570.5490.3620.4570.5370.3580.305
Sindhi (sd)0.6610.5000.6400.4430.6000.6400.5130.461
Dogri (doi)0.7350.3810.5220.3870.4290.5250.3810.379
Konkani (gom)0.8180.4110.5760.4430.4990.5580.4140.339
Manipuri (mni)1.7181.2571.2181.5781.6021.2560.4031.696
Bodo (brx)0.9320.4710.6730.5300.5750.6680.4710.464
Sanskrit (sa)0.9490.4470.6100.5160.5670.6100.4370.374

Global South

LanguageQwen3Gemma-4DeepSeekGPT-OSSNemotron-3KimiSarvamOurs
Arabic (ar)0.4790.4110.4540.4120.4150.5330.4130.491
Bishnupriya (bpy)1.0660.4630.5650.5330.6420.7080.4640.504
English (en)0.3630.3610.3210.3160.3620.3270.3640.326
French (fr)0.3760.3650.3420.3220.3500.3640.3660.360
Indonesian (id)0.3540.3230.3140.2940.3400.3320.3240.282
Kazakh (kk)0.5890.4540.5270.3930.4760.4550.4540.305
Pashto (ps)0.6100.4630.5730.4900.5710.5920.4630.500
Portuguese (pt)0.3530.3350.3270.3000.3330.3470.3370.333
Sinhala (si)0.9740.4630.6900.4731.6460.6331.6510.443
Swahili (sw)0.3900.3660.3680.3360.3840.3740.3670.320
Thai (th)0.5250.4160.4270.4380.5220.7022.1090.342
Vietnamese (vi)0.3910.3740.4410.3610.3960.5000.7020.342
Chinese (zh)0.8610.8470.8470.9050.9450.9040.9081.226
Dzongkha (dz)0.6210.4510.5520.6640.9160.4810.4020.417
Burmese (my)1.2360.5570.8850.5470.6640.6932.2680.695

Per-language fertility on code (tok/char)

Fertility in tok/char (tokens per character, lower is better) on held-out source files. "Other languages" pools all remaining programming languages.

LanguageQwen3Gemma-4DeepSeekGPT-OSSNemotron-3KimiSarvamOurs
Markdown0.2760.2710.2740.2460.2710.2820.2710.264
JavaScript0.2440.2920.2570.2440.2620.2460.2920.256
Java0.2240.2790.2500.2290.2520.2340.2800.248
Python0.2510.3070.2720.2480.2730.2500.3090.274
C#0.2010.2460.2250.2050.2250.2090.2480.211
PHP0.2570.2990.2770.2550.2760.2610.2950.277
C++0.2810.3380.3030.2770.3050.2790.3400.293
TypeScript0.2400.2890.2550.2420.2550.2450.2950.254
C0.3000.3660.3270.2950.3310.2960.3670.303
Ruby0.2690.3160.2840.2670.2840.2690.3200.298
Objective-C0.2400.2870.2640.2480.2720.2530.2870.230
Shell0.3160.3570.3340.3100.3390.3070.3580.312
Kotlin0.2090.2550.2310.2150.2280.2190.2580.224
Go0.2860.3440.3060.2830.3030.2840.3450.317
Vue0.2580.3130.2640.2540.2710.2550.3070.271
Swift0.2610.2940.2710.2570.2760.2700.3670.266
YAML0.3020.3300.3070.2880.3090.2900.3320.296
HTML0.3490.3930.3410.3260.3610.3270.3690.311
R0.3040.3490.3170.2970.3270.2950.3500.296
MATLAB0.3180.3750.3440.3130.3530.3160.3750.306
SQL0.3240.3660.3310.3000.3610.3020.3670.286
Rust0.2620.3140.2750.2560.2750.2570.3150.268
Lean0.3430.3980.3700.3610.3800.3240.4070.417
TSX0.2330.2750.2440.2350.2460.2380.2750.238
Scala0.2310.2910.2710.2430.2720.2440.2910.271
Blade0.2310.2730.2410.2270.2400.2340.2630.248
Dart0.1990.2440.2120.2030.2140.2060.2450.207
TeX0.3210.3170.2970.3030.3050.2960.3180.291
Lua0.3060.3520.3240.2960.3300.2980.3530.322
Dockerfile0.3070.3540.3290.3020.3280.2940.3560.310
CSS0.3440.4340.3490.3200.3680.3180.4340.303
Haskell0.2820.3010.2950.2800.2970.2820.3040.284
Perl0.3010.3470.3230.2980.3230.3000.3520.314
Other languages0.2740.3110.2800.2660.2860.2690.3060.276
Overall0.2680.3110.2820.2630.2860.2670.3110.276

Limitations, Bias, Risk

EKA-1 is under continuous development, and it has limited safety measures.

Limitations

  • Reasoning and Task Complexity: The model performs best on well-defined problems with clear instructions. Highly complex or ambiguous tasks may lead to incomplete or imprecise solutions, so verifying outputs is recommended.
  • Code Generation: Generated code is intended as a strong starting point and should be reviewed and tested before use in production environments.
  • Factual Accuracy: Like all language models, it generates responses based on patterns learned during training and is not a knowledge base. It may occasionally produce inaccurate or outdated information.
  • Instruction Following: Since the model has not yet undergone alignment training, its response style and adherence to instructions may vary across prompts.
  • Domain Focus: The model is specialized for Math, Code, and Reasoning. It delivers its strongest performance in these areas, and results on general-purpose tasks may vary.

Ethical Consideration & Risks

  • Bias and Fairness: Language models trained on large-scale, real-world data can reflect socio-cultural biases present in that data. Continuous evaluation and responsible fine-tuning are recommended for downstream applications.
  • Content Safety: As with any generative model, outputs may occasionally be inappropriate for certain contexts. Developers are encouraged to apply content-safety measures in line with their product policies.
  • Privacy: Developers are encouraged to follow applicable privacy regulations and adopt privacy-preserving practices when building on this model.
  • Transparency: This model card documents the model's architecture, training stages, capabilities, and limitations to support informed and responsible use.

Recommendations

  • Responsible Use: The model is best suited for research, evaluation, and development. Developers deploying it in applications are responsible for appropriate testing, safeguards, and compliance with applicable laws.
  • Human Oversight: For decisions in sensitive domains such as healthcare, law, or finance, model outputs should be supported with human expertise.
  • Prohibited Use: The model must not be used for illegal, harmful, violent, discriminatory, or sexually explicit purposes.

Acknowledgements

We thank:

  • IndiaAI Mission, Government of India: This work is funded and supported by the IndiaAI Mission, Government of India. We take pride in the fact that this research is supported by Indian taxpayers, and in that spirit, a central aim of this report is to openly share our learnings and findings with the Indian and the broader global AI community.
  • Yotta Data Services and its team: for providing access to the GPU cluster used for training, and for their continued support in keeping the infrastructure stable and usable throughout this work.
  • Reviewers, advisors and colleagues: for feedback on this report.

Feedback

https://docs.google.com/forms/d/e/1FAIpQLSfeNsJGX1kG6PrqPd7awkBhZD5NfuqUA3av7Fp4c6xIRvXeAw/viewform

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Нельзя запустить

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Класс архитектуры
EkaV1ForCausalLM
Ревизия весов
f563592

0 моделей