Downloads · 30 days
122
17% of all-time downloads
vilarin/zeta-2-GGUF
zeta-2-GGUF is a machine learning model from vilarin. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Zeta 2 is a code edit prediction (also known as next-edit suggestion) model finetuned from ByteDance-Seed/Seed-Coder-8B-Base.
Downloads · 30 days
122
17% of all-time downloads
All-time downloads
722
Public
Repo size
50.5 GB
Likes
0
Public
Click a slice to open those files.
.gguf50.5 GB · 100%
From the Hugging Face model README
Zeta 2 is a code edit prediction (also known as next-edit suggestion) model finetuned from ByteDance-Seed/Seed-Coder-8B-Base.
Given code context, edits history and an editable region around the cursor, it predicts the rewritten content for that region.
The model uses a SPM (suffix-prefix-middle) style prompt with git-merge-style markers for the editable region:
Here is a minimal example:
<[fim-suffix]>
code after editable region
<[fim-prefix]><filename>related/file.py
related file content
<filename>edit_history
--- a/some_file.py
+++ b/some_file.py
-old
+new
<filename>path/to/target_file.py
code before editable region
<<<<<<< CURRENT
code that
needs to<|user_cursor|>
be rewritten
=======
<[fim-middle]>
Expected output (should be generated by the model, without backticks):
revised content for
the editable region
>>>>>>> UPDATED
Here is a real-world example: