mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Add updates to README
This commit is contained in:
parent
71fb71ca30
commit
8c3746b629
16
README.md
16
README.md
@ -37,6 +37,14 @@ Hugging Face is the main place to download models. These are some of my favorite
|
|||||||
|
|
||||||
The files that you need to download are the json, txt, and pytorch\*.bin files. The remaining files are not necessary.
|
The files that you need to download are the json, txt, and pytorch\*.bin files. The remaining files are not necessary.
|
||||||
|
|
||||||
|
For your convenience, you can automatically download a model from HF using the script download-model.py. Its usage is very simple:
|
||||||
|
|
||||||
|
python download-model.py organization/model
|
||||||
|
|
||||||
|
For instance:
|
||||||
|
|
||||||
|
python download-model.py facebook/opt-1.3b
|
||||||
|
|
||||||
#### GPT-4chan
|
#### GPT-4chan
|
||||||
|
|
||||||
[GPT-4chan](https://huggingface.co/ykilcher/gpt-4chan) has been shut down from Hugging Face, so you need to download it elsewhere. You have two options:
|
[GPT-4chan](https://huggingface.co/ykilcher/gpt-4chan) has been shut down from Hugging Face, so you need to download it elsewhere. You have two options:
|
||||||
@ -57,7 +65,13 @@ The output model will be saved to `torch-dumps/model-name.pt`. When you load a n
|
|||||||
conda activate textgen
|
conda activate textgen
|
||||||
python server.py
|
python server.py
|
||||||
|
|
||||||
Then browse to `http://localhost:7860/?__theme=dark`
|
Then browse to
|
||||||
|
|
||||||
|
`http://localhost:7860/?__theme=dark`
|
||||||
|
|
||||||
|
#### Command-line flags
|
||||||
|
|
||||||
|
* `--model MODEL`: load this model by default.
|
||||||
|
|
||||||
## Presets
|
## Presets
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user