Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
The state of NLP in production 🥽
Search
Abdur-Rahmaan Janhangeer
August 27, 2023
Programming
0
71
The state of NLP in production 🥽
NLP in production vs real life
Abdur-Rahmaan Janhangeer
August 27, 2023
Tweet
Share
More Decks by Abdur-Rahmaan Janhangeer
See All by Abdur-Rahmaan Janhangeer
Extending Flask using the Flask Plugins API
osdotsystem
0
25
PEPs that hit the front page
osdotsystem
0
34
libSQL: Taking Sqlite To The Moon
osdotsystem
0
110
Boosting Python With Rust 🚀
osdotsystem
0
130
Flet: Flutter in Python
osdotsystem
0
270
SQLite Internals: How The World's Most Used Database Works
osdotsystem
2
3.6k
Fast Flask Dev For Big Codebases
osdotsystem
0
160
Python Bytecode or How Python Operates
osdotsystem
0
220
How To OpenSource
osdotsystem
0
120
Other Decks in Programming
See All in Programming
Method Swizzlingを行うライブラリにおけるマルチモジュール設計
yoshikma
0
120
Kotlin 2.0 and Beyond
antonarhipov
2
150
Rubyとクリエイティブコーディングの輪の広がり / The Growing Circle of Ruby and Creative Coding
chobishiba
1
270
2024 컴포즈 정원사
jisungbin
0
150
React + TextAliveでカッコいいLyric Applicatioinを作ろう!!
tosuri13
0
400
Android開発以外のAndroid開発経験の活かしどころ
konifar
2
1k
今インフラ技術をイチから学び直すなら
yuhta28
1
140
Lessons by WebAssembly app in production on CDN Edge Computing Service
tetsuharuohzeki
0
210
Desafios e Lições Aprendidas na Migração de Monólitos para Microsserviços em Java
jessilyneh
2
150
ECMAScript、Web標準の型はどう管理されているか / How ECMAScript and Web standards types are maintained
petamoriken
3
390
LangGraphでのHuman-in-the-Loopの実装
os1ma
3
1.1k
ドメイン駆動設計を実践するために必要なもの
bikisuke
4
330
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
692
190k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
230
17k
WebSockets: Embracing the real-time Web
robhawkes
59
7.3k
Designing with Data
zakiwarfel
98
5k
How GitHub Uses GitHub to Build GitHub
holman
472
290k
What the flash - Photography Introduction
edds
67
11k
Making Projects Easy
brettharned
113
5.8k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
354
29k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
41
6.5k
How GitHub (no longer) Works
holman
310
140k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
Building a Modern Day E-commerce SEO Strategy
aleyda
36
6.8k
Transcript
The state of NLP in production
None
Python Mauritius Usergroup site fb linkedin mailing list 3
url pymug.com site 4
About me compileralchemy.com 5
slides 6
The state of NLP in production 7
Hardest part of a real-world project 8
? 9
Is it cooking up an awesome model? 10
No, the world is more complex than this 11
Elements of an NLP project 12
NLP project gather data clean store train use model retrain
model 13
gather data 14
Toy project use curated data set quick extraction 15
Real project a lot of data needed data corresponds to
business case. data probably does not exist speed of data gathering find ingenious / better ways of getting data automate collection 16
clean/preprocess data 17
Toy project use an existing parser / curator e.g. NLTK
existing options 18
Real project use a parser intended for it, several custom
steps parallel processing of data 19
store data 20
Toy project laptop 21
Real project cloud database hot / cold data TTL 22
training 23
Toy project use laptop / external GPU 24
Real project on cloud training on cloud knowledge cross-cloud skills
fault tolerance 25
use model 26
Toy project local website / code 27
Real project continuation of pipeline web service architecture devops /
deploy 28
retraining 29
Toy project euhh this even exists???? 30
Real project learn cloud offerings for continuous learning ways to
retrain / fine tune 31
It's more than serving a model 32
Operation model 33
[ pipeline ] data collection --- process --- train -<-
| | --------------------------- model ^ | | | | --->--- V web service [pod] [pod] --- happy user | -> users service [pod] [pod] | -> db service [pod] 34
skills chart 35
skills --------------- --------------- | | | | | backend |
| devops | | | | | --------------- --------------- --------------- --------------- | | | | | backend | | data eng | | | | | --------------- --------------- 36
skills --------------- --------------- | | | | | backend |
| devops | | | | | --------------- --------------- web service deploy --------------- --------------- | | | | | ml | | data eng | | | | | --------------- --------------- models pipelining 37
code blueprint [ architecture repos ] [ pipeline repos ]
[ ml repos ] [ backend repos ] 38
Tools 39
Pandas Good queries Much resources Read SQL 40
Dask Good for it's purpose: Parallelize tasks Poor docs 41
Polars Awesome parallelizations Great docs 42
NLTK use spacy if possible 43
Notebooks great for cloud used in production on the cloud
44
Advice to research / scientists folks keep everything clean people
will come after you always in hurry / messy / i'll clean it later mood good practices? is this phrase in the korean dictionary? 45
General advices have great docs good onboarding have great standards
46
Keep learning! 47