/ Модель

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

Контекст
1 048 576 токенов
Параметры
22,3 млрд
Лицензия
Apache 2.0
Архитектура
arjuna_v1 · dense
Базовая модель
Qwen3.8-27B
Библиотека
transformers
Опубликована
21 окт 2026

Arjuna-V1

Генерация текстаТекст → текст12 профессий
120скачиваний за 30 дней2лайкавеса обновлены21 окт 2026

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

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

Arjuna-V1 — дообученная текстовая модель на базе Qwen/Qwen3.8-27B для диалогов, математических рассуждений и генерации текста с длинным контекстом.

Arjuna-V1 — дообученная модель на базе Qwen/Qwen3.8-27B, представленная разработчиком shivrajgurjar. Это плотная причинная языковая модель с архитектурой ArjunaV1ForCausalLM; карточка описывает гибрид Transformer и Gated DeltaNet и ориентирует её на диалоги, математические рассуждения и длинный контекст. Модель принимает текст и генерирует текст.

В README заявлена поддержка контекста более 1 млн токенов и оптимизация для запуска на двух NVIDIA T4 с INT4-весами. Метаданные указывают 22,3 млрд параметров, формат Safetensors и лицензию Apache-2.0. Описание архитектурных оптимизаций и результаты бенчмарков приведены в README как заявления разработчика; независимое подтверждение этих характеристик в доступных данных отсутствует.

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

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

  • ответы на вопросы в диалоге
  • пошаговое решение математических задач
  • доказательство теорем и проверка рассуждений
  • генерация текста по длинному контексту

Ограничения

Поддерживаемые естественные языки не подтверждены в предоставленных данных. Заявления README о контексте свыше миллиона токенов и точности бенчмарков не имеют независимого подтверждения.

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

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

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

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

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

Для каких профессий подходит12

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

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

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

Открыть на Hugging Face

Arjuna-V1

64-Layer Hybrid Symplectic-DeltaNet Foundation Engine (1M+ Context · O(1) State Memory · Dual-T4 Native)

Architecture Context Horizon Kernel Engine License


1. Executive Overview & Mathematical Architecture

Arjuna-V1 (shivrajgurjar/Arjuna-V1) is a self-contained, horizontally-fused, int32-vectorized Triton compilation of the 64-layer hybrid foundation model Qwen/Qwen3.8-27B ($26.90\text{B}$ parameters). It is designed to simultaneously break the HBM Memory Bandwidth Wall and the Quadratic KV-Cache Memory Wall, enabling all 64 layers to reside concurrently in VRAM across 2x NVIDIA T4 GPUs ($30\text{ GB}$ combined VRAM) with $>14.8\text{ GB}$ of free VRAM remaining.

Core Mathematical & Systems Innovations

  1. Zero-Point Factorized 32-Bit int32 Vectorized @triton.jit Kernel: Instead of loading 8-bit bytes (ld.global.u8), every horizontally-fused projection matrix (in_proj_qkvz_fused $[16384 \times 5120]$, qkv_fused $[14336 \times 5120]$, gate_up_fused $[34816 \times 5120]$, and down_proj $[5120 \times 17408]$) is packed into symmetric 4-bit nibbles viewed as 32-bit int32 words ($8$ weights per ld.global.b32 instruction). Within each group-64 scale block, the zero-point subtraction is factored algebraically across all 8 nibbles: $$\text{sc} \cdot \sum_{j=0}^7 (q_j - 8) x_j \equiv \text{sc} \cdot \left( \sum_{j=0}^7 q_j x_j - 8 \sum_{j=0}^7 x_j \right)$$ where $8\sum_{j=0}^7 x_j$ is computed once per threadblock and reused across BLOCK_M = 16 rows simultaneously.
  2. Exact Preservation of All 48 Gated-DeltaNet Recurrent Dynamical Gates: In the 48 Gated DeltaNet layers, the recurrent state $S_t^{(\ell)} \in \mathbb{R}^{48 \times 128 \times 128}$ evolves via the Householder-Delta rule: $$S_t^{(\ell)} = \alpha_t^{(\ell)} S_{t-1}^{(\ell)} \left(I - \beta_t^{(\ell)} \hat{k}_t \hat{k}_t^\top\right) + \beta_t^{(\ell)} v_t \hat{k}_t^\top$$ All recurrent gate generators (A_log, dt_bias, in_proj_ba_fused, conv1d, and norms) are preserved in exact uncompressed FP16/FP32, guaranteeing zero Lyapunov decay drift across $1,000,000+$ tokens while requiring only $72.00\text{ MB}$ of strictly $\mathcal{O}(1)$ constant state memory across all 48 layers.
  3. Tri-Modal Symplectic Holographic Memory Manifold (SHMM) for the 16 Full-Attention Layers: Combines a $2,048$-token sliding sensory window, an orthogonalized Delta-rule fast-weight matrix $\mathcal{M}_{\text{holo}}$, and a $4,096$-slot Min-Surprise Priority-Eviction Landmark Heap ($32\text{D}$ Stiefel coordinates), achieving $5/5$ ($100.0%$) exact passkey retrieval across $1,000,000$ tokens in $49.63\text{ MB}$ of constant VRAM ($121.63\text{ MB}$ total state memory across all 64 layers).

