跳到正文
Hacker News LLM· belluxx·· 6 小时前AI 评分54

Show HN:反向使用 LLM 聊天模板让模型扮演用户

Show HN: Using an LLM chat template in reverse to play the user

AI 导读

作者展示了在 LLM 聊天模板中反向生成用户消息的方法:在 <assistant_end> 后接 <user_start> 让模型自行写出用户回复,并与“让模型扮演人类”的 roleplay 设定对比。

来源:Hacker News LLM · selfgpt.pages.dev