Explore the research collection
10 entries · Follow this search
- Model
River Recipes: Achieving Frontier Text-to-SQL with the River API
River AI's 'River Recipes' is an open-source initiative that turns promising research papers into vetted, reproducible training recipes. The first recipe tackles text-to-SQL: it rebuilds the ReViSQL recipe (RL with a LoRA adapter, arXiv 2603.20004v4) from scratch on the River API, fixing several bugs in the released code (outdated VeriEQL with an ORDER BY-in-subqueries bug, a 1% tolerance grader that rewarded wrong row counts, and treating token-limit-interrupted attempts as answers) and hardening it for longer runs (async RL overlapping sampling and training, warmup+cosine LR, tightened grader, -1 reward for unfinished attempts, tool-use demonstration prefix). Across six models from five families it improved accuracy by 9-36 points on Arcwise-Plat; four models reached human-level performance (92.96%) and five finished between 92.0% and 93.4%. Five outperformed GPT-6 Astra Pro (max effort), averaging 4.0 points higher at less than 2% of the per-question cost (OpenRouter list prices, Sep 29 2026); GLM-5.3 Flash led at +4.6 points at just 0.5% of the cost. Key recipe extensions: BIRD-Platinum cleaned training data (+9.4 points avg vs original annotations), training hints for questions no attempt ever solves (~6% of questions after epoch 1), learnability weighting from epoch 2, the VeriEQL penalty and evidence process reward for shaping, and BIRD-Diamond/BIRD-Platinum-Hard curated subsets on Hugging Face. Gains transfer to Spider2-Lite (every model improved, best models just shy of the proprietary frontier).
- Model
Qwen-Image-2.1 Consistent Lighting LoRA (rh-qwen-image-2.1-lora)
LoRA adapter (160 MiB safetensors) finetuned on Qwen-Image-2.1 for compositing products/objects into scenes with consistent lighting: removes unwanted reflections/glares, enhances specular highlights, adds natural contact shadows and front-back spatial relationships so the object blends seamlessly into the background. Trigger word: 'pengyu'. Works in ComfyUI / RunningHub / Hugging Face.
- Paper
Write Back the Δ: Revisiting the Same Tokens with Fresh Representations
Inference-time feedback that recycles endogenously produced computation: feeding a Transformer's full deep state back into shallow layers saturates fast (deep states are collinear copies of early residuals), but routing the depth increment Δ = z_deep − z_shallow isolates the newly accumulated computation and scales cleanly up to 6 edges. ReFlux frames depth feedback as a learnable directed-acyclic graph over layer pairs, with a tiny 2.2M-param router MLP predicting sparse gates and amplitudes over a frozen backbone — beating a 2.9M rank-8 LoRA adapter on C4 perplexity. Post-write norm projection avoids 'norm shock' on Pre-LN models like Qwen 3 (flipped Qwen3-4B from negative to +6.15% gain). Two execution flavors: sync (2 passes, 1.9x latency) and streaming (single pass, injects cached Δ(t−1) into token t — 0 extra backbone FLOPs, same KV cache, 1.02–1.08x decode latency, >80% of sync gains). Streaming serializes prefill (510x slowdown on 1,107-token prompts), so serving needs parallel prefill. Downstream: +2.1–2.3 accuracy points overall, +4.7 on multi-hop reasoning (2WikiMultiHopQA 24.6→29.7, HotpotQA 42.3→47.0); with CoT on GSM8K hits 92.0 while cutting output length 31% (1,002→691 tokens). Gemma3-4B C4 PPL 23.69→21.85 (full state only 22.79). Relevant to the user's LLM training-run and agent-harness work; related cluster: looped/recurrent models (670, 952).
- Paper
Evolution Strategies at the Hyperscale
EGGROLL samples rank-r adapters AB^T instead of full-rank noise, reaching ~91% of batch-inference throughput and ~100× naïve ES at large populations. Individual perturbations are low-rank but the population average is full-rank (O(1/r) to Gaussian ES). Pretrains an int8 nonlinear RNN (EGG, no activations) on MiniPile to 3.40 bits/byte vs a backprop Transformer 3.58 at matched data batch (pop 2^20). Competitive with GRPO on countdown/GSM8K (RWKV-7) and with OpenES on 16 tabula-rasa RL envs. Code https://github.com/ESHyperscale/HyperscaleES; project https://eshyperscale.github.io/.
- Paper
Fine-Tuning Language Models with Just Forward Passes
MeZO adapts zeroth-order (gradient-free) SGD to fine-tune language models using only forward passes, operating in-place with inference-level memory. Supports full-parameter and parameter-efficient tuning (LoRA, prefix tuning) and non-differentiable objectives.
- Paper
The Universal Weight Subspace Hypothesis
The Universal Weight Subspace Hypothesis proposes that neural networks of the same architecture share an architecture-specific low-dimensional 'universal subspace' of weight directions, so new tasks can be stored or trained as coefficients on a frozen shared basis. Experiments across GPT-2, ViT, LLaMA-8B, Flan-T5, and 500 Mistral LoRA adapters show rapid spectral decay and large storage savings, but the evidence is limited to within-architecture comparisons with small evaluation sets.
- Model
GPC-1 — multimodal general-purpose classifier (categorical + Numeric101 + joint records)
Announced 2026-09-23 by @harshagundal as GPC-1: general-purpose classifier for bounding boxes, poses, coordinates, mechanical control, and more “in milliseconds.” HF package harshatheg/GPC-1 (~70.3 GB usedStorage): modified Qwen/Qwen3.5-35B-A3B multimodal MoE backbone + matching LoRA adapter (r=16, alpha=16, language_model q/k/v/o…), Apache-2.0, OpenAI-style /v1/chat/completions server (gpc1_server). Modes: atomic categorical (2–255 choices), numeric101 (101-grid over caller bounds; multi-field one pass; MAP + expected value), image-conditioned numeric101, finite_joint over enumerated records. Thread claims post-training on millions of datapoints / thousands of problem classes from X posts; dual training of Qwen base + adapters, designed to be easy to fine-tune further. Hosted demo Space harshatheg/GPC-1-Demo. Uses LM output projection for schema-bound scoring (not claimed NAR Jev). Source attribution lists CLINC, HelpSteer2, Open-Jev (CC0), GLiClass/Typed Decisions, PushT, etc. Author site usemoonshine.com.
- 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.
- Model
Tev1-4B-experimental (Together Jev-inspired decision SFT on Qwen3.5-4B)
togethercomputer/Tev1-4B-experimental (Together API id together/Tev1-4B-experimental) is a supervised fine-tune of Qwen/Qwen3.5-4B (~4.66B params) for closed-set decisions. Input: system instruction + JSON with state, question, and labeled options; output: exactly one letter (temp 0, max_tokens 8, thinking off). Training mixture new-v1: 37,840 unique train / 4,568 val from MultiNLI, BoolQ, Banking77, AG News, SST-5, synthetic policies/routing, synthetic research taxonomy; LoRA on existing LM head (not NAR Jev). Dev eval: 880/1000 (88%) main, 300/300 policy-transfer, 1300/1300 valid letters, 0 HTTP errors — development results, not independent benchmark. Historical checkpoint name hassan/Qwen3.5-4B-v1-new-69617472-bdc3c2fc. License: base Apache-2.0; FT weights license being finalized. Recipe/code MIT at togethercomputer/tev1. Announced via @nutlope X Article + Together blog 2026-09-23.
- Post
How to train your own Jev for $17 (Together Tev1 tutorial)
2026-09-23 Together blog (also posted as X Article by @nutlope) walks through training a Jev-like classifier: clone github.com/togethercomputer/tev1, sample/normalize ~37,840–38,340 classification examples from MultiNLI, BoolQ, Banking77, AG News, SST-5, programmatic policies (~13.5k), routing (~6k), and research taxonomy (~3.8k), LoRA SFT Qwen/Qwen3.5-4B via Together Fine-tuning (~25 min, ~$17), deploy a dedicated endpoint, and query with state/question/options JSON returning a single option letter. Serverless reference model: together/Tev1-4B-experimental (HF togethercomputer/Tev1-4B-experimental). Explicitly autoregressive LM-head SFT — not a non-autoregressive Jev runtime. Dev eval cited on card: 880/1000 main decisions, 300/300 policy-transfer, 1300/1300 valid letters.