2. Quantitative Hardware & Fidelity Benchmarks

System MetricQwen3.8-27B (BF16)Qwen3.8-27B (Standard Q4)Arjuna-V1 (Ours)
64-Layer Weights Footprint$53.80\text{ GB}$$15.73\text{ GB}$$12.09\text{ GB}$ (16 x 773.4 MB Fused Zones)
Embeddings & LM Head Footprint$5.08\text{ GB}$$2.54\text{ GB}$$1.91\text{ GB}$ (Subspace-INT4 + INT4 Head)
Dual-T4 VRAM ResidencyOut of Memory (OOM)Tight ($<2\text{ GB}$ free)$6.7\text{ GB}$ GPU 0 + $7.5\text{ GB}$ GPU 1 ($14.8\text{ GB}$ Free!)
1,500,000-Token Context State VRAM$393.22\text{ GB}$ (OOM)$393.22\text{ GB}$ (OOM)$121.63\text{ MB}$ ($\mathcal{O}(1)$ Constant Manifold)
Max Input Context Window$128\text{K–}256\text{K}$$128\text{K}$$1,000,000+$ Tokens ($\mathcal{O}(1)$ State)
Max Continuous Output Horizon$32\text{K}$$32\text{K}$$500,000+$ Tokens per Prompt
1M-Token Needle-in-a-Haystack RecallOOM on 2x T4OOM on 2x T4$5/5$ ($100.0%$) Exact Hits (Value CosSim = 1.0000)
Held-Out Top-5 Token Agreement$100.00%$ (Ref)$\sim 98.5%$$99.26%$ (Non-Pad Unseen Test Set)
Causal B=1, T=4 vs 4x (T=1) Drift——$0.00000000$ (100% IEEE-754 Bit-Identical)

3. Verbatim Empirical Proofs & Code Generation Showcase

Every output below was generated live and uncut by the 64-layer Arjuna-V1 engine running on 2x NVIDIA T4 GPUs:

3.1 Complex Analysis — Cauchy Residue Contour Integral

Prompt: Problem: Evaluate the contour integral I = \oint_{|z|=2} \frac{z^2 + 1}{z(z - 1)} dz where |z|=2 is traversed counterclockwise. Solution: Let f(z) = (z^2 + 1) / (z(z - 1)). The simple poles inside |z|=2 are at z = 0 and z = 1. 1. At z = 0, Res(f, 0) = \lim_{z \to 0} z f(z) =

Arjuna-V1 Output:

\lim_{z \to 0} (z^2 + 1)/(z - 1) = -1.
2. At z = 1, Res(f, 1) = \lim_{z \to 1} (z - 1) f(z) = \lim_{z \to 1} (z^2 + 1)/z = 2.
By the residue theorem, I = 2\pi i (\text{Res}(f,0) + \text{Res}(f,1)) = 2\pi i (-1 + 2) = 2\pi i.

3.2 Putnam / Olympiad Number Theory — Prime Divisibility $p^2 - 1 \equiv 0 \pmod{24}$

Prompt: Theorem: Prove that for every prime number p >= 5, the number p^2 - 1 is divisible by 24. Proof: Since p >= 5 is prime, p is neither divisible by 2 nor by 3. 1. Divisibility by 8: Specifically, p^2 - 1 = (p - 1)(p + 1).

Arjuna-V1 Output:

Since p is odd, both (p - 1) and (p + 1) are consecutive even integers. Among any two consecutive even integers, one is divisible by 4 and the other by 2. Therefore, their product (p - 1)(p + 1) contains a factor of 4 * 2 = 8.
2. Divisibility by 3: Since p is not divisible by 3, p mod 3 is either 1 or 2. If p ≡ 1 (mod 3), then p - 1 ≡ 0 (mod 3). If p ≡ 2 (mod 3), then p + 1 ≡ 0 (mod 3).

3.3 Spectral Matrix Theory — Condition Number & Orthogonal Invariance

Prompt: Theorem: For any real symmetric positive-definite matrix A with eigenvalues lambda_1 >= ... >= lambda_n > 0, kappa(A) = ||A||_2 ||A^{-1}||_2 = lambda_1 / lambda_n, and for orthogonal Q, kappa(Q A Q^T) = kappa(A). Proof: Since A is real symmetric, by the Spectral Theorem,

