mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
1.1 KiB
1.1 KiB
GPT-4chan
GPT-4chan has been shut down from Hugging Face, so you need to download it elsewhere. You have two options:
The 32-bit version is only relevant if you intend to run the model in CPU mode. Otherwise, you should use the 16-bit version.
After downloading the model, follow these steps:
- Place the files under
models/gpt4chan_model_float16
ormodels/gpt4chan_model
. - Place GPT-J 6B's config.json file in that same folder: config.json.
- Download GPT-J 6B's tokenizer files (they will be automatically detected when you attempt to load GPT-4chan):
python download-model.py EleutherAI/gpt-j-6B --text-only
When you load this model in default or notebook modes, the "HTML" tab will show the generated text in 4chan format.