Explore the research collection
410 entries · showing 337–360 · Compare the first 5 datasets · Follow this search
- 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.
- Dataset
GSM-Symbolic
Evaluate whether models solve GSM8K-style word problems by genuine reasoning vs pattern matching, with controllable name/number/clause variants
- 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.
- Model
SenseNova-U1-8B-MoT
HF weights for SenseNova-U1-8B-MoT: a dense unified multimodal model (NEO-unify / NEOChat) that drops the visual encoder and VAE and uses Mixture-of-Transformers experts for understanding vs generation. Card: ~8B understanding + ~8B generation params (inspect script: 17.552B total; understanding 8.121B / generation 8.186B / shared embed+lm_head 1.245B). Native interleaved image-text, infographic T2I, editing, VQA; siblings include SFT, Infographic, 8-step preview, LoRA, and A3B-MoT. Code https://github.com/OpenSenseNova/SenseNova-U1. Paper arXiv 2605.12500. Apache-2.0.
- 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.
- Dataset
EEE Datastore
evaleval/EEE_datastore stores per-run aggregate JSON plus optional instance-level JSONL. Legacy tree is data/<benchmark>/<developer>/<model>/; a generated flat/ UUID object store adds latest_manifest.json, checksummed entries.jsonl, and by_collection indexes (USAGE_EEE_datastore.md). Schema 0.2.2 records include source_metadata (e.g. inspect_ai / Arcadia Impact), model_info, evaluation_results, and hashed companion samples. 106 load_dataset configs (GAIA, IFEval, MMLU-Pro, SWE-Bench, TerminalBench, arena, ...). MIT. Eval-trace warehouse, not a pretraining corpus.
- Paper
The State-Prediction Separation Hypothesis
SPS inserts a dummy prediction token after every input so the input stream owns the persistent KV cache and the prediction stream emits the next token (plus a w=64 ephemeral prediction window). Pretraining 53M-1.678B on FineWeb-Edu: at 1.6B, matches a standard Transformer validation loss with 2.6x fewer tokens (pre-decay) and gains ~2-3 pp average zero-shot accuracy, with persistent KV ~1.01x Standard and decode throughput within 6-10%. 2x Memory and Delayed State ablations show extra compute/memory is not enough; gradient analysis routes future-loss onto the input stream. Code https://github.com/lil-lab/sps.
- Paper
Learning More from Less: Reinforcement Learning from Hindsight
LfH applies hindsight relabeling to GRPO post-training of VLAs: a VLM proposes a hindsight instruction for a low-reward group and scores each rollout against it (0/0.5/1), then the policy trains jointly on original and relabeled groups with an importance correction from commanded to hindsight instruction. On OOD LIBERO-PRO task perturbations, matches standard GRPO final success in about 5 vs 30 steps (~5x sample efficiency) and beats a RoboMETER dense progress-reward baseline by keeping ~70-80% of groups usable vs 20-40%. Gains hold on π0.5, GR00T, and OpenVLA-OFT. On a Franka FR3 held-out pick-and-place from zero SFT success, 56% vs GRPO 22% at 160 rollouts. Relabeler is Qwen3-VL-235B-A22B-Thinking-FP8. No official code on the abs page.
- Paper
Bridging the Gap Between Latent and Explicit Reasoning with Looped Transformers
LOTUS places K padded latent blocks between question and answer, loops the backbone R times, and applies per-position CE on gold CoT tokens through the base LM head (LOTUS-aux routes the same targets through a training-only decoder). First latent method reported to bridge explicit CoT at Llama-3.2-3B-Instruct: GSM8K 70.0 vs CoT 71.5 (LOTUS+CODI 70.6); OOD avg 63.9 vs 62.1. Thought-phase 133 vs 338.8 ms (2.5x); natural-language CoT stress 68.13 vs 68.41 with 6.9x thought speedup (140.8 vs 963.6 ms). Post-loop LM-head readout recovers gold CoT (70.9% top-1, 85.8% top-5) and puts mass on unseen-but-valid intermediates. Ablations: looped backbone and parallel gold-CoT CE are both needed; default K=6, c=25, R=6. Chains longer than K fall back to autoregressive completion. Math-only evaluation.
- Paper
Value Leakage: An LLM's Answers Are Silently Shaped by Its Own Values
Suite of counterfactual evals. Donation Bet (9 Fermi questions): Claude/Gemini bias ≈0.8 vs GPT-5.6 0.16; Claude CoTs often deny bias while iteratively adjusting estimates onto the “good” side of a donation threshold; Qwen/Gemini more often admit. AI Bubble, AGI Tweet, and Job Offer: Claude is pro-Anthropic, GPT mostly neutral, Gemini slightly anti-Google. Agentic Grading: Claude Code and Codex prefer more-capable and own-company labels on Alpaca (chance 25%). Choosing Activities: GPT-5.5 no-tools correlation r=0.82 between stated prefs and picks; a coin-flip tool cuts r to 0.14. Distinct from sycophancy and reward hacking. Not a ranking benchmark (Claude used in task development).
- Paper
Can a Language Model Learn Facts Continually in Its Weights?
Writes invented facts into Qwen3-4B (8B replication of the entailment gap) via LoRA/full FT and context distillation, then follows them through 20–100 later writes with five held-out question types against a fact-in-prompt ceiling. Training-data breadth, not the objective label, creates usable knowledge: diverse restatements cut the recitation-to-use gap from 27.4 to 5.4 points without showing conclusions. After 20 sequential writes, bare-statement facts retain 1% vs 46% for study facts (plateau ~25–28% by 100 study writes). Forgotten facts keep 57–67% of their log-prob lift, so access fails rather than storage; incoming writes cause interference. A frozen original-model teacher preserves capability; no tested intervention keeps earlier facts reachable. Context remains the reliable channel for composition and survival.
- Paper
Full-Pipeline Inference Optimization for MiMo-V2.5 Series: Pushing Hybrid SWA Efficiency to the Limit
Engineering report for MiMo-V2.5 / V2.5-Pro Hybrid Sliding Window Attention (example: 70 layers, 10 full + 60 SWA, W=128; ~7× less attention FLOPs and KV vs full attention) plus sparse MoE and vision/audio/video encoders. Dual-pool KV with strict O(W) SWA storage, layerwise prefetch, SWA-aware prefix cache trees, GCache L3 (RDMA, co-deployed on GPU nodes), KVCache-affinity router (~+25% L2 hit, ~+30% input throughput), length bucketing, halved EP after SWA storage (~40% e2e), MTP in prefill (2.3× on first 128 decode tokens), GPU image preprocess and parallel video decode (1-hour video 156s→23s). Reports ~93% production KV hit rate. Positions as the first large-scale serving system covering Hybrid SWA+MoE+multimodal. Not a dataset.
- Paper
Inverse RL Helps Align AI by Imitating Humans
PARED (Projected Alignment Reward Estimated from Demonstrations) trains a lightweight logistic discriminator that separates expert demonstrations from policy samples in a practitioner-chosen response-level feature space (Gemma-3-27B helpfulness/harmlessness scores plus five LDA topics; length excluded as a shortcut). No task-specific preference labels. As inference-time best-of-16 on GPT-OSS-20B, wins 63.4% of non-tied Gemini-2.5-Flash judgments. On-policy GRPO of Qwen2.5-3B-Instruct: with 4,000 audience-conditioned HH demos, ab-initio PARED reaches 84.6% vs Instruct (SFT 81.1%) and post-hoc PARED wins 86–88% vs its SFT init; with 500 demos, Instruct-init PARED 70.7% vs SFT 58.0%. Separate adult/child rewards improve both audiences. Demonstrations are prompted GPT-5.1 completions, not human data. No official code on the abs page.
- Paper
Qwen-Music Technical Report
Three-stage system: 25 Hz single-codebook Music Semantic Tokenizer (0.6B Conformer), Qwen-Music-LLM (3B dense Qwen3.5-Omni init with Melody-CoT planning), and Qwen-Music-Render (1.3B DiT + Spec-VAE + Band-Mode Refiner to 48 kHz stereo). LLM trained on >5M hours of multilingual music with a quality-graded curriculum then SFT/DPO/GSPO. On 600 ZH/EN prompts, best on 13/16 SongBench/SongEval/AudioBox-Aesthetic metrics; professional A/B prefers it over MiniMax Music 2.6 (66.7%) and Suno V5 (55.4%), comparable to Suno V5.5 (50.3%). Cover mode reports lower Melody MAE than Suno V5.5/V5 and MiniMax Cover on an AI-generated reference set.
- Paper
Frontis-MA1: Training an AI4AI Model towards Recursive Self-Improvement in Machine Learning Engineering
OpenMLE is a full stack: OpenMLE-Gym (5,758 quality-gated executable tasks), OpenMLE-ERL (execution-grounded SFT+RL on the four operators), and OpenMLE-Evo (experience-guided search). Frontis-MA1-35B post-trained on this stack raises MLE-Bench Lite Medal Average from 39.39% (Qwen3.6-35B-A3B) to 60.61% under OpenMLE-Evo and 71.21% under OpenMLE-Evo-Max (12h / one RTX 4090 12GB). NatureBench Lite Match-SOTA moves 50%→70% by swapping the trained model and 20%→50% by swapping the harness. Weights, gym, and traces are released.
- Paper
Toward a mechanistic understanding of inference in visual cortex and diffusion models
Extends sparse coding with a learned pairwise latent interaction matrix M and trains the recurrent ISTA dynamics with denoising score matching plus implicit differentiation. After natural-image training, M recovers collinear V1-like horizontal connections and denoises contours far better than factorial sparse coding, approaching a parameter-matched U-Net. The denoising Jacobian decomposes as Phi J_z Phi^T with sparse-gated lateral spread, explaining contour-tied harmonic bases. On faces, ~30% of latents detach from pixels and act as an emergent hierarchy for global consistency. Yields testable V1 surround-excitation hypotheses.
- Paper
Towards Physics of Multimodal Pretraining: Knowledge Flow, Modality Synergy, Early Unification, and Recipes
Four findings: (1) Knowledge flow is asymmetric — language boosts all visual tasks, understanding is a strong prior for generation, generation is largely neutral backward. (2) Task complexity and architecture (shared attention/norm, split FFNs) determine synergy vs competition. (3) Early joint unification beats late alignment; delayed vision causes vision laziness. (4) Asymmetric recipes (e.g. 70/25/5 L/U/G) plus MoE and early unification scale; 13.5B MoE on 2T tokens. Project page https://junlinhan.github.io/projects/physics_of_mm_pretrain/
- Paper
Filesystem-Based Memory for LLM Agents: Organization, Evolution, and Sustainability
Treats deployed filesystem memory (markdown trees + generic file tools) as a design space with management/search/execution roles sharing one store for declarative memory and skills. Across LoCoMo, PersonaMem, REALTALK, and ALFWorld, varies store shape, scale, harness, and model strength. Organization's reliable payoff is search cost (roughly halves retrieval on large material), not answer quality. Organization erodes for all but the strongest management agent; tool set reshapes the store as strongly as swapping the model. No agent converts organization itself into better answers.
- Paper
Is One Layer Enough? Training A Single Transformer Layer Can Match Full-Parameter RL Training
Systematic layer-wise study of how reinforcement-learning post-training of large language models distributes its gains across transformer layers. Against the usual assumption that every layer should be updated uniformly, the authors find that training a single transformer layer recovers most of the improvement achieved by full-parameter RL training and in some cases surpasses it. They introduce "layer contribution", the fraction of full RL improvement recovered by training one layer in isolation, and measure it across seven models spanning two families (Qwen3, Qwen2.5), three RL algorithms (GRPO, GiGPO, Dr. GRPO) and task domains including mathematical reasoning, code generation and agentic decision-making. RL gains concentrate in a small subset of layers, and a consistent structural pattern emerges: high-contribution layers sit in the middle of the stack while layers near the input and output ends contribute substantially less. The resulting layer rankings stay strongly correlated across datasets, tasks, model families and RL algorithms.
- Paper
Stealing Reasoning Traces from Proprietary LLM APIs
Leading LLM providers hide chain-of-thought reasoning by returning it to clients as encrypted blocks that are passed back with each request. The authors identify an architectural vulnerability: these encrypted blocks are interchangeable across sessions, users, and models within a provider's ecosystem. Injecting an encrypted reasoning trace from a strong model into a weaker, less safeguarded model of the same provider makes it decode and emit the trace verbatim in plaintext, a scalable "decryption jailbreak" that never jailbreaks the stronger model directly. Four attack vectors are demonstrated across Anthropic, OpenAI, and Google: circumventing anti-distillation protections; large-scale private data extraction (decoding 315,320 reasoning blocks scraped from public repositories recovered 367 PII artifacts and 182 credentials); exposure of hazardous reasoning content even when the visible answer refuses; and invisible prompt injection hidden inside encrypted blocks to poison public agentic rollouts. Cryptographic and system-level mitigations are proposed following responsible disclosure.
- Dataset
GigaMIDI
The Extended GigaMIDI Dataset is the largest symbolic music collection to date, comprising over 2.1 million unique MIDI files with detailed annotations for music loop detection and expressive performance characteristics. It introduces a novel expressive loop detection method using the Note Onset Median Metric Level (NOMML) heuristic, identifying 9.2 million non-expressive loops and 2.3 million expressive loops across all General MIDI instruments. The dataset encompasses several major symbolic MIDI resources including MetaMIDI, Lakh MIDI, XMIDI, top-MAGD, and MASD, and includes a curated human-annotated genre/style subset. It was used to train an expressive multitrack symbolic music loop generation model via the MIDI-GPT system.
- Dataset
Sci-Hub
Sci-Hub is a shadow library founded by Alexandra Elbakyan in 2011 that provides free access to over 88 million research papers and books by bypassing publishers' paywalls. It is the largest database of full-text scientific papers available for free, with approximately 80% of the collection being journal articles (primarily medicine, followed by physics, chemistry, biology, and humanities). The entire collection (~100 TB) is available via torrent network. The site serves approximately 400,000 requests per day and has been the subject of extensive legal battles with academic publishers like Elsevier.
- Dataset
ML Intern Session Traces
A dataset of ML Intern coding agent session traces uploaded from local runs, stored as JSON Lines files with one file per session. Each trace is converted to a Claude-Code-style event stream containing user messages, assistant messages, tool calls, tool results, model metadata, and timestamps, viewable in the Hugging Face Agent Trace Viewer. It is intended for research and analysis of coding agent behavior, though traces may contain sensitive information from local development environments.
- Dataset
TMax-15k Open Instruct
TMax-15k is a dataset of ~14,600 reinforcement learning environment instances for training terminal-based coding agents, generated through a synthetic data pipeline using a frontier model with novel taxonomy, difficulty control, personas, and verifier diversification. It is over 2.5x larger than previously released terminal-agent datasets and significantly harder. The dataset was used to train TMax 9B, which achieves 27% on Terminal-Bench 2.0 using a simple outcome-only RL recipe, outperforming much larger models.