2018 04 19 nlp meetup - wordpress.com · @adrien_ball, senior machine learning engineer. wakeword...
TRANSCRIPT
![Page 1: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/1.jpg)
Snips NLU An Open Source, Private by Design alternative to NLU cloud services
@adrien_ball, Senior Machine Learning Engineer
![Page 2: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/2.jpg)
![Page 3: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/3.jpg)
Wakeword Speech to text Natural Language Understanding
![Page 4: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/4.jpg)
Speech to text Natural Language Understanding
![Page 5: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/5.jpg)
“What will be the weather in Paris
tomorrow evening?”
{ "intent": { "intentName": "searchWeatherForecast", "probability": 0.95 }, "slots": [ { "value": “Paris", "entity": "locality", "slotName": "forecastLocality" }, { "value": { "kind": "InstantTime", "value": "2018-04-19 19:00:00 +00:00" }, "entity": "snips/datetime", "slotName": "forecastDatetime" } ] }
Natural Language Understanding
![Page 6: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/6.jpg)
Why Snips NLU?
![Page 7: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/7.jpg)
Data Privacy
Q. Are voice and text inputs processed by Amazon Lex stored, and how are they used by AWS?
Amazon Lex may store and use voice and text inputs processed by the service solely to provide and maintain the service and to improve and develop the quality of Amazon Lex and other Amazon machine-learning/artificial-intelligence technologies. Use of your content is necessary for continuous improvement of your Amazon Lex customer experience, including the development and training of related technologies.(…)
https://aws.amazon.com/lex/faqs/#data-privacy
![Page 8: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/8.jpg)
AI logic developper code
NLU cloud
NLU cloud
AI logic developper code
NLU cloud as backendNLU cloud as frontend
NLU CLOUD SOLUTIONS + ALTERNATIVES
AI logic developper code
On premises NLU
![Page 9: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/9.jpg)
AI logic developper code
NLU cloud
NLU cloud
AI logic developper code
NLU cloud as backendNLU cloud as frontend
NLU CLOUD SOLUTIONS + ALTERNATIVES
AI logic developper code
On premises NLU Embedded NLU
![Page 10: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/10.jpg)
snips-nluPython library
Training + Inference
Apache 2
snips-nlu-rs Snips consoleRust library
Inference
Apache 2 / MIT
https://console.snips.ai
Training
Self service / Professional services
Snips NLU ecosystem
![Page 11: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/11.jpg)
• deterministic behavior
• great generalization power
Objectives & Constraints
• rapid prototyping
• fast & lightweight
• portability
• extensibility
![Page 12: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/12.jpg)
![Page 13: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/13.jpg)
snips-nlu• Rapid prototyping
• Rapid debugging
• ML ecosystem
snips-nlu-rs
• Speed
• Portability
Python / Rust complementarity
![Page 14: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/14.jpg)
snips-nlu• Rapid prototyping
• Rapid debugging
• ML ecosystem
snips-nlu-rs
• Speed
• Portability
Python / Rust complementarity
JSON serialization
![Page 15: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/15.jpg)
🤔 Speed?
Accuracy?
![Page 16: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/16.jpg)
Snips NLU inference time
🤔 Speed?
![Page 17: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/17.jpg)
🤔 Accuracy?
Extension of Evaluating Natural Language Understanding Services for Conversational Question Answering Systems
![Page 18: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/18.jpg)
NLU cloud frontend
NLU cloud backend
On premises NLU
Embedded NLU
Privacy
Speed 2 roundtrips 2 roundtrips 1 roundtrip Few milliseconds
Accuracy State of the art State of the art State of the art State of the art
![Page 19: 2018 04 19 NLP meetup - WordPress.com · @adrien_ball, Senior Machine Learning Engineer. Wakeword Speech to text Natural Language Understanding. Speech to text Natural Language Understanding](https://reader034.vdocuments.site/reader034/viewer/2022042218/5ec46d05da3ccc65a200f202/html5/thumbnails/19.jpg)
https://github.com/snipsco/snips-nlu
Willing to integrate Snips NLU?
Want to join the Snips team?
Questions?
[email protected]@adrien_ball
https://medium.com/snips-ai