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
86
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
50
PEPs that hit the front page
osdotsystem
0
52
libSQL: Taking Sqlite To The Moon
osdotsystem
0
140
Boosting Python With Rust 🚀
osdotsystem
0
150
Flet: Flutter in Python
osdotsystem
0
330
SQLite Internals: How The World's Most Used Database Works
osdotsystem
2
3.6k
Fast Flask Dev For Big Codebases
osdotsystem
0
180
Python Bytecode or How Python Operates
osdotsystem
0
250
How To OpenSource
osdotsystem
0
130
Other Decks in Programming
See All in Programming
Rubyでつくるパケットキャプチャツール
ydah
0
150
Flatt Security XSS Challenge 解答・解説
flatt_security
0
700
テストコードのガイドライン 〜作成から運用まで〜
riku929hr
7
1.4k
『改訂新版 良いコード/悪いコードで学ぶ設計入門』活用方法−爆速でスキルアップする!効果的な学習アプローチ / effective-learning-of-good-code
minodriven
28
3.8k
ErdMap: Thinking about a map for Rails applications
makicamel
1
460
shadcn/uiを使ってReactでの開発を加速させよう!
lef237
0
290
ドメインイベント増えすぎ問題
h0r15h0
2
560
Внедряем бюджетирование, или Как сделать хорошо?
lamodatech
0
920
オニオンアーキテクチャを使って、 Unityと.NETでコードを共有する
soi013
0
370
Fibonacci Function Gallery - Part 2
philipschwarz
PRO
0
210
HTML/CSS超絶浅い説明
yuki0329
0
190
chibiccをCILに移植した結果 (NGK2025S版)
kekyo
PRO
0
110
Featured
See All Featured
Facilitating Awesome Meetings
lara
50
6.2k
4 Signs Your Business is Dying
shpigford
182
22k
Agile that works and the tools we love
rasmusluckow
328
21k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
Unsuck your backbone
ammeep
669
57k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
What's in a price? How to price your products and services
michaelherold
244
12k
How GitHub (no longer) Works
holman
312
140k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.2k
Code Reviewing Like a Champion
maltzj
521
39k
jQuery: Nuts, Bolts and Bling
dougneiner
62
7.6k
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