Giter VIP home page Giter VIP logo

parallel-prompt's Introduction

Parallel prompt of GPT

我们搭建了一个网页应用,实现并行运行ChatGPT Prompt,解决使用ChatGPT api运行代码慢的问题。 本项目基于parallel_process_gpt实现.

Hi, we have built a web page application which can be used for parallel prompt processing using GPT api.
The English instruction click here: README_english

中文使用说明

1 安装

  1. 下载压缩包到一个文件夹,解压缩。打开Anaconda prompt命令行,创建一个新的环境:
    conda create -n chatgpt_env python=3.11
  2. 激活环境:
    conda activate chatgpt_env
  3. 定位到该文件夹:
    cd <该文件夹路径>
  4. 在这个文件夹下运行:
    pip install -r requirements.txt

2 运行

  1. 继续在文件夹下运行:
    python app.py
  2. 在命令行显示的文本中找到网页链接:
    * Running on http://127.0.0.1:5000
    复制链接到浏览器打开,如下图所示。 输入你的api的Base URL和KEY,Prompt,选择模型名称,上传文件,点击RUN运行,运行时间可能从几分钟到几小时不等,时间取决于数据量大小,运行完之后,下载按钮会出现,一键下载。

website_screenshot

3 致谢

特别感谢parallel_process_gpt

parallel-prompt's People

Contributors

doriswangdr avatar jasonjyang avatar

Stargazers

 avatar RebeWu avatar  avatar

Watchers

 avatar

Forkers

doriswangdr

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.