SmartFlowAI / Llama3-Tutorial

Llama3-Tutorial(XTuner、LMDeploy、OpenCompass)
490 stars 50 forks source link

incorrect model name which leads to an OSError #8

Open ladycui opened 6 months ago

ladycui commented 6 months ago

when deploying web-demo with streamlit, OSError: Incorrect path_or_model_id: '/root/model/Llama-3-8B-Instruct'. Please provide either the path to a local folder or the repo_id of a model on the Hub will prompt. according to context, the model name is incorrect and should be /root/model/Meta-Llama-3-8B-Instruct. However, it's a very tiny error and I belive most people will correct it themselves. just in case I submit this issue.

WZUchen commented 6 months ago

您知道微调这怎么操作,文档中的cd /root/project/llama3-ft是什么,期待您的回答!

chen0321-max commented 5 months ago

微信图片_20240516110631 微信图片_20240516110636 令我忧伤的是我遇到了这个问题,但是路径名没有错误,我在我的windows系统上安装教程跑了一下

解决了,windows路径写法问题

streamlit run .\Llama3-Tutorial\tools\internstudio_web_demo.py .\model\Meta-Llama-3-8B-Instruct