Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not a big deal, but Ubuntu does not like the spaces in the names #22

Open
BlogBlocks opened this issue Jul 3, 2018 · 4 comments
Open

Comments

@BlogBlocks
Copy link

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 ?

@oswaldoludwig
Copy link
Owner

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.

@oswaldoludwig
Copy link
Owner

oswaldoludwig commented Jul 3, 2018

It is worth mentioning here that the script conversation_discriminator.py performs better than conversation.py.

@BlogBlocks
Copy link
Author

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 ?

@oswaldoludwig
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants