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
170
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
Building AI Agents with Python: A Deep Dive
osdotsystem
0
68
Extending Flask using the Flask Plugins API
osdotsystem
0
130
PEPs that hit the front page
osdotsystem
0
120
libSQL: Taking Sqlite To The Moon
osdotsystem
0
220
Boosting Python With Rust 🚀
osdotsystem
0
220
Flet: Flutter in Python
osdotsystem
0
510
SQLite Internals: How The World's Most Used Database Works
osdotsystem
2
3.8k
Fast Flask Dev For Big Codebases
osdotsystem
0
250
Python Bytecode or How Python Operates
osdotsystem
0
340
Other Decks in Programming
See All in Programming
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
450
AI時代でも変わらない技術コミュニティの力~10年続く“ゆるい”つながりが生み出す価値
n_takehata
2
460
DSPy入門 Pythonで実現する自動プロンプト最適化 〜人手によるプロンプト調整からの卒業〜
seaturt1e
1
270
CSC307 Lecture 13
javiergs
PRO
0
310
CSC307 Lecture 08
javiergs
PRO
0
690
並行開発のためのコードレビュー
miyukiw
2
2k
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
5
890
The Ralph Wiggum Loop: First Principles of Autonomous Development
sembayui
0
3.7k
「やめとこ」がなくなった — 1月にZennを始めて22本書いた AI共創開発のリアル
atani14
0
280
AIとペアプロして処理時間を97%削減した話 #pyconshizu
kashewnuts
1
150
今から始めるClaude Code超入門
448jp
8
9.5k
Agent Skills Workshop - AIへの頼み方を仕組み化する
gotalab555
12
6.8k
Featured
See All Featured
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
63
Deep Space Network (abreviated)
tonyrice
0
77
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
400
Designing Powerful Visuals for Engaging Learning
tmiket
0
250
What does AI have to do with Human Rights?
axbom
PRO
0
2k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
92
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
130
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.1k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
77
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
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