Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Imageboard bot with recurrent neural network (RNN, GRU)

License

NotificationsYou must be signed in to change notification settings

oupirum/sp2cp

Repository files navigation

WIP

Imageboard bot with recurrent neural network (RNN, GRU)

Бот с нейросетью, обучающейся генерировать комментарии на датасете из тредов с 2ch.hk

JUST FOR LULZ

Screenshot

Screenshot

Screenshot

https://drive.google.com/drive/folders/1Xmm5DTxQ8sJwL2ygefWTPFWsTSviMPDP


How to run


Collect dataset

python3 ./grub_threads.py --board=b

Prepare dataset for training

python3 ./parse_dataset.py --lexicon_limit=100000 --sequence_max_len=50

It will save tokenized dataset and id2token map in./dataset/parsed/ directory.


Train

python3 ./train.py --epochs=20 --batch_size=100

After training you can find trained models and id2token map in./models/ directory.


Run autoposter

python3 ./autoposter.py --weights_file=./models/weights.h5 --id2token_file=./models/id2token.json \  --board=b --passcode=passcode --max_threads=30 \  --max_res_len=30

About

Imageboard bot with recurrent neural network (RNN, GRU)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp