saheedniyi commited on
Commit
412143c
1 Parent(s): 99d5e93

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -0
README.md CHANGED
@@ -58,4 +58,12 @@ formatted_prompt=input_text=f"### BEGIN CONVERSATION ###\n\n## User: ##\n{prompt
58
  ```
59
 
60
  The model has a little tokenization issue and it's necessary to wtrite a function to clean the output to make it cleaner and more presentable.
 
 
 
 
 
 
 
 
61
  **This issue shold be resolved in the next version of the model.**
 
58
  ```
59
 
60
  The model has a little tokenization issue and it's necessary to wtrite a function to clean the output to make it cleaner and more presentable.
61
+ ```
62
+ def split_response(text):
63
+ return text.split("### END CONVERSATION")[0]
64
+
65
+ cleaned_response=split_response(response)
66
+ print(cleaned_response)
67
+ ```
68
+
69
  **This issue shold be resolved in the next version of the model.**