芝士就是菜

芝士就是菜

公众号 芝士就是菜
zhihu
bilibili
youtube
twitter
github
email

ChatGPT Academic Optimization - VsCode+Anaconda Configuration

Project Introduction#

image.png

A specialized extension of ChatGPT for scientific research work, specifically optimized for enhancing the experience of proofreading academic papers. It supports custom shortcut buttons, custom function plugins, markdown code block table display, dual display of Tex formulas, and new features such as Python/C++ project analysis/translation. It also supports PDF/LaTex paper translation/summarization functions and is compatible with local models such as ChatGLM. Although the original project is already very detailed, it can still be difficult to configure for those who are not familiar with Python. Today, we will provide a detailed guide on configuring this environment using vscode+anaconda.

Project Address

image.png

Project Features#

FeatureDescription
One-click ProofreadingSupports one-click proofreading and finding grammar errors in papers
One-click Translation between Chinese and EnglishSupports one-click translation between Chinese and English
One-click Code ExplanationCan correctly display and explain code
Custom Shortcut KeysSupports custom shortcut keys
Proxy Server ConfigurationSupports proxy server configuration
Modular DesignSupports custom high-level experimental features and function plugins, with plugin support for hot updates
Self-program Profiling[Function Plugin] One-click understanding of the source code of this project
Program Profiling[Function Plugin] One-click profiling of other Python/C/C++/Java projects
Read Papers[Function Plugin] One-click interpretation of the full text of LaTeX papers and generation of abstracts
Batch Comment Generation[Function Plugin] One-click batch generation of function comments
Chat Analysis Report Generation[Function Plugin] Automatically generates summary reports after running
arXiv Assistant[Function Plugin] Enter the arXiv article URL to translate the abstract and download the PDF with one click
PDF Paper Translation[Function Plugin] Extracts the title and abstract of a PDF paper and translates the full text (multi-threaded)
Google Scholar Integration Assistant (Version>=2.45)[Function Plugin] Given any Google Scholar search page URL, let GPT help you select interesting articles
Formula DisplayCan display formulas in both Tex format and rendered format
Image DisplayCan display images in markdown
Multi-threaded Function Plugin SupportSupports multi-threaded calling of ChatGPT for one-click processing of massive text or programs
Supports Markdown Tables Output by GPTCan output GPT-supported markdown tables
Start Dark Gradio ThemeAdd /?__dark-theme=true to the end of the browser URL to switch to the dark theme
Huggingface Free Internet Access Online ExperienceLog in to Huggingface and copy this space
......

VSCode+Anaconda Configuration#

1. Clone the project to your local machine#

1. Use Git#

Create a new folder locally and then clone the project directly using a Git tool.

2. Download directly#

2. Configure APIKEY and Proxy#

Here, you need the OpenAI API key and a method for accessing the internet. The original documentation provides a comprehensive explanation.

Tutorial: Complete Beginner's Guide in the Project

3. Configure the Environment in VSCode#

1. Open Anaconda Prompt#

Execute the following commands

  1. conda create -n gptac_venv python=3.11

  2. conda activate gptac_venv

  3. python -m pip install -r requirements.txt

Note: Use the official pip source or Aliyun pip source. Other pip sources (such as some university pip sources) may cause problems. Temporary source switching method:

python -m pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/

2. Open VSCode#

  1. Press ctrl + shift + p to open settings

  2. Search for Python interpreter

  3. Select the created conda environment

  4. Press ctrl + ~ to bring up the terminal and enter python main.py

4. Congratulations!#

Now you can use it happily.

Here are several useful features, such as English academic proofreading, Chinese academic proofreading, Chinese-English translation, and grammar error checking.

PS: The previous ChatGPT account had a free quota of $18 for API usage, but this free quota expired on April 1st. So if your account was registered before, it may show insufficient quota. In this case, there are two solutions:

  • Add money to the original account, which can be quite troublesome.
  • Create a new account (recommended), which has the lowest cost. The newly created account comes with a $5 quota, which is actually quite a lot and can be used for a long time.
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.