PythonHub
2.36K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
SQLAlchemy: The BEST SQL Database Library in Python

Ever heard of SQLAlchemy and thought it sounded like a medieval potion? Well, it's not! SQLAlchemy combines the robustness of SQL with Python's flexibility, making database management not just easier, but kinda fun too! In this video, I’ll take a closer look at this awesome tool.

https://www.youtube.com/watch?v=aAy-B6KPld8
Cosine Similarity and Text Embeddings In Python with OpenAI

The article discusses how to use cosine similarity to compare text embeddings, which are vector representations of text that capture semantic meaning, in order to determine the similarity between different text inputs. It provides example code for calculating cosine similarity between text embeddings generated using the OpenAI API.

https://earthly.dev/blog/cosine_similarity_text_embeddings/
FreeAskInternet

FreeAskInternet is a completely free, private and locally running search aggregator & answer generate using LLM, without GPU needed. The user can ask a question and the system will make a multi engine search and combine the search result to the ChatGPT3.5 LLM and generate the answer based on search results.

https://github.com/nashsu/FreeAskInternet
Testing with Python (part 1): the basics

SummaryThis intro is about dumb test writing, as it's the necessary foundation to learn what comes ...

https://www.bitecode.dev/p/testing-with-python-part-1-the-basics
llama3

This release includes model weights and starting code for pre-trained and instruction tuned Llama 3 language models — including sizes of 8B to 70B parameters.

https://github.com/meta-llama/llama3
PyTorch 2.3

PyTorch 2.3 offers support for user-defined Triton kernels in torch.compile, allowing for users to migrate their own Triton kernels from eager without experiencing performance regressions or graph breaks. Tensor Parallelism improves the experience for training Large Language Models using native PyTorch functions, which has been validated on training runs for 100B parameter models. As wel...

https://pytorch.org/blog/pytorch2-3/