Use Google colab to deploy AutoGpt for free

Hello everyone, I am a developer of THEAI forum.Click to visit the professional Chinese AI forum website
1. Google colab related configuration a> 8. Run the main program (if GPT4 is called, you need to delete –gpt3only)< /span> Usually, the results copied from the web page have a lot of characters, and the single translation limit of Baidu Translate and Google Translate is 5,000. Characters, you can copy the result to create a new txt or docx document, upload it to this website and download it after translation. URL:3. How to translate English results into Chinese . 10. When you want to end the AI ​​running, just press and hold , otherwise GPT will keep running. and need to be filled in. Generally, If you don’t need to fill it in, you can fill in the last two in sequence. Please use English when setting. Among them, 5 of 9. After running the main program, you need to fill in 7. After modification, rename the env.txt file to .env 5. Dependencies for the installation program to run 4. Enter the Auto-GPT directory 3. Clone the github project to the cloud drive , so that the data can be saved to the cloud drive without fear of loss 2. Enter the MyDrive directory 1 .Run the following code to mount Google Drive to the virtual machine, and the drive folder will appear on the left 2. Run related code--- 4. To change the virtual machine settings, click the upper left corner on the Colaboratory page to allocate the virtual machine: 3. Click -- 2. Click 1. Access Google Drive:
Colaboratory, referred to as "Colab", is a product developed by the Google Research team. In Colab, anyone can write and execute arbitrary Python code through a browser. It is especially suitable for machine learning, data analysis and educational purposes. Technically, Colab is a hosted Jupyter notebook service.
https://drive.google.com/drive/my-drive
我的云端硬盘更多Google Colaboratory
1.png
连接
2.jpg
修改笔记本设置硬件加速器GPU
3.jpg


from google.colab import drive drive.mount('/content/drive')

cd drive/MyDrive

!git clone https://github.com/Torantulino/Auto-GPT.git

cd Auto-GPT

!pip install -r requirements.txt

!mv .env.template env.txt

!mv env.txt .env

!python scripts/main.py --continuous --gpt3only
ai_name ai_role ai_goalsai_goalssave to fileshutdown
ctrl+c

https://superdoctranslator.com/

Guess you like

Origin blog.csdn.net/weixin_41668657/article/details/130164997