Downloads · 30 days
18
3% of all-time downloads
zlsl/ru_warcraft
ru_warcraft is a text generation model from zlsl. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as gpl-3.0.
Downloads · 30 days
18
3% of all-time downloads
All-time downloads
718
Public
Parameters
176M
1.1 GB on disk
Likes
3
Public
Click a slice to open those files.
.bin551 MB · 50%
How the weights are stored.
F32125M · 71%
From the Hugging Face model README
Модель обученная на книгах по Warcraft
В инструменте поломана работа с GPT-2, GPTJ, GPT-NEO и аналогичными модлями, неверно загружается токенизер. Ошибка такая:<br>
eos_token_id = eos_token_id[0] IndexError: list index out of range
Исправляется легко, в файл modules/models.py в функцию load_tokenizer() надо добавить строчку<br> <code>tokenizer.eos_token_id = 2</code><br> перед<br> <code>return tokenizer</code>