Nicheloom

Market intelligence for builders — see what's gaining traction before it's crowded.

Sweep, Open-weights 1.5B model for next-edit autocomplete

Details

External ID
46713106
Source
HN
Company
—
Product
Sweep, Open-weights 1.5B model for next-edit autocomplete
Website domain
huggingface.co
Launched
Jan. 21, 2026
Cohort
—
Upvotes
534
Upvotes percentile
0.9960474308300395
Tags
—
Fetched at
Sept. 7, 2026, 9:25 p.m.
Updated at
Sept. 7, 2026, 9:25 p.m.

Description

Hey HN, we trained and open-sourced a 1.5B model that predicts your next edits, similar to Cursor. You can download the weights here (https://huggingface.co/sweepai/sweep-next-edit-1.5b) or try it in our JetBrains plugin (https://plugins.jetbrains.com/plugin/26860-sweep-ai-autocomp...).Next-edit autocomplete differs from standard autocomplete by using your recent edits as context when predicting completions. The model is small enough to run locally while outperforming models 4x its size on both speed and accuracy.We tested against Mercury (Inception), Zeta (Zed), and Instinct (Continue) across five benchmarks: next-edit above/below cursor, tab-to-jump for distant changes, standard FIM, and noisiness. We found exact-match accuracy correlates best with real usability because code is fairly precise and the solution space is small.Prompt format turned out to matter more than we expected. We ran a genetic algorithm over 30+ diff formats and found simple `original`/`updated` blocks beat unified diffs. The verbose format is just easier for smaller models to understand.Training was SFT on ~100k examples from permissively-licensed repos (4hrs on 8xH100), then RL for 2000 steps with tree-sitter parse checking and size regularization. The RL step fixes edge cases SFT can’t like, generating code that doesn’t parse or overly verbose outputs.We're open-sourcing the weights so the community can build fast, privacy-preserving autocomplete for any editor. If you're building for VSCode, Neovim, or something else, we'd love to see what you make with it!

Enrichment

Theme
AI video creation and editing tools
Vertical
Horizontal
Function
Model & infra
Audience
Developer
AI stance
AI-native
Project type
Commercial product
Normalized one-liner
autocomplete model for code editing
Manually corrected
False

Could you build this?

No Pre-training or fine-tuning a custom 1.5B parameter code LLM for next-edit diff prediction demands substantial GPU compute, specialized dataset curation, and deep ML engineering.

What it would actually take: The project involves building a training pipeline on top of architectures like Qwen-Coder or Llama, curating massive datasets of Git commits and real-time developer keystroke edit histories, and fine-tuning with Fill-In-the-Middle (FIM) objectives. The IDE plugin also requires high-efficiency C++/Rust bindings via llama.cpp or ONNX Runtime to maintain sub-50ms inference latency.

Discussion

20 comments analyzed.

Competitors mentioned: Cursor, Zed, JetBrains Fleet, Codeium

Concerns raised: Undertrained on C#, produces bad code suggestions, Overeager suggestions that don't make sense, Poor quality compared to cloud offerings for some languages, Memory leaks from IDE plugins, Code duplication instead of abstraction in multi-turn sessions

Feature requests: Auto-complete for terminal/CLI commands, VSCode extension support, Self-hosting support via llama.cpp proxy, Vim plugin (not just Neovim), OSS model for email and general text predictions

Competitors

Other products that read as similar to this one — 23 launches clear the similarity bar, closest 8 shown.

Attention rank: #2 of 24 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).

Launched 77 days after the earliest competitor.

Other launches for this product

Same idea, different domain

Nobody's really built a model & infra tool for Fintech yet.