LE Quoc Dat
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -87,7 +87,9 @@ model = AutoModelForCausalLM.from_pretrained("Kortix/FastApply-7B-v1.0")
|
|
87 |
tokenizer = AutoTokenizer.from_pretrained("Kortix/FastApply-7B-v1.0")
|
88 |
|
89 |
# Prepare your input following the prompt structure mentioned above
|
90 |
-
input_text = """<|im_start|>
|
|
|
|
|
91 |
Merge all changes from the <update> snippet into the <code> below.
|
92 |
- Preserve the code's structure, order, comments, and indentation exactly.
|
93 |
- Output only the updated code, enclosed within <updated-code> and </updated-code> tags.
|
|
|
87 |
tokenizer = AutoTokenizer.from_pretrained("Kortix/FastApply-7B-v1.0")
|
88 |
|
89 |
# Prepare your input following the prompt structure mentioned above
|
90 |
+
input_text = """<|im_start|>system
|
91 |
+
You are a coding assistant that helps merge code updates, ensuring every modification is fully integrated.<|im_end|>
|
92 |
+
<|im_start|>user
|
93 |
Merge all changes from the <update> snippet into the <code> below.
|
94 |
- Preserve the code's structure, order, comments, and indentation exactly.
|
95 |
- Output only the updated code, enclosed within <updated-code> and </updated-code> tags.
|