Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bertandogancay/gpt2-web

A flask application that uses DialoGPT model.
https://github.com/bertandogancay/gpt2-web

chatbot dialogpt docker flask-application gpt-2

Last synced: 2 days ago
JSON representation

A flask application that uses DialoGPT model.

Awesome Lists containing this project

README

        

# GPT2-Web
A flask application that uses DialoGPT model.

## Try it!
Note: The model takes about 1 min to load. It will be improved.

https://flask-service-iolnexrvpa-ue.a.run.app

## Steps to Deploy:
1) Create docker image
``` command
cd
docker build -t .
```
2) Test if it works by running
``` command
docker run -p 8080:8080
```
3) Create a Google Cloud account, new project and install the CLI

4) Deploy it!
``` command
cd
gcloud builds submit --tag gcr.io//
gcloud run deploy --image gcr.io// --cpu 2.0 --memory 8Gi
```
## Example Output:

https://user-images.githubusercontent.com/111835151/226846308-524a2592-78e8-480f-bde5-f66bfcb3f6e3.mp4

[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/bertandogancay)