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

A new tutorial showing how to build and train a simple chat bot #208

Open
ariyadey opened this issue Jan 7, 2022 · 1 comment
Open

A new tutorial showing how to build and train a simple chat bot #208

ariyadey opened this issue Jan 7, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@ariyadey
Copy link

ariyadey commented Jan 7, 2022

Hi,

Tribuo is still considered a new library and there is no third-party tutorial out there. I wanted to build a chatbot by reading the documentation, but I gave up after a while. I found OpenNLP is much more beginner-friendly for this purpose.

I recommend adding a step-by-step tutorial on how to build and train a simple chatbot using Tribuo. I think that would be a great way to showcase the Tribuo capabilities in NLP. You can use either build-in methods or external libraries wrappers for this approach.

@ariyadey ariyadey added the enhancement New feature or request label Jan 7, 2022
@Craigacp
Copy link
Member

Craigacp commented Jan 7, 2022

Do you mean this kind of thing - https://itsallbinary.com/create-your-own-chat-bot-in-java-using-apache-opennlp-artificial-intelligence-natural-language-processing/, or something else? The link I posted strikes me as a fairly complicated approach for intent routing and entity extraction/tagging. Intent routing can be seen as sentence/document classification and we discuss text featurization approaches for classification in our document classification tutorial. Lemmatizing and POS tagging the words as they do in that tutorial could help, but embedding based approaches tend to be more powerful. That said, we don't have any guidance for building NER models in Tribuo using our CRF or sequence models as our sequence feature extraction & sentence processing layer isn't open source, so a tutorial for entity extraction using plain Tribuo would be pretty useful.

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

No branches or pull requests

2 participants