Upload basic API with /generate POST endpoint

This commit is contained in:
vfbd
2022-08-08 02:27:48 -04:00
parent bd13a41eb7
commit 34c9535667
15 changed files with 1672 additions and 7 deletions

View File

@@ -16,6 +16,8 @@ dependencies:
- bleach=4.1.0
- pip
- git=2.35.1
- marshmallow>=3.13
- apispec-webframeworks
- pip:
- git+https://github.com/finetuneanon/transformers@gpt-neo-localattention3-rp-b
- flask-cloudflared

View File

@@ -17,9 +17,11 @@ dependencies:
- git=2.35.1
- sentencepiece
- protobuf
- marshmallow>=3.13
- apispec-webframeworks
- pip:
- flask-cloudflared
- flask-ngrok
- lupa==1.10
- transformers>=4.20.1
- accelerate
- accelerate

View File

@@ -12,6 +12,8 @@ dependencies:
- bleach=4.1.0
- pip
- git=2.35.1
- marshmallow>=3.13
- apispec-webframeworks
- pip:
- --find-links https://download.pytorch.org/whl/rocm4.2/torch_stable.html
- torch

View File

@@ -14,6 +14,8 @@ dependencies:
- git=2.35.1
- sentencepiece
- protobuf
- marshmallow>=3.13
- apispec-webframeworks
- pip:
- --find-links https://download.pytorch.org/whl/rocm4.2/torch_stable.html
- torch==1.10.*