We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ollama._types.ResponseError: pull model manifest: file does not exist
modelscope 1.12.0 Python 3.8.18 Mac
from modelscope_agent.agents import RolePlay
role_template = '你是一个agent小助手,你需要根据用户的要求来回答他们的问题' llm_config = { 'model': 'qwen2_7b_instruct_q5_k_m', 'model_server': 'ollama', } function_list = []
bot = RolePlay(function_list=function_list,llm=llm_config, instruction=role_template)
response = bot.run("你好,请以李云龙的语气和我对话") text = '' for chunk in response: text += chunk print(text)
None
The text was updated successfully, but these errors were encountered:
fix bug,fix#modelscope#487
4a8204e
mushenL
No branches or pull requests
Initial Checks
What happened + What you expected to happen
ollama._types.ResponseError: pull model manifest: file does not exist
Versions / Dependencies
modelscope 1.12.0
Python 3.8.18
Mac
Reproduction script
from modelscope_agent.agents import RolePlay
role_template = '你是一个agent小助手,你需要根据用户的要求来回答他们的问题'
llm_config = {
'model': 'qwen2_7b_instruct_q5_k_m',
'model_server': 'ollama',
}
function_list = []
import pdb; pdb.set_trace()
bot = RolePlay(function_list=function_list,llm=llm_config, instruction=role_template)
response = bot.run("你好,请以李云龙的语气和我对话")
text = ''
for chunk in response:
text += chunk
print(text)
Issue Severity
None
The text was updated successfully, but these errors were encountered: