-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
4,240 additions
and
29 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
# Данные для обучения | ||
|
||
Модель обучена на данных из русской Википедии. Скрипты для получения данных находятся в директории `scripts`. Текущий датасет собран следующей командой: | ||
Модель обучена на данных из русской Википедии. Скрипты для получения данных находятся в директории `scripts`. | ||
|
||
Текущий датасет собран следующей командой: | ||
|
||
```shell | ||
python scripts/extract_sentences_from_wiki.py -j 8 -s 50 -n 1000000 | ||
``` | ||
|
||
Затем произведена первичная очистка текста: | ||
|
||
```shell | ||
python scripts/preprocess_sentences.py -j 4 | ||
``` | ||
Финальный датасет собирается следующей командой: | ||
```shell | ||
python scripts/compile_dataset.py | ||
``` |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.