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)
- [llm]本地LLM选择 HOT 4
- 本地部署疑问 HOT 4
- [<Demos>] Demo for qwen_doc_search_QA based on llama_index and bce_embedding HOT 1
- 中文文档日期标点使用错误 HOT 1
- [<doc>] Doc for agent about tool_cn,start_cn and memory
- [<Agent component: framework|tool|llm|etc...>] Doc for agent about tool_EN, quickstart_EN and memory_EN
- 参照demo/demo_register_new_tool.ipynb注册新工具的时候程序报错:NotImplementedError HOT 1
- [<demo>] add demo about openapi with tool
- examples\agents\modelscopegpt_agent.ipynb 运行报错,找不到工具NotImplementedError
- [<doc>] Doc for agent about train_cn and train_agentfabric_llm_tool_use_cn
- [<doc>] Doc for agent about train_cn and train_agentfabric_llm_tool_use_cn
- <sft>llama3上下文支持好像有点问题 HOT 3
- 本地部署 modelscope llm 时,为什么只取message的第0条消息? HOT 8
- [<Agent component: framework|tool|llm|etc...>] [交互式创空间] openai api config save fail, add log
- [<Agent component: framework|tool|llm|etc...>] change tool_contribution_guide_CN.md
- [framework] AgentFabric local deploy has memory leak HOT 1
- [<Agent component: tool.>] 使用RolePlay时,执行tool顺序问题 HOT 3
- 智能体编排 HOT 2
- 无代码创建Agent,使用GLM4的企业api_key 和api_base, 问答无回复。 HOT 3
- 能否增加返回结果的状态,类似langchain的Callbacks/Streaming tokens 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.