Update README.md
Browse files
README.md
CHANGED
@@ -55,7 +55,10 @@ prompt_template = (
|
|
55 |
'- Text-to-image: disabled.\n'
|
56 |
'- Image edition: disabled.\n'
|
57 |
'- Text-to-speech: disabled.\n'
|
58 |
-
'<|Human|>: {input}<eoh
|
|
|
|
|
|
|
59 |
|
60 |
text = '请给我介绍五个上海的景点'
|
61 |
inputs = tokenizer(prompt_template.format(input=text), return_tensors='pt')
|
|
|
55 |
'- Text-to-image: disabled.\n'
|
56 |
'- Image edition: disabled.\n'
|
57 |
'- Text-to-speech: disabled.\n'
|
58 |
+
'<|Human|>: {input}<eoh>\n'
|
59 |
+
'<|Inner Thoughts|>: None<eot>\n'
|
60 |
+
'<|Commands|>: None<eoc>\n'
|
61 |
+
'<|Results|>: None<eor>\n')
|
62 |
|
63 |
text = '请给我介绍五个上海的景点'
|
64 |
inputs = tokenizer(prompt_template.format(input=text), return_tensors='pt')
|