Show HN:Sweep 發布開源 1.5B 模型,用於下一次編輯自動補全
Hacker News·
Sweep AI 發布了 Sweep Next-Edit 1.5B,這是一個開源的語言模型,專為預測下一次程式碼編輯的自動補全功能而設計。該模型體積小巧,可在本地運行,並聲稱在相關基準測試中表現優於更大的模型。
sweepai
/
sweep-next-edit-1.5B
like
15
Follow
Sweep AI
16
![]()
![]()
Sweep Next-Edit 1.5B (GGUF)
A 1.5B parameter model for next-edit autocomplete, quantized to Q8_0 GGUF format.
Model Description
Sweep Next-Edit predicts your next code edit before you make it. It runs locally on your laptop in under 500ms (with speculative decoding) and outperforms models over 4x its size on next-edit benchmarks.
Usage
Download run_model.py and the model file, then:
Model Details
Example
The model uses a specific prompt format with file context, recent diffs, and current state to predict the next edit. See run_model.py for a complete example.
Links
License
Apache 2.0
8-bit
相關文章