frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

https://huggingface.co/sweepai/sweep-next-edit-1.5B
1•williamzeng0•1h ago
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!

Internet voting is insecure and should not be used in public elections

https://blog.citp.princeton.edu/2026/01/16/internet-voting-is-insecure-and-should-not-be-used-in-...
1•WaitWaitWha•27s ago•0 comments

Media double standards Re ICE: protesters get headlines, victims get footnotes

https://damienduncan.substack.com/p/the-media-double-standard-re-ice
1•Politicrux•1m ago•0 comments

The Bitter Lesson of Agent Frameworks

https://twitter.com/gregpr07/status/2012052139384979773
1•gmays•2m ago•0 comments

Technical decisions that killed my SaaS

https://dontkillsaas.framer.website/
1•sillygoose_189•4m ago•1 comments

Additive white Gaussian noise

https://en.wikipedia.org/wiki/Additive_white_Gaussian_noise
1•gjvc•5m ago•0 comments

States Are Gunning to Ban 3D Printers and CNCs

https://www.electronicdesign.com/blogs/nonlinearities/blog/55352019/electronic-design-states-ban-...
3•WaitWaitWha•7m ago•1 comments

UK national security assessment: Global biodiversity loss, ecosystem collapse [pdf]

https://assets.publishing.service.gov.uk/media/696e0eae719d837d69afc7de/National_security_assessm...
3•heresie-dabord•9m ago•0 comments

Machine Learning Feature Store Book – Example Projects

https://github.com/featurestorebook/mlfs-book
1•teleforce•12m ago•0 comments

Prototaxites

https://en.wikipedia.org/wiki/Prototaxites
1•Metacelsus•12m ago•0 comments

Windows update disaster: security patch causes widespread system failures

https://www.forbes.com/sites/zakdoffman/2026/01/21/nightmare-microsoft-update-breaks-windows-for-...
1•xthe•13m ago•0 comments

NASA ends financial support for planetary science groups

https://www.scientificamerican.com/article/nasa-quietly-ends-financial-support-for-planetary-scie...
2•voxadam•13m ago•0 comments

MNN – fast, lightweight deep learning framework

https://github.com/alibaba/MNN
2•modinfo•14m ago•0 comments

AI Systems Performance Engineering

https://github.com/cfregly/ai-performance-engineering
1•teleforce•14m ago•0 comments

PTP Is the New NTP: How Data Centers Achieve Real-Time Precision

https://www.datacenterknowledge.com/networking/ptp-is-the-new-ntp-how-data-centers-are-achieving-...
2•WaitWaitWha•14m ago•0 comments

Triple Store, Triple Progress: Datalevin Posited for the Future

https://yyhh.org/blog/2026/01/triple-store-triple-progress-datalevin-posited-for-the-future/
1•huahaiy•21m ago•0 comments

Europe Could Kick U.S. Where It Hurts: The World Cup

https://www.politico.com/news/magazine/2026/01/21/the-12-people-who-hold-trumps-world-cup-in-thei...
2•JumpCrisscross•21m ago•1 comments

Yyvette's

https://yvettesbridalformal.p1r8.net/
3•Nition•24m ago•1 comments

Nugget – Customize Your iPhone

https://github.com/leminlimez/Nugget
1•orenlindsey•26m ago•0 comments

Steam Machine: Not So Hot If Priced at 1000 USD

https://boilingsteam.com/poll-steam-machine-not-so-hot-if-priced-at-1000-usd/
2•ekianjo•27m ago•0 comments

They're scared of us now: how co-investment in a tropical forest saw off loggers

https://www.theguardian.com/environment/2025/dec/25/they-are-scared-of-us-now-how-one-tropical-fo...
1•PaulHoule•29m ago•0 comments

Spotify Lawsuit Triggered Anna's Archive Domain Name Suspensions

https://torrentfreak.com/unsealed-spotify-lawsuit-triggered-annas-archive-domain-name-suspensions/
2•maxeda•29m ago•0 comments

DiffRatio: A SOTA one-step Diffusion model with 50% less GPU memory

https://arxiv.org/abs/2502.08005
1•LoMoGan•29m ago•0 comments

The success of 'natural language programming'

https://brooker.co.za/blog/2025/12/16/natural-language.html
1•gtirloni•29m ago•0 comments

FikoRE: 5G Network Emulator

https://github.com/nokia/5g-network-emulator
1•teleforce•30m ago•0 comments

Copyright Kills Competition

https://www.eff.org/deeplinks/2026/01/copyright-kills-competition
2•hn_acker•32m ago•0 comments

Why Are We Still So Afraid of Using the Grumpy Old Period?

https://www.nytimes.com/2026/01/15/magazine/ending-sentences-period.html
2•samclemens•34m ago•0 comments

Rand Paul Only Wants Google to Be Arbiter of Truth When the Videos Are About Him

https://www.techdirt.com/2026/01/21/rand-paul-only-wants-google-to-be-the-arbiter-of-truth-when-t...
11•hn_acker•34m ago•4 comments

Your Best Work Is Invisible Because You Want It That Way

https://twitter.com/VincentChan/status/2014130978235818312
1•vincentchan•35m ago•0 comments

Generalised Tensors for Machine Learning in Idris

https://glaive-research.org/2026/01/21/Generalised-tensors.html
1•lang_agnostic•35m ago•0 comments

I'll pass on your zoom call.

https://operand.online/chronicle/pass.zoom
1•c4lliope•37m ago•0 comments