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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Abdur-Rahmaan Janhangeer
August 27, 2023
Programming
190
0
Share
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
82
Extending Flask using the Flask Plugins API
osdotsystem
0
150
PEPs that hit the front page
osdotsystem
0
140
libSQL: Taking Sqlite To The Moon
osdotsystem
0
240
Boosting Python With Rust 🚀
osdotsystem
0
240
Flet: Flutter in Python
osdotsystem
0
530
SQLite Internals: How The World's Most Used Database Works
osdotsystem
2
3.8k
Fast Flask Dev For Big Codebases
osdotsystem
0
260
Python Bytecode or How Python Operates
osdotsystem
0
350
Other Decks in Programming
See All in Programming
サークル参加から学ぶ、小さな事業の回し方
yuzneri
0
180
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
320
開発とはなにか、Essenceカーネルで見えるもの
ukin0k0
0
160
Liberating Ruby's Parser from Lexer Hacks
ydah
2
2.7k
ローカルLLMでどこまでコードが書けるか / How much code can be written on a local LLM
kishida
2
350
実用!Hono RPC2026
yodaka
2
310
UaaL×Androidアプリのメモリ計測 — Memory Profilerの先へ
rio432
0
160
Symfony AI in Action - SymfonyLive Berlin 2026
chr_hertel
1
140
(Re)make Regexp in Ruby: Democratizing internals for the JIT
makenowjust
3
1.1k
AIを導入する前にやるべきこと
negima
2
350
mruby on C#: From VM Implementation to Game Scripting (RubyKaigi 2026)
hadashia
2
1.8k
属人化しないコード品質の作り方_2026.04.07.pdf
muraaano
0
350
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
9
820
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
170
The Pragmatic Product Professional
lauravandoore
37
7.3k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
350
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
550
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
800
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
We Are The Robots
honzajavorek
0
230
Exploring anti-patterns in Rails
aemeredith
3
350
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
Agile that works and the tools we love
rasmusluckow
331
21k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
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