Open BlogBlocks opened 6 years ago
The bot saves the conversation for further training, see lines 124-126, 188 and 189 of conversation.py. Therefore, you can "fine tune" the pre-trained model using these files to train it for a few epochs.
It is worth mentioning here that the script conversation_discriminator.py performs better than conversation.py.
Shouldn't the files (file_saved_context and file_saved_answer) in conversation.py be open to append? qf = open(file_saved_context, 'a') af = open(file_saved_answer, 'a') That way you can keep adding to the files until training is initiated ?
Yes, it can be that way too. Either way, the idea is to edit these files to select the best utterances before using it for training.
Not a big deal, but Ubuntu 16.04 Python 2.7 0 does not like the spaces in the names. Just replace the spaces with a - and all works well. Example: name='the-context-text name='the-answer-text-up-to-the-current-token Do all the names that way.
Question: Does the bot auto-learn from conversation or must it be retrained with each session ?