Askos V1 Mini Full (2.89B)
Askos V1 Mini Full is a compact, high-efficiency 2.89B-parameter bilingual (English & Korean) language model developed by AhnJihunAI Labs.
Built on AhnJihunAI Labs' proprietary hybrid sparse architecture and low-cost training pipeline, Askos V1 Mini Full was developed end-to-end on a total compute budget of under $30 USD—combining long-context reasoning (<|think|>), bilingual fluency, low over-refusal, and full-precision streaming inference via the built-in FASTX runtime.
Architecture Overview
Askos V1 Mini Full departs from conventional dense transformer designs through a proprietary multi-regime computational topology developed at AhnJihunAI Labs:
- Hybrid Sequence Dynamics: Combines lightweight recurrent state propagation with selective global attention anchors, enabling long-context modeling (
65,536tokens) with minimal memory growth. - Conditional Sparse Computation: Dynamically activates only a small subset of specialized computational pathways per token, maintaining compact active compute while preserving broad model capacity.
- Adaptive Reasoning Depth: Supports controllable multi-pass latent refinement during generation, allowing users to trade off latency and reasoning depth at inference time.
- Structured Parametric Memory: Integrates auxiliary associative recall pathways alongside the core backbone to stabilize factual grounding and conversational consistency.
- Native Full-Precision FASTX Runtime: Includes lossless inference-time operator caching, prefix-state reuse, and incremental UTF-8 streaming built directly into the model code—preserving the original unquantized weights without degradation.
(Specific internal formulations, structural hyperparameters, and calibration procedures remain proprietary to AhnJihunAI Labs.)
Highlights
- Under $30 Total Training Cost: Trained and aligned end-to-end for < $30 USD in total GPU compute.
- Compact & Sparse Compute:
2.89Btotal parameters (5.78 GBnative BF16 checkpoint) with sparse per-token activation. - Bilingual Reasoning (
EN/KO): Native 64K context window, 65,536-token bilingual vocabulary, and structured<|think|>reasoning traces. - Lossless FASTX Streaming: Real-time token streaming (
stream_chat/stream_generate), automatic system-prompt prefix caching, and standard Hugging Facegenerate()/TextStreamercompatibility—100% unquantized full precision. - Open License & Clean Data: Released under Apache 2.0 with multi-layer benchmark decontamination (
decontamination_audit.json).
Benchmarks & Observed Evaluation Metrics
Model Profile
| Metric | Value |
|---|---|
| Total Parameters | 2.89B (2,889,345,304) |
| Total Training Compute Cost | < $30 USD |
| Context Window | 65,536 tokens |
| Languages | English & Korean |
| Checkpoint Size (BF16) | 5.78 GB (model.safetensors) |
| License | Apache 2.0 |
Observed Disjoint Held-Out Evaluation (Bilingual EN/KO)
The metrics below were directly measured on strictly disjoint held-out bilingual evaluation sets before and after final alignment/calibration:
| Evaluation Metric | Pre-Alignment Baseline | Final Checkpoint (model.safetensors) | Improvement |
|---|---|---|---|
| Disjoint Held-Out Perplexity (PPL) (lower is better) | 83.51 | 22.42 | -73.15% |
| False Over-Refusal Probability (lower is better) | 4.98% | 0.48% | -90.37% |
| Helpful Compliance Score (higher is better) | 0.013 | 0.717 | 54.5× |
| EN Reasoning 4-Gram Repetition (Live Audit) | 13.33% | 0.00% | -100% |
| Benchmark Decontamination Audit | — | Verified (decontamination_audit.json) | 3-layer filtered |
Note: Full standardized external blind benchmark suites (MMLU, GPQA-Diamond, HumanEval, GSM8K, etc.) are scheduled for evaluation and will be added to this table upon completion.
Quickstart & Execution Guide
Installation
pip install -U torch transformers accelerate safetensors
1. Recommended: FASTX Real-Time Streaming (stream_chat)
Load the native unquantized bfloat16 checkpoint on both CPU and CUDA GPU, then call model.enable_fastx() to pre-warm lossless runtime caches:
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
repo_id = "AhnJihunAILabs/askos-v1-mini-full"
use_cuda = torch.cuda.is_available()
tokenizer = AutoTokenizer.from_pretrained(repo_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
repo_id,
trust_remote_code=True,
dtype=torch.bfloat16,
device_map="auto" if use_cuda else "cpu",
low_cpu_mem_usage=True,
)
model.eval()
# Pre-warm lossless full-precision FASTX runtime caches (no quantization)
if hasattr(model, "enable_fastx"):
model.enable_fastx()
messages = [
{"role": "user", "content": "Explain why binary search runs in O(log n) time with a short Python example."}
]
for chunk in model.stream_chat(
tokenizer,
messages,
max_new_tokens=512,
do_sample=False,
repetition_penalty=1.1,
max_icmrc_hops=1, # 1 = fastest default, 2-3 = deeper multi-step reasoning
enable_thinking=True, # Enables <|think|> reasoning trace
):
print(chunk, end="", flush=True)
print()
2. Standard Hugging Face generate() & TextStreamer
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM, TextStreamer
repo_id = "AhnJihunAILabs/askos-v1-mini-full"
use_cuda = torch.cuda.is_available()
tokenizer = AutoTokenizer.from_pretrained(repo_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
repo_id,
trust_remote_code=True,
dtype=torch.bfloat16,
device_map="auto" if use_cuda else "cpu",
low_cpu_mem_usage=True,
)
model.eval()
if hasattr(model, "enable_fastx"):
model.enable_fastx()
messages = [{"role": "user", "content": "광합성에서 명반응과 암반응의 관계를 알기 쉽게 설명해줘."}]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True) + "<|think|>\n"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
streamer = TextStreamer(tokenizer, skip_prompt=True, skip_special_tokens=False)
with torch.inference_mode():
_ = model.generate(
**inputs,
streamer=streamer,
max_new_tokens=512,
do_sample=True,
temperature=0.6,
top_p=0.9,
repetition_penalty=1.1,
max_icmrc_hops=1,
)
3. Local Interactive CLI (oneshot_cure_and_chat.py)
This repository includes a ready-to-run streaming CLI with live TTFT and tokens/sec telemetry:
# Default full-precision FASTX mode (CPU / CUDA BF16)
python oneshot_cure_and_chat.py
# Deeper reasoning mode
python oneshot_cure_and_chat.py --hops 3 --max-new-tokens 512
# Single prompt execution
python oneshot_cure_and_chat.py --prompt "Write a clean Python merge sort implementation."
License
Released under the Apache License 2.0. See LICENSE for full details.