Explore the research collection
54 entries · showing 1–24 · Follow this search
- Code
Bergson: An Open Source Library for Data Attribution
Open-source library (EleutherAI) unifying data attribution methods for LLMs across compute budgets. Implements MAGIC, SOURCE, EK-FAC, ASTRA, and TrackStar — the first open-source implementations of MAGIC, SOURCE, and TrackStar. Finetuning leaderboard: MAGIC tops (0.931), EK-FAC and ASTRA are both fast and accurate, SOURCE excels at multi-stage runs; TrackStar's efficient approximate scores enable cheap pretraining attribution via two-stage retrieval (amortize costs with on-disk gradient stores and ANN indices, then refine top scores with a more precise method). Also supports token-level attribution (claimed 10x data-filtering performance gain), GRPO rewards for attributing model behaviors, and optimizations like bucket batching and multi-node support. Answers 'how do LLMs generalize / why do they become misaligned?' by looking at the training data. Relevant to the user's LLM training setups (dataset curation, debugging misalignment) and GRPO work.
- Code
Hyper-Connection Factory
Open-source repo with unified implementations of 11 residual-connection variants for decoder LLMs (HC, mHC, Frac, DenseFormer, MUDDFormer, LAuReL, AttnRes, MHAR, DAR) behind a single interface on one shared transformer body — same attention/MLP, init, data, optimizer, schedule, so differences are due to wiring alone. Trains with one recipe from 38M to 1.2B params at ~20 tokens/param on FineWeb-Edu (8xH100; checkpoints, configs, sweep scripts, logs, plots all in repo). Key result: what survives scale is dynamic, input-dependent mixing — MUDDFormer best at every size (Δ val loss vs pre-norm: -0.112 S / -0.070 M / -0.071 L / -0.061 XL); mHC and dynamic HC shrink smoothly but stay positive; static HC's gain fades at M then recovers at L with depth. Gotchas: plain MUDDFormer diverges at 24 layers (fixed by PrePostDANorm, previously only in the paper's JAX code); small-scale rankings don't transfer (mHC looked worse than pre-norm on laptop but is among the best on GPU); fancy variants train at ~0.5x pre-norm throughput. Single seed at L/XL. Relevant to the user's LLM pretraining and Launch Helm work.
- Code
KohakuFA: Attention Kernel with Fixed Backward-Pass Precision
New attention kernel claiming severe backward-pass precision bugs in cuDNN SDPA, FlashAttention-4, and flex attention: when attention logits get huge (DINOv3 reportedly hits ~1e5 out of the box), backward gradients can be wrong by 10-1000x or become inf, while forward and loss look completely normal — so instability surfaces only late in training when reruns are expensive. Implication: some reported fp16 instability, QKNorm benefits, or 'failed runs' may be kernel artifacts, not model-design flaws. KohakuFA fixes 3 precision bugs, keeping gradients at the fp16 error floor for ~5% extra cost; fast for ViT/DiT/video. Figures: DINOv3 ViT-B/16 fine-tuning backward error over training — FA4 highest error (~0.05-0.6), KohakuFA tracks the fp64 correct-kernel floor; whole-model fp16 gradient vs fp64 across 50k-200k steps — cuDNN SDPA gradients collapse after ~100k-125k steps (cosine→0, relative error >10x), KohakuFA stays near-correct. Blackwell (SM100) only for now; sm120 support planned (flex attention reportedly has the same issue on sm120). Directly relevant to user's training-run debugging (CUDA OOMs aside, kernel-precision bugs are the same class of hard-to-diagnose training instability).
- Code
Parallax (Parameterized Local Linear Attention) — official code
Repo for Parallax: parameterized local linear attention that replaces Softmax Attention's per-query linear solve with a learned probe. Integrates with flash-linear-attention and Modded-NanoGPT-plx. Paper already cataloged as id 516 under a different mid; this row covers the Discord message's GitHub URL.
- Code
unpuzzles_and_simple_reasoning (DeepMind eval data + grading code)
Official DeepMind repo for the unpuzzles paper (already papers_local id 688 under a different Discord mid). Three JSON eval sets: procedurally generated simple reasoning (~1120 questions / 5 categories), 97 original/unpuzzled pairs, and 69 context-shifted unpuzzle sets, plus notebooks to extract/grade model answers.
- Code
motion-video-kit (Claude Code skill kit for AI-assisted business videos)
A Claude Code skill (also usable as plain context for any LLM) for making premium, launch-style commercials for real businesses with AI-generated footage, code-built motion (HTML/GSAP), selective Three.js, and an independent-critic quality loop. Packages lessons from studying 28 professional SaaS launch films plus two full sample commercials built through dozens of critique rounds. Contents: the Gauntlet loop (builder != judge, fresh critics on actual renders, item-by-item verification); a motion grammar of six rules and 16 reusable mechanisms; a measurable quality bar (frozen time, loudness, contrast, brand colour); audio rules (music matched to the buyer's customer, sparse SFX, mix targets); a business playbook (verticals, price anchors, pilot-offer template); Three.js patterns (deterministic seekable scenes, exploded layers, projected callouts); product-hero realism techniques; scripts for frozen-time/loudness measurement, contact sheets, and offline mixing. Best with HyperFrames for rendering but renderer-agnostic. 294 stars, 28 forks, 6 commits as of the read.
- Code
xBridges
Checkpoint conversion, serving, and evaluation toolkit for xLLM. Converts tensor-parallel xLLM checkpoints to Hugging Face format (K2HorizonForCausalLM, BF16 safetensors) and back, with multi-node Slurm support; validates conversions by comparing per-token logprobs between xLLM and HF on the same document; registers K2 Horizon with vLLM 0.24, launches multi-node Ray+vLLM servers on Slurm, and runs lm-eval against them.
- Code
xattn
Efficient attention modules for the xLLM framework, with Python APIs for use in other PyTorch projects. Features high-precision FP32 attention output state for backward (reducing BF16 gradient error) and flexible segment-aware masking (segment IDs or BOS masks) for packed sequences. Supports causal Flash Attention, sliding window, sliding chunk, and SoftDelta attention variants; FP16/BF16 inputs; MHA, GQA, and MQA.
- Code
NVIDIA Model Optimizer (ModelOpt)
NVIDIA's unified open-source library of state-of-the-art model optimization techniques — post-training quantization, quantization-aware training/distillation, pruning, distillation, neural architecture search, speculative decoding, and sparsity. Takes Hugging Face, PyTorch, or ONNX models and exports optimized quantized checkpoints ready for TensorRT-LLM, TensorRT, vLLM, or SGLang deployment.
- Code
xLLM: Light-weight infrastructure for express LLM pre-training
Apache-2.0 PyTorch framework for long-context LLM pretraining supporting dense, MoE, and MoVA architectures, with FSDP1/FSDP2, data/model/context parallelism, custom CUDA kernels, FlashAttention, online tokenization and packing, evaluation, HuggingFace export, and vLLM support.
- Code
FrontierAgent
Open-source (Apache 2.0) agent runtime, terminal TUI, and evaluation suite for long-horizon research and file-based work, released alongside the Apodex-1.1 model. Ships two workflows: ReAct (one stateful agent in a task-scoped sandbox) and Agent Team (coordinator delegating to parallel sub-agents). Installs with one command on macOS/Linux with no Docker dependency; the same engine powers Apodex's model benchmark runner.
- Code
OpenBMB/MiniCPM
Official open-source repository for the MiniCPM family of small language models (MiniCPM5, MiniCPM4/4.1, MiniCPM-SALA, BitCPM4). Provides model downloads across Hugging Face and ModelScope in many formats (BF16, GGUF, MLX, GPTQ), quickstart guides for vLLM/SGLang/llama.cpp/Transformers, fine-tuning and deployment cookbooks, and agent skills. 11,325 stars, Apache-2.0 licensed, created 2024-01-29.
- Code
AI4AI-Bench
Official implementation of the AI4AI-Bench benchmark for recursive self-improvement via training-algorithm design. Ten tasks span generation, alignment, reasoning, unlearning, pruning, RL, reward modeling, and model merging. Each run separates open-ended exploration (up to 4h, agent produces a source patch) from reproducible measurement (fresh formal retraining up to 12h, up to 3 checkpoints, frozen validation and final evaluation). Apache-2.0; 41 stars, 3 forks as of late September 2026.
- Code
Block Delta Memory (BDM): Sparse Recurrent Memory with Dense Execution
Block Delta Memory (BDM) is a recurrent sequence mixer that routes each token via an SDM-style product-key router to a sparse subset of small GDN2 memory banks, then updates selected banks as dense matrix states with a shared GDN2 controller (route-weighted decay/erase/write). On WikiText-103 (~15–17M, N=2048/K=64) BDM roughly matches attention on Adaptive Recall (span/overwrite/one-hop ~97–99% exact) with LM NLL near attention/SDM; H200 sweeps show decode nearly flat as capacity grows N=T, ~2× faster than SDM and within ~1.2–1.6× of GDN2. No arXiv; GitHub README+code.
- Code
Monty v1 — Pydantic Python sandbox (OSS)
Pydantic Monty v1 announce by Samuel Colvin (2026-09-25): Rust-written minimal Python sandbox for AI-generated code (Ruff parser + own bytecode VM; not CPython). OSS Monty is MIT-installable (pydantic-monty on PyPI, @pydantic/monty on npm, monty-pool on crates); Full Monty is the commercial WebSocket service. Tweet claims ~1 ms start (vs ~1.5 s) and 10k sandboxed scripts in 674 ms (claimed vs >3 h cloud sandbox). Docs latency table: OSS Monty ~0.80 ms new sandbox + ~0.40 ms for 10 REPL commands (~1.20 ms combined) vs ~1900 ms for a typical sandboxing service. Features: worker-pool crash isolation, dump/resume snapshots, host function exposure, ~2 MB workers, multi-round Hack Monty bounty. Explicit non-goal for now: installing PyPI packages inside the sandbox. Intended for agent code-mode; planned for Pydantic AI. Docs mark v1.0.0 production-ready. Repo ~8282 stars / 421 forks at catalog. X ~188 likes / 16 RTs / 133 bookmarks / ~9533 views.
- Code
Scenario Agent Skills (scenario-labs/skills)
MIT pack of 65 Agent Skills (agentskills.io / skills.sh SKILL.md format) for Claude Code, Cursor, Codex, Copilot, and 70+ agents. Teaches production-ready image, video, audio, texture, skybox, 3D, and custom-model workflows through the Scenario MCP server (https://mcp.scenario.com/mcp; OAuth or API key). Core skill covers discover→schema→run→wait→display→download; siblings cover inspiration/moodboards, game art, Seedance music-video/storyboard pipelines, ads/UGC, consistency + model training, quality gate/refine loops, workflow authoring (incl. Weavy/ComfyUI migration), team admin, and deep model-family guides (GPT Image, Seedream, Veo, Kling, Meshy, ElevenLabs, etc.). Install: `npx skills add scenario-labs/skills --skill "*"`. ~72★ at catalog; release skills-v0.47.0 (version.txt 0.47.0).
- Code
tev1 — Together open recipe to fine-tune a Jev-inspired decision model
MIT-licensed repo for tev1-4B-experimental: fetch_sources.py + build_all.py assemble new-v1 instruction JSONL (37,840 train / 4,568 val) from public HF classification datasets plus synthetic policy/routing/research taxonomy; examples/train_together.py uploads and launches Together LoRA FT; examples/decide.py and scripts/evaluate.py for inference/eval. Proposed recipe rank 8 / 1 epoch / lr 5e-5 / 2048 context. Documents that this is independent Jev-inspired work with no Jev answers as labels. Companion blog and HF model announced 2026-09-23.
- Code
facebookresearch/RLCD (official reproduction code)
Official code for arXiv 2307.12950: simulate preference data (rlcd / rlaif / context distillation / rlcd_rescore variants), train reward model, PPO, generate evals. Built around LLaMA-7B alignment; data gen supports larger LLaMA. Harmless/helpful prompts from Anthropic hh-rlhf; outline prompts omitted for legal reasons.
- Code
Jevlike: one-pass option scorer (independent Jev-shaped starter)
Independent MIT-licensed research starter: each option becomes a query attending over context tokens; shared scorer + softmax across options (not token-by-token generation). Default learns byte embeddings; optional frozen HF encoder (e.g. Qwen2.5-0.5B) + small trainable head (--rank). Variable-N JSONL menus with label index. Reports ~98% on synthetic menus; Wikispeedia next-click ~26–29% vs ~8% shuffled/random controls; ~100× faster than forcing a small decoder to write 400 tokens at 8 options. Also ships vision option-attention for Doom (7 buttons) and chess controllers with joint/imitation checkpoints. Explicitly not a Jev clone / does not reproduce TypeSafe RLCD.
- Code
Verification (wang-research-lab/verification)
Wang Research Lab verification repo supporting budget-aware test-time scaling / discriminative verification (see arXiv 2510.14913).
- Code
ImpossibleBench (safety-research/ImpossibleBench)
ImpossibleBench: evaluates whether models exploit flawed tests rather than solving tasks; pairs with arXiv 2510.20270.
- Code
RegressLM (google-deepmind/regress-lm)
DeepMind RegressLM: text-to-text regression over code/graphs for predicting numeric metrics from structured inputs.
- Code
Awesome JEPA (AbdelStark/awesome-jepa)
Awesome-list README verified June 2026 attributions against primary sources. Covers foundations (LeCun 2022), Meta FAIR core line, theory (LeJEPA/SIGReg), domain variants, robotics/planning, HF checkpoints, and physical-reasoning benches (IntPhys 2, MVPBench, CausalVQA). CC0.
- Code
MolmoAct2: Action Reasoning Models for Real-world Deployment
Ai2 follow-on to MolmoAct. Molmo2-ER embodied-reasoning VLM plus robot state/action modeling and a flow-matching action expert. Releases foundation checkpoints (MolmoAct2, MolmoAct2-Think with depth-token reasoning, MolmoAct2-Pretrain discrete VLA, Molmo2-ER), finetunes for DROID Franka, bimanual YAM, SO-100/101, LIBERO, and LeRobot v3 datasets (SO-100/101, DROID, BC-Z, Bridge, RT-1, MolmoAct, plus Molmo2-ER spatial/3D data). Integrated into LeRobot (molmoact2-policy). FastAPI act servers for DROID and YAM. Paper arXiv 2605.02881. Apache-2.0; research/educational use per Ai2 Responsible Use Guidelines. Hardware-safety warnings on the README.