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
210
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The state of NLP in production 🥽
NLP in production vs real life
Abdur-Rahmaan Janhangeer
August 27, 2023
More Decks by Abdur-Rahmaan Janhangeer
See All by Abdur-Rahmaan Janhangeer
Building AI Agents with Python: A Deep Dive
osdotsystem
0
100
Extending Flask using the Flask Plugins API
osdotsystem
0
180
PEPs that hit the front page
osdotsystem
0
170
libSQL: Taking Sqlite To The Moon
osdotsystem
0
270
Boosting Python With Rust 🚀
osdotsystem
0
250
Flet: Flutter in Python
osdotsystem
0
560
SQLite Internals: How The World's Most Used Database Works
osdotsystem
2
3.9k
Fast Flask Dev For Big Codebases
osdotsystem
0
290
Python Bytecode or How Python Operates
osdotsystem
0
400
Other Decks in Programming
See All in Programming
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
220
FDEとは、何者なのか?
masapyon1212
0
110
XHTMLが残したもの
yosuke_furukawa
PRO
1
270
이 함수, 실패하면 어떻게 되나요? null부터 Rich Errors까지, Kotlin 에러 처리 15년
haeti2
0
110
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
230
AIエージェント時代のコードレビューを設計する
nogu66
5
1.2k
My Marp Sample
sinoue0108
0
140
初めての模倣学習とVLA
natsutan
0
400
ソフトウェアラスタライザ
fadis
1
760
AIを上手に使っていこうとしたら越境せざるを得なくなった話 〜実践1年で見えた境界を越えなければならない理由と進め方〜 / Crossing borders with AI
tomoyakitaura
2
920
KotlinConf Extended South Korea 2026 Keynote
l2hyunwoo
0
130
進化を続けるGo toolsの現在地 / The Current State of Ever-Evolving Go Tools
hond0413
0
280
Featured
See All Featured
Odyssey Design
rkendrick25
PRO
2
790
So, you think you're a good person
axbom
PRO
2
2.1k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
The World Runs on Bad Software
bkeepers
PRO
72
12k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Paper Plane
katiecoart
PRO
2
53k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.3k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
250
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
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