Skip to content
New issue

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

使用时报错 #7

Open
779257747 opened this issue Oct 4, 2023 · 2 comments
Open

使用时报错 #7

779257747 opened this issue Oct 4, 2023 · 2 comments

Comments

@779257747
Copy link

想用chateval这套代码评估我自己微调后模型与原模型的不同回复,在运行时报错no module named 'bmtools.agent',如果我把bmtools这个开源项目放到chateval这个文件夹中那么所有from bmtools都要改,但是bmtools这个包安装最新版本之后仍然报错

@779257747
Copy link
Author

原来使用的pip install bmtools和要用的bmtools不是一个东西 手动下载了项目 移动到了 site-packages就行了

@caishuo-C
Copy link

原来使用的pip install bmtools和要用的bmtools不是一个东西 手动下载了项目 移动到了 site-packages就行了

老哥,想问下您“手动下载了项目 移动到了 site-packages就行了”具体是怎么操作的?以下是我的操作:

在自己的虚拟环境下
git clone [email protected]:OpenBMB/BMTools.git
cd BMTools
pip install --upgrade pip
pip install -r requirements.txt
python setup.py develop

但是遇到了和您同样问题,所有from bmtools都要改,bmtools这个包安装最新版本之后仍然报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants