Comments (2)
model_name = 'Baichuan2-13B-Base'
模型配置:
model_cfg = {
'Baichuan2-13B-Base':{
'model_id': 'baichuan-inc/Baichuan2-13B-Base',
'model_revision': 'v1.0.1',
'use_raw_generation_config': False,
'custom_chat': False,
'generate_cfg':{
'do_sample': True,
'max_new_tokens': 512,
'top_k': 10
}
}
}
from modelscope-agent.
model_name = 'Baichuan2-13B-Base' 模型配置: model_cfg = { 'Baichuan2-13B-Base':{ 'model_id': 'baichuan-inc/Baichuan2-13B-Base', 'model_revision': 'v1.0.1', 'use_raw_generation_config': False, 'custom_chat': False, 'generate_cfg':{ 'do_sample': True, 'max_new_tokens': 512, 'top_k': 10 } } }
我这边用这个配置是可以跑通的,我的modelscope版本是1.8.4,请问你的是多少呢?
from modelscope-agent.
Related Issues (20)
- TypeError: Can't instantiate abstract class Vllm with abstract method _chat_no_stream HOT 2
- [framework] Refactor Non-Core Requirements to Runtime/On-Demand Dependencies HOT 1
- qwen1.5和qwen2调用agent方式不一样吗?? HOT 5
- Bad example: With Modelscope-Agent-Server, Qwen2 could be used by OpenAI SDK with tool calling ability, please find detail in doc. HOT 3
- [<Agent component: framework|tool|llm|etc...>] ollama._types.ResponseError: pull model manifest: file does not exist
- llm:调用vllm部署的大模型openai接口时报错 HOT 2
- 无法用dashscope model server使用OpenAI SDK HOT 13
- max_tokens must be at least 1, got -160 HOT 1
- 调用qwen-max模型,还需要消耗显存吗 HOT 2
- MSAgent-Bench的benchmark有没有具体的评估脚本?
- 使用这个 sh scripts/run_assistant_server.sh 部署模型之后,会不会比VLLM速度慢很多 HOT 8
- 参照文档搭建支持function calling的qwen2 openai server时报错openai.BadRequestError: Error code: 400
- MemoryWithRag 方法传了本地的llm模型,但是还是提示AssertionError: DASHSCOPE_API_KEY should be set in environ. HOT 4
- 本地部署之后,AgentFabric上操作就会报错。preview_send_message user_agent = _state['user_agent'] KeyError: 'user_agent' HOT 11
- [Agentfabric]: need stop current round, retry last round HOT 1
- 如何可以使用http://0.0.0.0:7860本地访问,而不是默认的http://127.0.0.1:7860访问 HOT 1
- [tool] 运行 langchian_as_third_party_tools.ipynb 和 openapi_schema_tool.ipynb 时工具注册失败 HOT 1
- 知识库文件上传一个可以,但是两个以上会报错
- 添加了一个【自定义工具】,但是工具调用并不稳定,有时能成功调用,有时又产生幻觉,要怎么才能提高调用稳定性呢?
- When i run simple_agent.ipynb, roleplay function not working. it is error from openai api. but i can using DSAssistant. How i can fix this ? HOT 1
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 modelscope-agent.