Arjuna-V1 Output:

A = U Λ U^T where U is orthogonal and Λ = diag(lambda_1, ..., lambda_n). The 2-norm of A is ||A||_2 = max_i |lambda_i| = lambda_1 (since all eigenvalues are positive). The 2-norm of A^{-1} is ||A^{-1}||_2 = max_i |1/lambda_i| = 1/lambda_n. Therefore kappa(A) = lambda_1 / lambda_n. For the invariance: Q A Q^T = Q U Λ U^T Q^T = (QU) Λ (QU)^T, which is a valid spectral decomposition. Since QU is orthogonal, ||Q A Q^T||_2 = lambda_1 and ||(Q A Q^T)^{-1}||_2 = 1/lambda_n, giving kappa(Q A Q^T) = lambda_1 / lambda_n = kappa(A).

3.4 Information Theory — Proof of Gibbs' Inequality (with <think> Reasoning Trace)

Prompt: Theorem (Gibbs' Inequality): Let P = (p_1, ..., p_n) and Q = (q_1, ..., q_n) be two discrete probability distributions with p_i > 0 and q_i > 0. Prove that D_KL(P || Q) = sum_{i=1}^n p_i log(p_i / q_i) >= 0. Proof: Using log(x) <= x - 1 applied to x = q_i / p_i:

Arjuna-V1 Output:

log(q_i / p_i) <= q_i / p_i - 1
<think>
The user wants me to prove Gibbs' Inequality (the non-negativity of KL divergence). They've started the proof by applying the fundamental inequality log(x) ≤ x - 1 to x = q_i/p_i. Let me continue and complete this proof properly.
Starting from: log(q_i / p_i) ≤ q_i / p_i - 1
Multiply both sides by p_i (which is positive, so inequality direction is preserved)...

3.5 Competitive Algorithms & Systems — INT4 Bit-Unpacking & $O(N \log N)$ Patience Sorting

def unpack_int4_symmetric_weights(w_packed: torch.Tensor, scales: torch.Tensor) -> torch.Tensor:
    M, half_K = w_packed.shape
    K = half_K * 2
    q_lo = (w_packed & 0x0F).to(torch.float16) - 8.0
    q_hi = ((w_packed >> 4) & 0x0F).to(torch.float16) - 8.0
    q = torch.stack([q_lo, q_hi], dim=-1).view(M, K)
    G = K // 64
    if scales.shape != (M, G):
        raise ValueError(f"Expected scales shape {(M, G)}, got {scales.shape}")
    q = q.view(M, G, 64)
    return (q * scales.unsqueeze(-1)).view(M, K)


def longest_increasing_subsequence_nlogn(nums: list[int]) -> int:
    import bisect
    tails = []
    for x in nums:
        i = bisect.bisect_left(tails, x)
        if i == len(tails):
            tails.append(x)
        else:
            tails[i] = x
    return len(tails)

4. Quickstart Guide (Kaggle 2x T4 / Google Colab / Local)

4.1 5-Line Standalone Python Quickstart (Zero Base Model Needed)

from huggingface_hub import hf_hub_download
import importlib.util

# 1. Download standalone SDK from shivrajgurjar/Arjuna-V1
sdk_path = hf_hub_download(repo_id="shivrajgurjar/Arjuna-V1", filename="modeling_arjuna.py")
spec = importlib.util.spec_from_file_location("modeling_arjuna", sdk_path)
arjuna_mod = importlib.util.module_from_spec(spec); spec.loader.exec_module(arjuna_mod)

# 2. Load all 64 layers across GPU 0 & GPU 1 and generate!
model = arjuna_mod.ArjunaV1ForCausalLM.from_hub("shivrajgurjar/Arjuna-V1")
response, speed = model.generate_text("Theorem (Cauchy's Residue Theorem):", max_new_tokens=160)
print(f"[{speed:.2f} tok/s]\n{response}")

4.2 Launching the Interactive Gradio Web UI (app.py)

pip install torch transformers safetensors triton gradio huggingface_hub
huggingface-cli download shivrajgurjar/Arjuna-V1 app.py modeling_arjuna.py configuration_arjuna.py --local-dir .
python app.py

4.3 Phase-2 Developer Hook (Resuming Residual Training / Optimization in Any Fresh Notebook)

# Unfreeze low-rank orthonormal Stiefel residual adapters in VRAM for Phase-2 RL/Distillation:
trainable_params = model.enable_residual_training(rank=64, target_layers=(15, 31, 47, 63))
optimizer = torch.optim.AdamW(trainable_params, lr=1e-4, weight_decay=1e-2)

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
ArjunaV1ForCausalLM
Ревизия весов
91e7f7e

0 моделей