You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from IPython.display import display, Markdown, clear_output
for response, history in model.stream_chat(
tokenizer, prompt, history=[]):
clear_output(wait=True)
display(Markdown(response))
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
ex:glm中这种
使用 IPython.display 流式打印模型输出
Beta Was this translation helpful? Give feedback.
All reactions