LE Quoc Dat
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -66,7 +66,7 @@ The model's output is structured as:
|
|
66 |
|
67 |
```
|
68 |
<|im_start|>assistant
|
69 |
-
<updated-code>[Full-complete updated file]</
|
70 |
```
|
71 |
|
72 |
## Additional Information
|
@@ -108,7 +108,7 @@ output = model.generate(input_ids, max_length=8192)
|
|
108 |
response = tokenizer.decode(output[0])
|
109 |
|
110 |
# Extract the updated code from the response
|
111 |
-
updated_code = response.split("<updated-code>")[1].split("</
|
112 |
|
113 |
print(updated_code)
|
114 |
```
|
|
|
66 |
|
67 |
```
|
68 |
<|im_start|>assistant
|
69 |
+
<updated-code>[Full-complete updated file]</updated-code>
|
70 |
```
|
71 |
|
72 |
## Additional Information
|
|
|
108 |
response = tokenizer.decode(output[0])
|
109 |
|
110 |
# Extract the updated code from the response
|
111 |
+
updated_code = response.split("<updated-code>")[1].split("</updated-code>")[0]
|
112 |
|
113 |
print(updated_code)
|
114 |
```
|