For students who are in the 2024 writing class of the School of Computer Science and Technology of Soochow University, Professor Li Zhenghua.
The main debugging file is: examples/honesty/honesty.ipynb.
The following is the model I debugged. Download it locally and change the loading path in the main file to your own local path. File shared through Baidu Netdisk: Mistral-7B-Instruct-v0.1.rar Link: https://pan.baidu.com/s/19QnoygjGcDLJIdV9Et-AEg Extraction code: agdr
I have put the operating environment in the requirement.txt file. Please check the versions of each package yourself; please note that the repe package can be edited and installed.
This model can be run on a GeForce RTX 3090.
To install repe from the github repository main branch, run:
cd representation-engineering
pip install -e .调试主文件为:examples/honesty/honesty.ipynb。
以下是我调试的模型,下载到本地,将主文件中的加载路径改为自己的本地路径。 通过百度网盘分享的文件:Mistral-7B-Instruct-v0.1.rar 链接:https://pan.baidu.com/s/19QnoygjGcDLJIdV9Et-AEg 提取码:agdr
运行环境我已经放在requirement.txt文件中,自行对照各个包的版本;其中请注意repe包的可编辑安装。
这个模型可以使用一张GeForce RTX 3090运行。
要从 github 存储库主分支安装 repe,请运行:
cd representation-engineering
pip install -e .