how to train from corpus when use in the django
See original GitHub issueI put a train.py in the same file with the manage.py.
the code like this
from chatterbot import ChatBot from chatterbot.trainers import ChatterBotCorpusTrainer chatbot = ChatBot('Chatterbot',trainer='chatterbot.trainers.CorpusTrainer') trainer = ChatterBotCorpusTrainer(chatbot) trainer.train( 'chatterbot.corpus.chinese' )
I run the train.py first.
and run manage.py migrate
then run manage.py runserver.
But it can’t answer the question right from the corpus.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to specify custom corpus path in Django for Chatterbot?
It seems one can use custom corpus json files by specify a path to the location. However, I'm confused by how that is...
Read more >Training Django ChatterBot · Issue #1653 - GitHub
I found a way to train Django chatterbot. I train it using ChatterBotCorpusTrainer but haven't integrated it into Django yet.
Read more >Training — ChatterBot 1.0.8 documentation - Read the Docs
ChatterBot comes with a corpus data and utility module that makes it easy to quickly train your bot to communicate. To do so,...
Read more >Training Pipelines & Models · spaCy Usage Documentation
When converting training data for use in spaCy, the main thing is to create Doc objects just like the results you want as...
Read more >How to Train a BERT Model From Scratch
For those of you that may not have used transformers models (eg what ... In terms of data for training a transformer model,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
thank you.I use the chatterbot 0.8.7 to ensure that I can use well.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.