mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 20:04:52 +00:00
Update using_cli.md
This commit is contained in:
parent
4d5fc1235f
commit
6523e8f2a7
@ -10,19 +10,19 @@ text-generation-server download-weights MODEL_HUB_ID
|
|||||||
|
|
||||||
You can also use it to quantize models like below 👇
|
You can also use it to quantize models like below 👇
|
||||||
|
|
||||||
```shell
|
```bash
|
||||||
text-generation-server quantize MODEL_HUB_ID OUTPUT_DIR
|
text-generation-server quantize MODEL_HUB_ID OUTPUT_DIR
|
||||||
```
|
```
|
||||||
|
|
||||||
You can use `text-generation-launcher` to serve models.
|
You can use `text-generation-launcher` to serve models.
|
||||||
|
|
||||||
```shell
|
```bash
|
||||||
text-generation-launcher --model-id MODEL_HUB_ID --port 8080
|
text-generation-launcher --model-id MODEL_HUB_ID --port 8080
|
||||||
```
|
```
|
||||||
|
|
||||||
There are many options and parameters you can pass to `text-generation-launcher`. The documentation for CLI is kept minimal and intended to rely on self-generating documentation, which can be found by running
|
There are many options and parameters you can pass to `text-generation-launcher`. The documentation for CLI is kept minimal and intended to rely on self-generating documentation, which can be found by running
|
||||||
|
|
||||||
```shell
|
```bash
|
||||||
text-generation-launcher --help
|
text-generation-launcher --help
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user