Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/bertandogancay/gpt2-web
- Owner: BertanDogancay
- Created: 2023-03-22T07:37:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-29T10:07:19.000Z (almost 2 years ago)
- Last Synced: 2024-11-30T01:28:05.640Z (2 months ago)
- Topics: chatbot, dialogpt, docker, flask-application, gpt-2
- Language: HTML
- Homepage:
- Size: 70.3 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 CLI4) 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)