Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

  1. install cuda or cpu version of torch and set the DEVICE in the config accordingly (transformers could potentially require a independent installation aswell)

  2. set up app/config.py

example:

HOST = "0.0.0.0"
PORT = 8000

MONGO_DETAILS = "mongodb://admin:password@localhost:27017"

DELETION_POOLING_INTERVAL = 3600
EXPIRATION_TIME = 3600
BATCH_SIZE = 16
DEVICE = "cpu"
pip install -r requirements.txt

docker compose up -d
python app/main.py

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages