xu song
commited on
Commit
·
46ea35b
1
Parent(s):
4e4c514
update
Browse files- models/cpp_qwen2.py +1 -1
models/cpp_qwen2.py
CHANGED
@@ -117,7 +117,7 @@ class Qwen2Simulator(Simulator):
|
|
117 |
if stream["choices"][0]["finish_reason"] is None:
|
118 |
yield stream["choices"][0]["completion_text"], stream["choices"][0]["completion_tokens"]
|
119 |
else:
|
120 |
-
print(f'
|
121 |
|
122 |
|
123 |
|
|
|
117 |
if stream["choices"][0]["finish_reason"] is None:
|
118 |
yield stream["choices"][0]["completion_text"], stream["choices"][0]["completion_tokens"]
|
119 |
else:
|
120 |
+
print(f'finish_reason with text: {stream["choices"][0]["text"]}')
|
121 |
|
122 |
|
123 |
|