The Annotated Transformer
The Transformer has been on a lot of people’s minds over the last five years. This post presents an annotated version of the paper in the form of a line-by-line implementation.
http://nlp.seas.harvard.edu/annotated-transformer/
The Transformer has been on a lot of people’s minds over the last five years. This post presents an annotated version of the paper in the form of a line-by-line implementation.
http://nlp.seas.harvard.edu/annotated-transformer/
Memory Management in Python - Part 2: Equality
When are two Python objects the same? What does that even mean?
https://anvil.works/articles/pointers-in-my-python-2
When are two Python objects the same? What does that even mean?
https://anvil.works/articles/pointers-in-my-python-2
Anvil
Memory Management in Python - Part 2: Equality
When are two Python objects the same? What does that even mean? Join me for a tour of some of CPython’s dark memory magic and unintuitive behaviours.
(Part 2 of the “Pointers? In My Python?” series.)
(Part 2 of the “Pointers? In My Python?” series.)
Lightning-AI / lightning
Build high-performance AI models with PyTorch Lightning (organized PyTorch). Deploy models with Lightning Apps (organized Python to build end-to-end ML systems).
https://github.com/Lightning-AI/lightning
Build high-performance AI models with PyTorch Lightning (organized PyTorch). Deploy models with Lightning Apps (organized Python to build end-to-end ML systems).
https://github.com/Lightning-AI/lightning
GitHub
GitHub - Lightning-AI/pytorch-lightning: Pretrain, finetune ANY AI model of ANY size on multiple GPUs, TPUs with zero code changes.
Pretrain, finetune ANY AI model of ANY size on multiple GPUs, TPUs with zero code changes. - Lightning-AI/pytorch-lightning
Design Patterns in Machine Learning Code and Systems
Design patterns are not just a way to structure code. They also communicate the problem addressed and how the code or component is intended to be used. Here are some patterns I’ve observed in machine learning code and systems.
https://eugeneyan.com/writing/design-patterns/
Design patterns are not just a way to structure code. They also communicate the problem addressed and how the code or component is intended to be used. Here are some patterns I’ve observed in machine learning code and systems.
https://eugeneyan.com/writing/design-patterns/
eugeneyan.com
Design Patterns in Machine Learning Code and Systems
Understanding and spotting patterns to use code and components as intended.
MoreThanSentiments: A Python Library for Text Quantification
A collection of functions that help researchers calculate Boilerplate, Redundancy, Specificity, ...
https://towardsdatascience.com/morethansentiments-a-python-library-for-text-quantification-e57ff9d51cd5
A collection of functions that help researchers calculate Boilerplate, Redundancy, Specificity, ...
https://towardsdatascience.com/morethansentiments-a-python-library-for-text-quantification-e57ff9d51cd5
Medium
MoreThanSentiments: Text Analysis Package
A collection of functions that help researchers calculate Boilerplate, Redundancy, Specificity, Relative Prevalence, etc., in python
Cython for absolute beginners: 30x faster code in two simple steps
Easy Python code compilation for blazingly fast applicationsContinue reading on Towards Data ...
https://towardsdatascience.com/cython-for-absolute-beginners-30x-faster-code-in-two-simple-steps-bbb6c10d06ad
Easy Python code compilation for blazingly fast applicationsContinue reading on Towards Data ...
https://towardsdatascience.com/cython-for-absolute-beginners-30x-faster-code-in-two-simple-steps-bbb6c10d06ad
Medium
Cython for absolute beginners: 30x faster code in two simple steps
Easy Python code compilation for blazingly fast applications
Parallelization with MultiProcessing in Python
Run your data science tasks in parallel to speed up computation timeContinue reading on Towards ...
https://towardsdatascience.com/parallelization-w-multiprocessing-in-python-bd2fc234f516
Run your data science tasks in parallel to speed up computation timeContinue reading on Towards ...
https://towardsdatascience.com/parallelization-w-multiprocessing-in-python-bd2fc234f516
Appreciating Python's match-case by parsing Python code
Python's match-case blocks are complex structural pattern matching tools that are often more hassle than they're worth. But they're great for parsing abstract syntax trees.
https://www.pythonmorsels.com/match-case-parsing-python/
Python's match-case blocks are complex structural pattern matching tools that are often more hassle than they're worth. But they're great for parsing abstract syntax trees.
https://www.pythonmorsels.com/match-case-parsing-python/
Pythonmorsels
Appreciating Python's match-case by parsing Python code
Python's match-case blocks are complex structural pattern matching tools that are often more hassle than they're worth. But they're great for parsing abstract syntax trees.
keon / algorithms
Minimal examples of data structures and algorithms in Python
https://github.com/keon/algorithms
Minimal examples of data structures and algorithms in Python
https://github.com/keon/algorithms
GitHub
GitHub - keon/algorithms: Minimal examples of data structures and algorithms in Python
Minimal examples of data structures and algorithms in Python - keon/algorithms
How to optimize PostgreSQL queries from Django using pgMustard
Slow queries happen, and when they do, it can be tough to dissect why they’re slow. This difficulty is compounded by using Django’s ORM, since it generates the SQL for you, so you may have little idea of the actual queries “under the hood”. In this post we’ll look at what pgMustard does and how to use it with the Django ORM.
https://adamj.eu/tech/2022/06/21/optimize-postgresql-queries-from-django-using-pgmustard/
Slow queries happen, and when they do, it can be tough to dissect why they’re slow. This difficulty is compounded by using Django’s ORM, since it generates the SQL for you, so you may have little idea of the actual queries “under the hood”. In this post we’ll look at what pgMustard does and how to use it with the Django ORM.
https://adamj.eu/tech/2022/06/21/optimize-postgresql-queries-from-django-using-pgmustard/
adamj.eu
How to optimize PostgreSQL queries from Django using pgMustard - Adam Johnson
Slow queries happen, and when they do, it can be tough to dissect why they’re slow. This difficulty is compounded by using Django’s ORM, since it generates the SQL for you, so you may have little idea of the actual queries “under the hood”.
Sorting algorithms visualized using the Blender Python API
https://github.com/ForeignGods/Sorting-Algorithms-Blender
https://github.com/ForeignGods/Sorting-Algorithms-Blender
GitHub
GitHub - ForeignGods/Sorting-Algorithms-Blender: Sorting algorithms visualized using the Blender Python API.
Sorting algorithms visualized using the Blender Python API. - ForeignGods/Sorting-Algorithms-Blender
Django 4.1 beta 1 released
https://www.djangoproject.com/weblog/2022/jun/21/django-41-beta-1-released/
https://www.djangoproject.com/weblog/2022/jun/21/django-41-beta-1-released/
Six things I do every time I start a Django project
https://brntn.me/blog/six-things-i-do-every-time-i-start-a-django-project/
https://brntn.me/blog/six-things-i-do-every-time-i-start-a-django-project/
brntn.me
Brenton Cleeland - Six things I do every time I start a Django project
Personal site of Brenton Cleeland
tcom
The power of components in your server-side-rendered Python web app.
https://github.com/jpsca/tcom/
The power of components in your server-side-rendered Python web app.
https://github.com/jpsca/tcom/
GitHub
GitHub - jpsca/tcom: Server-Side Components with Jinja
Server-Side Components with Jinja. Contribute to jpsca/tcom development by creating an account on GitHub.