Update README

This commit is contained in:
oobabooga 2023-01-15 15:40:03 -03:00
parent afe9f77f96
commit 26d8ec3188

View File

@ -119,23 +119,18 @@ Then browse to
Optionally, you can use the following command-line flags: Optionally, you can use the following command-line flags:
``` | Flag | Description |
-h, --help show this help message and exit |-------------|-------------|
--model MODEL Name of the model to load by default. | -h, --help | show this help message and exit |
--notebook Launch the webui in notebook mode, where the output is written to the same | --model MODEL | Name of the model to load by default. |
text box as the input. | --notebook | Launch the webui in notebook mode, where the output is written to the same text box as the input. |
--chat Launch the webui in chat mode. | --chat | Launch the webui in chat mode.|
--cai-chat Launch the webui in chat mode with a style similar to Character.AI's. If | --cai-chat | Launch the webui in chat mode with a style similar to Character.AI's. If the file profile.png exists in the same folder as server.py, this image will be used as the bot's profile picture.|
the file profile.png exists in the same folder as server.py, this image | --cpu | Use the CPU to generate text.|
will be used as the bot's profile picture. | --auto-devices | Automatically split the model across the available GPU(s) and CPU.|
--cpu Use the CPU to generate text. | --load-in-8bit | Load the model with 8-bit precision.|
--auto-devices Automatically split the model across the available GPU(s) and CPU. | --no-listen | Make the webui unreachable from your local network.|
--load-in-8bit Load the model with 8-bit precision. | --settings-file SETTINGS\_FILE | Load default interface settings from this json file. See settings-template.json for an example.|
--no-listen Make the webui unreachable from your local network.
--settings-file SETTINGS_FILE
Load default interface settings from this json file. See settings-
template.json for an example.
```
## Presets ## Presets