Spaces:
Build error
Build error
ChatGPT Paper Reading Assistant
使用步骤:
在apikey.ini中填入openai的api key(如何获取Api Key)。
使用过程中的网络代理方式:
使用VPN并且保证全局代理;
使用具有SOCKS5代理功能的代理软件,并在终端中指定:
set http_proxy=http://127.0.0.1:<PORT> set https_proxy=http://127.0.0.1:<PORT>
创建虚拟环境并使用国内镜像安装依赖:
conda create -n chatgpt python=3.8 conda activate chatgpt pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
对本地论文进行阅读辅助:运行
chat_assistant.py
,并指定论文路径与论文方向python chat_assistant.py --paper_path "paper/FedSR - A Simple and Effective Domain Generalization Method for Federated Learning.pdf" --research_fields "computer science, artificial intelligence and transfer learning"
Credits
- 在本框架中,从PDF文件提取论文内容的代码由kaixindelele/ChatPaper修改而来;
- 在本框架中,调用OpenAI框架发送、接收请求的代码由nishiwen1214/ChatReviewer修改而来;