-
Notifications
You must be signed in to change notification settings - Fork 14
Usage
Tony edited this page Mar 19, 2022
·
1 revision
- Navigate to the apps
/docsendpoint (usually found at http://0.0.0.0:8000/docs). Alternatively, if for some reason that is not possible, you can send curl requests to the app. - Register an user. Make sure to set the
permission_levelto a value greater than 0 and give it a username/password combination. - Generate a token. Input the username/password but leave all other fields blank.
- Log into the app by using the
Authorizebutton, using your username/password. - Load you first model. For the purposes of debugging you may want to use a smaller model like
hakurei/gpt-j-random-tinier(for testing only) oriokru/c1-1.3B(one of the smallest 'coherent' models). - After the model's loading has been completed, use the
Get model listfunction to check if your model is in the database and flagged asready. - Use the
generatefunction to test the model. Make sure to set the correct values for themodelyou have loaded, as well as add some text that you want the bot to reply to in thepromptvalue.