LE Quoc Dat commited on
Commit
a3e5bf9
·
verified ·
1 Parent(s): c1876e6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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]</updatedcode>
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("</updatedcode>")[0]
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
  ```