Statically Typed Functional Programming with Python 3.12
The article demonstrates how to use Python 3.12's new type alias and union type syntax to define a simple expression-based language with dataclasses, and then implements an evaluator function using pattern matching to evaluate expressions in that language.
https://wickstrom.tech/2024-05-23-statically-typed-functional-programming-python-312.html
The article demonstrates how to use Python 3.12's new type alias and union type syntax to define a simple expression-based language with dataclasses, and then implements an evaluator function using pattern matching to evaluate expressions in that language.
https://wickstrom.tech/2024-05-23-statically-typed-functional-programming-python-312.html
wickstrom.tech
Statically Typed Functional Programming with Python 3.12
Python at the Speed of Julia
The article explores achieving Python's ease of use with Julia's speed, illustrating how to optimize Python code using Julia for high-performance computing tasks. It provides examples and insights on integrating both languages to enhance computational efficiency without sacrificing Python's simplicity.
https://glassnotebook.io/r/dxJTYbJBmPR1X3NQUfwXB/99_python_at_the_speed_of_julia.jl
The article explores achieving Python's ease of use with Julia's speed, illustrating how to optimize Python code using Julia for high-performance computing tasks. It provides examples and insights on integrating both languages to enhance computational efficiency without sacrificing Python's simplicity.
https://glassnotebook.io/r/dxJTYbJBmPR1X3NQUfwXB/99_python_at_the_speed_of_julia.jl
Seismometer
Predictive model evaluation with a focus on healthcare.
https://github.com/epic-open-source/seismometer
Predictive model evaluation with a focus on healthcare.
https://github.com/epic-open-source/seismometer
GitHub
GitHub - epic-open-source/seismometer: AI model evaluation with a focus on healthcare
AI model evaluation with a focus on healthcare. Contribute to epic-open-source/seismometer development by creating an account on GitHub.
awesome-llm-apps
Collection of awesome LLM apps with RAG using OpenAI, Anthropic, Gemini and opensource models.
https://github.com/Shubhamsaboo/awesome-llm-apps
Collection of awesome LLM apps with RAG using OpenAI, Anthropic, Gemini and opensource models.
https://github.com/Shubhamsaboo/awesome-llm-apps
GitHub
GitHub - Shubhamsaboo/awesome-llm-apps: Collection of awesome LLM apps with AI Agents and RAG using OpenAI, Anthropic, Gemini and…
Collection of awesome LLM apps with AI Agents and RAG using OpenAI, Anthropic, Gemini and opensource models. - Shubhamsaboo/awesome-llm-apps
Let’s optimize! Running 15× faster with a situation-specific algorithm
Sometimes the best way to speed up your algorithm is to adjust it to the specifics of your data.
https://pythonspeed.com/articles/lets-optimize-median-local-threshold/
Sometimes the best way to speed up your algorithm is to adjust it to the specifics of your data.
https://pythonspeed.com/articles/lets-optimize-median-local-threshold/
Python⇒Speed
Let’s optimize! Running 15× faster with a situation-specific algorithm
Sometimes the best way to speed up your algorithm is to adjust it to the specifics of your data.
👍1
llm-regression
Exploring the classical regression capabilities of LLMs.
https://github.com/AlexIoannides/llm-regression
Exploring the classical regression capabilities of LLMs.
https://github.com/AlexIoannides/llm-regression
GitHub
GitHub - AlexIoannides/llm-regression: Exploring the classical regression capabilities of LLMs.
Exploring the classical regression capabilities of LLMs. - AlexIoannides/llm-regression
Cant decide between flask, django ninja or fastAPI for sideproject
https://www.reddit.com/r/Python/comments/1dgbq1e/cant_decide_between_flask_django_ninja_or_fastapi/
https://www.reddit.com/r/Python/comments/1dgbq1e/cant_decide_between_flask_django_ninja_or_fastapi/
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
CPython Garbage Collection: The Internal Mechanics and Algorithms
A detailed code walkthrough of how CPython implements memory management, including reference counting and garbage collection.
https://blog.codingconfessions.com/p/cpython-garbage-collection-internals
A detailed code walkthrough of how CPython implements memory management, including reference counting and garbage collection.
https://blog.codingconfessions.com/p/cpython-garbage-collection-internals
Codingconfessions
CPython Garbage Collection: The Internal Mechanics and Algorithms
A detailed code walkthrough of how CPython implements memory management, including reference counting and garbage collection
👍3
Understanding HTTP Server by Implementing in Python
https://muhammadraza.me/2024/building-http-server/
https://muhammadraza.me/2024/building-http-server/
Muhammad Raza
Understanding HTTP Server by implementing in Python | Muhammad
In this post, we will understand how an HTTP server works by implementing one in Python.
👍1
My thoughts on Python in Excel
An in-depth review of Microsoft's new Python in Excel functionality.
https://www.xlwings.org/blog/my-thoughts-on-python-in-excel
An in-depth review of Microsoft's new Python in Excel functionality.
https://www.xlwings.org/blog/my-thoughts-on-python-in-excel
Python in Excel alternative: Open. Self-hosted. No limits.
My thoughts on Python in Excel
An in-depth review of Microsoft's new Python in Excel functionality
Inspectus
Inspectus is a versatile visualization tool for large language models. It runs smoothly in Jupyter notebooks via an easy-to-use Python API. Inspectus provides multiple views, offering diverse insights into language model behaviors.
https://github.com/labmlai/inspectus
Inspectus is a versatile visualization tool for large language models. It runs smoothly in Jupyter notebooks via an easy-to-use Python API. Inspectus provides multiple views, offering diverse insights into language model behaviors.
https://github.com/labmlai/inspectus
GitHub
GitHub - labmlai/inspectus: LLM Analytics
LLM Analytics. Contribute to labmlai/inspectus development by creating an account on GitHub.
Burr
Burr makes it easy to develop applications that make decisions (chatbots, agents, simulations, etc...) from simple python building blocks.
https://github.com/dagworks-inc/burr
Burr makes it easy to develop applications that make decisions (chatbots, agents, simulations, etc...) from simple python building blocks.
https://github.com/dagworks-inc/burr
GitHub
GitHub - DAGWorks-Inc/burr: Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist…
Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure. - DAGWorks-Inc/burr
Let's reproduce GPT-2 (124M)
In this video, Andrej Karpathy demonstrates how to reproduce the GPT-2 (124M) model, covering topics like parameter sharing, model initialization, mixed precision training, optimizations like flash attention, and hyperparameter tuning.
https://www.youtube.com/watch?v=l8pRSuU81PU
In this video, Andrej Karpathy demonstrates how to reproduce the GPT-2 (124M) model, covering topics like parameter sharing, model initialization, mixed precision training, optimizations like flash attention, and hyperparameter tuning.
https://www.youtube.com/watch?v=l8pRSuU81PU
YouTube
Let's reproduce GPT-2 (124M)
We reproduce the GPT-2 (124M) from scratch. This video covers the whole process: First we build the GPT-2 network, then we optimize its training to be really fast, then we set up the training run following the GPT-2 and GPT-3 paper and their hyperparameters…
pdm-project / pdm
A modern Python package and dependency manager supporting the latest PEP standards
https://github.com/pdm-project/pdm
A modern Python package and dependency manager supporting the latest PEP standards
https://github.com/pdm-project/pdm
GitHub
GitHub - pdm-project/pdm: A modern Python package and dependency manager supporting the latest PEP standards
A modern Python package and dependency manager supporting the latest PEP standards - pdm-project/pdm
👀1
Python in Visual Studio Code – June 2024 Release
This release includes the following announcements:
https://devblogs.microsoft.com/python/python-in-visual-studio-code-june-2024-release/
This release includes the following announcements:
https://devblogs.microsoft.com/python/python-in-visual-studio-code-june-2024-release/
Microsoft News
Python in Visual Studio Code – June 2024 Release
The June 2024 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include an experimental Python REPL with Intellisense and syntax highlighting, and pytest improvements on the testing rewrite. Keep reading…
StreamSpeech is an “All in One” seamless model for offline and simultaneous speech recognition, speech translation and speech synthesis.
https://github.com/ictnlp/StreamSpeech
https://github.com/ictnlp/StreamSpeech
GitHub
GitHub - ictnlp/StreamSpeech: StreamSpeech is an “All in One” seamless model for offline and simultaneous speech recognition, speech…
StreamSpeech is an “All in One” seamless model for offline and simultaneous speech recognition, speech translation and speech synthesis. - ictnlp/StreamSpeech
Optimal SQLite settings for Django
The article provides optimal SQLite settings for Django applications, aimed at enhancing performance and reliability for smaller deployments. It includes specific PRAGMA configurations and a simple backup strategy, highlighting the potential of SQLite when correctly tuned for production use.
https://gcollazo.com/optimal-sqlite-settings-for-django/
The article provides optimal SQLite settings for Django applications, aimed at enhancing performance and reliability for smaller deployments. It includes specific PRAGMA configurations and a simple backup strategy, highlighting the potential of SQLite when correctly tuned for production use.
https://gcollazo.com/optimal-sqlite-settings-for-django/
Gcollazo
Optimal SQLite settings for Django