HackerTrans
TopNewTrendsCommentsPastAskShowJobs

kevinlu1248

no profile record

Submissions

Building sub-100ms autocompletion for JetBrains IDEs

blog.sweep.dev
8 points·by kevinlu1248·10개월 전·1 comments

Linear-time tokenizer crate by GitHub

github.blog
2 points·by kevinlu1248·10개월 전·0 comments

comments

kevinlu1248
·6개월 전·discuss
Ya definitely, that makes total sense. It feels to me that currently the labs have great researchers, who only care about making models perform better across raw intel and then they have incompetent applied AI engineers / FDE's who can only suggest using better prompting to remove bad habits to make agents more usable.
kevinlu1248
·6개월 전·discuss
We have an explanation here: https://blog.sweep.dev/posts/next-edit-jetbrains#next-edit-a...

But basically suggesting changes away from your cursor position
kevinlu1248
·6개월 전·discuss
It's a bit undertrained on C#, we'll continue improving on this!
kevinlu1248
·6개월 전·discuss
Also wish Fleet took off, not a fan of installing a new IDE for every separate repo that's in a different language
kevinlu1248
·6개월 전·discuss
I've done some testing before and many of the new Jetbrains internal plugins cause memory leaks which really lags down my IDE...
kevinlu1248
·6개월 전·discuss
Definitely agree here, have had so many cases where I would like ask Claude for XYZ, then ask for XYZ again but with a small change. Instead of abstracting out the common code it would just duplicate the code with the small change.
kevinlu1248
·6개월 전·discuss
We currently integrate with Jetbrains' PSI
kevinlu1248
·6개월 전·discuss
Honestly I think we can improve our training throughput drastically via a few more optimizations but we've been spending most of our time on model quality improvements instead.
kevinlu1248
·6개월 전·discuss
You can see that Qwen3 does worse than Qwen2.5 on our benchmark. Reason is it's never been pretrained for FIM / autocomplete.
kevinlu1248
·6개월 전·discuss
Not at the moment but we do host it for our Jetbrains plugin
kevinlu1248
·6개월 전·discuss
Yes, I've used it to write blog posts / large user-facing copy.
kevinlu1248
·6개월 전·discuss
Are you using the right format? https://huggingface.co/sweepai/sweep-next-edit-1.5B/blob/mai...
kevinlu1248
·6개월 전·discuss
^ these were pretty much the main reasons.

The other one is that constrained decoding only works on CFGs (simpler grammars like JSON schemas) since only these ones can produce automatas which can be used for constrained decoding. Programming languages like Python and C++ aren't CFGs so it doesn't work.

Also constrained decoding generally worsens model quality since the model would be generating off-policy. So RL helps push corrected syntax back on-policy.
kevinlu1248
·6개월 전·discuss
Unfortunately, the main optimization (3x speedup) is using n-gram spec dec which doesn't run on CPUs. But I believe it works on Metal at least.
kevinlu1248
·6개월 전·discuss
Haha, we never trained it for chat but I would bet it works regardless.

Also that's crazy, M4 Mac?
kevinlu1248
·6개월 전·discuss
Our hosted autocomplete is coming to Zed in a few weeks.
kevinlu1248
·6개월 전·discuss
We'll push to Ollama
kevinlu1248
·6개월 전·discuss
Let me know if you have any questions! What hardware are you on?
kevinlu1248
·6개월 전·discuss
We're using an internal fork of trl for some of the steps.
kevinlu1248
·6개월 전·discuss
Personally, I think usable AI is more valuable than simply more intelligence. Many of the labs are pushing towards models that are 1% better on CodeForces and AIME if you just let it think and use tools for hours, instead of more user-friendly models with better coding habits, like writing shorter and more modular code.