Explore the research collection
69 entries · showing 49–69 · Follow this search
- Code
VBR: Variable Bit-Rate KV Cache for llama.cpp
spiritbuun llama.cpp fork (buun-llama-cpp) ships VBR as the default KV cache. Cache starts FP16 and degrades one (layer, side) tensor at a time down a price-ordered ladder (f16 → turbo8 → turbo4 → turbo3_tcq → turbo2_tcq → turbo1_tcq) using TurboQuant/TCQ codecs, following per-model KLD degrade tables. Default implicit VBR floors at turbo4; explicit -ct vbr opens the full ladder to t1. Budget is leftover VRAM after weights/compute; -c caps context so the budget is spent on quality instead of max length. CUDA-first with ROCm/HIP mirror. Related to TurboQuant (papers_local 606/640) but this is a dynamic controller, not a new codec paper.
- Code
MoonEP: A Perfectly Balanced Expert Parallelism Library via Dynamic Redundant Experts
Moonshot MIT EP communication library (Kimi K3 Open Day, with FlashKDA and AgentEnv). Hard invariant: every EP rank receives exactly S×K tokens regardless of router skew. An on-GPU planner duplicates a small set of experts from the current routing, prefetches their weights, and reduces duplicated grads back to home ranks. Zero-copy permute/unpermute writes tokens straight into expert-grouped remote buffers; static S×K shapes drop per-layer host sync and stop the fragmentation that OOMs DeepEP under imbalance. On H20 EP=8 vs DeepEP v2, comm time stays nearly flat as maxvio grows while DeepEP degrades, and e2e iteration time stays flat. Training prefetch slots B=E/R; inference can use B=3–4. NVIDIA GPU; Zhenwu PPU listed as coming. Cite moonep2026.
- Code
PageIndex: Vectorless, Reasoning-based RAG
VectifyAI open-source vectorless RAG: build a JSON table-of-contents tree (node_id, title, page range, summary, sub_nodes) and let the LLM reason which section to read next, following in-document references instead of embedding similarity. Aimed at long structured docs (SEC filings, legal, manuals). Mafin 2.5, a PageIndex-powered financial RAG, reports 98.7% on FinanceBench (full set) vs typical vector RAG ~30–50% in the authors’ writeups. Ecosystem: OpenKB, ChatIndex, ConDB, pageindex-mcp; hosted chat/API at pageindex.ai. MIT. Discord post is a third-party Simplifying AI recap, not the authors.
- Code
Hands-On Modern RL
walkinglabs/hands-on-modern-rl is VitePress courseware plus chapter labs: seven parts / 26 chapters from CartPole, MDPs, DQN, policy gradients, PPO, and offline RL into RLHF, DPO, GRPO, RLVR, reasoning models, tool-use/coding/browser/GUI agents, and VLM/audio/embodied RL, with safety/evaluation close. Equations sit next to compact PyTorch. CC BY-NC-SA 4.0. README flags AI-assisted drafting not yet fully reviewed. English translation and PDF via CI (2026-05-15).
- Code
Agent Reach
Panniantong/Agent-Reach is a CLI capability layer (not a wrapper scraper) that selects, installs, health-checks, and routes free backends so agents can read/search the web, YouTube, RSS, GitHub, Twitter/X, Bilibili, Reddit, Facebook, Instagram, XiaoHongShu, LinkedIn, V2EX, Xueqiu, and Xiaoyuzhou. Install by handing the agent docs/install.md; agent-reach doctor reports channel status. Zero-config paths for web/YouTube/RSS/public GitHub/Bilibili search; login-gated platforms use user-exported cookies or OpenCLI Chrome sessions (cookies stay local). MIT. Python >=3.10. Works with Claude Code, OpenClaw, Cursor, Windsurf. README: no affiliated token/crypto project.
- Code
Scaling Automated Post-Training
Figures-only companion to Intology blog Scaling Automated Post-Training. Locus (updated automated research system) scores 44.7 on official PostTrainBench vs Claude Code (Fable 5) 41.8; under PostTrainBench+ reaches 51.6% composite vs the human-tuned Qwen3-1.7B-Instruct checkpoint at 49.4%; AIME 2025 20% (double next baseline) with clearer scaling vs training-token count; more unique approaches per benchmark; higher peak average rank than other competitors on live prize-money Kaggle competitions with public leaderboards; Bubble production model ~2.8x lower error, ~5.4x lower latency, 105x lower cost vs legacy. Full solutions and artifacts marked to follow. MIT.
- Code
KTransformers
kvcache-ai/ktransformers is a CPU-GPU hybrid inference/SFT framework (MADSys Tsinghua / Approaching.AI / 9#AISoft). Current tree exposes kt-kernel serving (AMX/AVX INT4/INT8, NUMA-aware MoE, hot-GPU/cold-CPU experts, SGLang integration) and LLaMA-Factory SFT/DPO for ultra-large MoE on limited VRAM. README: DeepSeek-R1/V3 on a single 24GB GPU plus large DRAM; SFT DeepSeek-V3 ~80GB / 3.7 it/s on 4x RTX 4090, claimed 6-12x vs ZeRO-Offload in their MoE SFT benches. SOSP 2025 paper: AMX kernels, async CPU-GPU scheduling, Expert Deferral (CPU util <75% to ~100%, up to 1.45x extra throughput, <=0.5% avg accuracy drop). Apache-2.0. Docs site kvcache-ai.github.io/ktransformers.
- Code
LingBot-Vision
Robbyant/lingbot-vision ships LingBot-Vision, a family of self-supervised ViT backbones (S/16, B/16, L/16, g/16) for dense spatial perception. A ~1.1B ViT-g/16 teacher is pretrained with masked boundary modeling (boundary-centric masked targets that keep spatial structure plus semantics) and distilled to L/B/S. Drop-in encoder for PCA feature maps, depth, semantic/video object segmentation, and as the encoder init for LingBot-Depth 2.0 (RGB-D corpus scaled 3M to 150M in the tech report). Backbone-only .pt checkpoints on HF/ModelScope. Apache-2.0. Paper arXiv 2607.05247.
- Code
nanochat
RiddleHe/nanochat forks karpathy/nanochat into two hackable frameworks: nanochat/ for pretraining architecture variants (boolean flags in gpt_base.py, model_registry.py, torchrun scripts/base_train.py, DCLM CORE eval via scripts/base_eval.py) and nanorl/ for RL objective-function ablations (ALGORITHMS in nanorl/loss.py, vLLM rollout worker synced to a torchrun trainer). Ablations.sh runs d12/d24 FLOP-budget batches and skips existing checkpoints. MIT. Cite: Muyu He, Yuchen Liu 2026 (nanochat-arch).
- Code
ml-intern
huggingface/ml-intern is a CLI/agent (smolagents lineage) that reads HF docs/papers/datasets, writes training code, and can run bash/read/write/edit locally or opt into HF Space sandbox tools and HF Jobs. Hosted inference goes through HF Inference Providers (HF_TOKEN); local models via LiteLLM prefixes ollama/vllm/lm_studio/llamacpp. Sessions auto-upload as Claude-Code-style JSONL traces to a private {user}/ml-intern-sessions Hub dataset (HF Agent Trace Viewer). Slack one-way notifications. Agentic loop max 300 iterations with 170k auto-compaction and a doom-loop detector. Apache-2.0. Python >=3.11. pip/uv tool install from the repo.
- Code
NITP
Landing page for Next Implicit Token Prediction (NITP, ICML 2026): keep NTP and add a cosine-alignment loss so the projected final hidden state at t predicts a stop-gradient shallow-layer representation of token t+1 (the implicit token), with the projection head discarded at inference. README: denser latent supervision without extra data, encoders, or backbone passes; higher effective rank and less last-state cosine collapse vs NTP. MoE 1.9B-A0.3B to 9B-A1B (9B-A1B average 40.27 to 42.94; MMLU-Pro / C3 / CommonsenseQA / ARC-Challenge / GSM8k gains) and dense 0.5B-3B; frozen 3B MoE mean-pooled last-layer reps improve 23/25 English MTEB tasks (overall 39.24 to 41.56). About 2.3% training FLOPs / 1.8% wall-clock in a 5k-step 9B MoE run; zero inference overhead. Implementation code still marked coming soon.
- Code
nanowhale
huggingface/nanowhale ports DeepSeek-V4 (MLA, 4+1 MoE with top-2, Hyper-Connections hc_mult=4 / Sinkhorn, MTP) into HF Trainer/SFTTrainer at hidden 320 / 8 layers / vocab 129,280 / ctx 2048 (~110M params: 41M embed + 69M non-embed). Pretrain 5K steps on FineWeb-Edu (~2.6B tokens, final loss ~5.3, 1×H100) then 3K-step SmolTalk SFT. Checkpoints on HF as cmpatino/nanowhale-100m-base and cmpatino/nanowhale-100m. README flags bf16 NaNs from Hyper-Connections at this scale (use fp32) and a from_pretrained re-init quirk. README license MIT; GitHub API has no SPDX (no LICENSE file). Companion HF base card is Apache-2.0.
- Code
The Geometry of Consolidation
NeurIPS 2026 submission (third paper in a meaning-memory trilogy after The Price of Meaning and The Geometry of Forgetting). When a store replaces n cluster members with m<n representatives, identity error is lower-bounded by 1 - c1 m (θ'/d̄)^(d_eff/2) whenever the retrieval-cap half-angle θ' is smaller than mean within-cluster cosine distance d̄. GAC routes tight clusters (d̄ < θ') to the centroid and spread clusters to a residual-budgeted medoid; README claims Pareto dominance vs centroid/medoid/importance/selective-prune/PQ/OPQ/LSH/HNSW-prune across 6 encoders × 7 corpora × 10K→1M. Repo has paper/arxiv (48 pp) and paper/neurips, pip-installable gac/, experiments E1–E9, and results parquet. MIT. No public arXiv abs id yet (README cites arXiv submit/7412286 and submit/7411865 for the sister papers).
- Code
ARC Lang Solver
jerber/arc-lang-public generates instruction programs for ARC-AGI grids, scores them by leave-one-out application on training examples (another LLM call follows the instructions onto the grid), then revises top instructions (StepRevision) or synthesizes a pooled plan (StepRevisionPool) before emitting up to two diverse test-grid guesses. Async orchestration with a monitored API semaphore; presets for Grok, GPT, mini, and open-source providers. Optional Neon/Postgres persistence of instruction scores. Bundles public ARC-Prize JSON under data/. No LICENSE / SPDX on the GitHub API. Python ≥3.10 (Ruff target 3.12).
- Code
ReZero
ReZero (Retry-Zero) adds a reward_retry term to GRPO so the policy is paid for issuing a later search query after an unsuccessful first attempt, but only if the trajectory still emits a well-formed final answer. Paper arXiv 2504.11001: Llama-3.2-3B-Instruct on Apollo 3 mission chunks (341 chunks / 32 held-out) peaks at 46.88% accuracy vs 25% without the retry reward (1xH200). Repo trains via train_grpo.py, ships data/ plus a Gradio demo, and points to Menlo/ReZero-v0.1-llama-3.2-3b-it-grpo-250404 (and GGUF). GitHub menloresearch/ReZero redirects to janhq/ReZero. No LICENSE file on the repo; arXiv Atom API states no license.
- Code
n8loom
Python library (mlx_lm + Transformers) that stores per-node KV-cache fragments and concatenates the ancestor path when generating, so many ToT branches can share prefix cache without duplicating the full prompt cache at each node. Core types are Heddle (a reasoning node) and Loom (chat-root Heddle); ramify/crown helpers batch- or stream-expand children. Llama-architecture only. pip install n8loom; optional FastAPI example server. CC0.
- Code
Recursive Language Models
Replaces llm.completion with rlm.completion: the prompt lives in a CodeAct-style REPL that the model can inspect, decompose, and recurse into via sub-(R)LM calls. Paper arXiv 2512.24601: process inputs up to two orders of magnitude beyond the base context window. pip install rlms. Sandboxes: local, ipython, docker, modal, prime, daytona, e2b. Training via verifiers + prime-rl (OOLONG example). Maintained by the paper authors at MIT OASYS. MIT license.
- Code
turbovec
Rust index with Python bindings for TurboQuant (arXiv 2504.19874, ICLR 2026): data-oblivious 2/4-bit quantization and no separate train step. README: 10M float32 docs ~31 GB → ~4 GB. Hand-written SIMD (NEON SDOT/SMMLA, AVX-512 VNNI) beats FAISS IndexPQFastScan in measured configs (~3.4× at 4-bit). Incremental crash-safe sync, allowlist-filtered search, and LangChain/LlamaIndex/Haystack/Agno drop-ins. PyPI and crates.io.
- Code
gpt4free
The official gpt4free repository | various collection of powerful language models | opus 4.6 gpt 5.3 kimi 2.5 deepseek v3.2 gemini 3 (66468 stars; written in Python)
- Code
awesome-public-datasets
A topic-centric list of HQ open datasets. (77174 stars; written in unknown language)
- Code
nus-sms-corpus
Due to some technicial problems, the NUS SMS Corpus website [http://wing.comp.nus.edu.sg/SMSCorpus](http://wing.comp.nus.edu.sg:8080/SMSCorpus) is temporally unavailable. For your convenience, we upload the most recent release (Mar 9, 2015) of the corpus here. (130 stars; written in unknown language)