ChatAssistant / README.md
Bostoncake's picture
Initial commit
227f71f
|
raw
history blame
1.35 kB

ChatGPT Paper Reading Assistant

使用步骤:

  1. 在apikey.ini中填入openai的api key(如何获取Api Key)。

  2. 使用过程中的网络代理方式:

    • 使用VPN并且保证全局代理;

    • 使用具有SOCKS5代理功能的代理软件,并在终端中指定:

      set http_proxy=http://127.0.0.1:<PORT>
      set https_proxy=http://127.0.0.1:<PORT>
      
  3. 创建虚拟环境并使用国内镜像安装依赖:

    conda create -n chatgpt python=3.8
    conda activate chatgpt
    pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
    
  4. 对本地论文进行阅读辅助:运行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