This is a NN model for generating a Japanese funny caption for a image referenced on Neural Joking Machine : Humorous image captioning.
A lot of codes are from this repository.
git clone https://github.com/meciwo/neural_joking_machine.git
cd neural_joking_machineif you have already installed poetry
poetry installif you havn't installed poetry
pip install poetry
poetry installpython scr/scrayping.pypython src/build_vocab.pypython src/train.pypython src/sampling --image PATH_TO_YOUR_IMAGE