LE Quoc Dat
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -49,6 +49,8 @@ FastApply-7B-v1.0 is intended for use in AI-powered code editors and tools that
|
|
49 |
FastApply-7B-v1.0 is based on the Qwen2.5 Coder architecture and is fine-tuned for code editing tasks. It uses a specific prompt structure for inference:
|
50 |
|
51 |
```
|
|
|
|
|
52 |
<|im_start|>user
|
53 |
Merge all changes from the <update> snippet into the <code> below.
|
54 |
- Preserve the code's structure, order, comments, and indentation exactly.
|
@@ -59,13 +61,13 @@ Merge all changes from the <update> snippet into the <code> below.
|
|
59 |
|
60 |
<update>{update_snippet}</update>
|
61 |
|
62 |
-
Provide the complete updated code
|
|
|
63 |
```
|
64 |
|
65 |
The model's output is structured as:
|
66 |
|
67 |
```
|
68 |
-
<|im_start|>assistant
|
69 |
<updated-code>[Full-complete updated file]</updated-code>
|
70 |
```
|
71 |
|
@@ -95,7 +97,9 @@ Merge all changes from the <update> snippet into the <code> below.
|
|
95 |
|
96 |
<update>{update_snippet}</update>
|
97 |
|
98 |
-
Provide the complete updated code
|
|
|
|
|
99 |
|
100 |
input_text = input_text.format(
|
101 |
original_code=original_code,
|
|
|
49 |
FastApply-7B-v1.0 is based on the Qwen2.5 Coder architecture and is fine-tuned for code editing tasks. It uses a specific prompt structure for inference:
|
50 |
|
51 |
```
|
52 |
+
<|im_start|>system
|
53 |
+
You are a coding assistant that helps merge code updates, ensuring every modification is fully integrated.<|im_end|>
|
54 |
<|im_start|>user
|
55 |
Merge all changes from the <update> snippet into the <code> below.
|
56 |
- Preserve the code's structure, order, comments, and indentation exactly.
|
|
|
61 |
|
62 |
<update>{update_snippet}</update>
|
63 |
|
64 |
+
Provide the complete updated code.<|im_end|>
|
65 |
+
<|im_start|>assistant
|
66 |
```
|
67 |
|
68 |
The model's output is structured as:
|
69 |
|
70 |
```
|
|
|
71 |
<updated-code>[Full-complete updated file]</updated-code>
|
72 |
```
|
73 |
|
|
|
97 |
|
98 |
<update>{update_snippet}</update>
|
99 |
|
100 |
+
Provide the complete updated code.<|im_end|>
|
101 |
+
<|im_start|>assistant
|
102 |
+
"""
|
103 |
|
104 |
input_text = input_text.format(
|
105 |
original_code=original_code,
|