Comments (3)
问题1:为什么第二轮的system会重复第一轮assistant的output?不应该是直接返回answer的值吗?比如 {'role': 'system', 'content': 'Response: answer = 25\n'}
这个如果确定是稳定复现的话 应该是有bug吧, system 的内容应该就是插件执行结果的回复
from lagent.
问题1:为什么第二轮的system会重复第一轮assistant的output?不应该是直接返回answer的值吗?比如 {'role': 'system', 'content': 'Response: answer = 25\n'} 这个如果确定是稳定复现的话 应该是有bug吧, system 的内容应该就是插件执行结果的回复
1、重复的情况肯定是bug,按照我的代码可以稳定复现的。
2、可以写一个自定义微调的response样例吗?
{'role': 'system', 'content': 'Response: answer = 25\n'}像这么写可以吗
from lagent.
可以的 更新了 Lagent 的代码以及 InternLM2 可以体验新的版本
from lagent.
Related Issues (20)
- Bug: ModuleNotFoundError: No module named 'ilagent' HOT 1
- 使用 example/internlm2_agent_wen_demo 出现问题
- internlm2_agent_cli_demo 运行出错 HOT 2
- 运行示例时报错TypeError: LMDeployClient.__init__() missing 1 required positional argument: 'path' HOT 2
- May I know once I want to make a LLM by `BaseAPIModel`, where could I input the url_base? HOT 6
- Lagent Web Demo csv数据分析运行出错
- 如何设计微调数据? HOT 2
- 请问,我如何调用第三方的api HOT 1
- 运行示例时报错requests.exceptions.ConnectTimeout HOT 1
- 工具调用幻觉严重 HOT 3
- 为什么部署成功了internlm2_agent_web_demo.py,但是模型回答不调用工具呢? HOT 1
- internlm2_agent_web_demo的actions都无法调用么
- 使用lagent.actions.PPT时,发现的一个BUG。 HOT 2
- 目前GPTAPI不支持internlm api调用吗? HOT 2
- 由于internlm api不支持system输入,所以agent工具调用不能用,有没有什么解决方法啊? HOT 1
- lagent/llms/lmdepoly_wrapper.py 文件名错误,应该改为 lmdeploy_wrapper.py
- ModuleNotFoundError: No module named 'lagent.llms.lmdeploy_wrapper' HOT 11
- TypeError: string indices must be integers HOT 1
- [Docs] A100算力加持!书生大模型实战营第3期全面升级,趣味闯关模式等你开启
- 能不能好好的维护文档
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lagent.