PythonHub
2.39K subscribers
2.35K photos
49.1K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
The simplest way to add a Django worker (Using AWS Chalice)

The article discusses the utilization of AWS Chalice to incorporate a Django worker, enabling the use of a lambda function as a serverless background worker for any application. This approach allows the lambda function to run in the background without blocking the main thread of the app, and it can call an endpoint on the Django app when completed, offering the advantage of using any Pyt...

https://www.photondesigner.com/articles/lambda-for-django
Let's build the GPT Tokenizer

The Tokenizer, essential for Large Language Models (LLMs), translates between strings and tokens, operating as a distinct stage with separate training sets and algorithms. This lecture builds the GPT series Tokenizer from scratch, uncovering peculiar behaviors in LLMs linked to tokenization. We explore these issues, attributing them to tokenization, and consider the ideal scenario of eli...

https://www.youtube.com/watch?v=zduSFxRajkE
Returns: Brings functional programming to Python land

https://returns.readthedocs.io/en/latest/