ZalwertBalancing Relevance & Diversity in RAG — guide for smarter doc selectionTL;DR: Combine embeddings for relevance, bert similarity score for diversity, and the knapsack algorithm to select the best documents…3d ago3d ago
ZalwertYou are able to code your chatGPTIn 2 hours I was able to have a scratch of the code for language model training and predictionOct 6Oct 6
ZalwertFrom Vision to Execution: Crafting Software Design and Architecture for AI-Driven Applications…In this series, we delve into the critical roles of System Design and System Architecture within AI-driven applications.Oct 6Oct 6
ZalwertGetting Started with Rust (Part 5): Rust Macros on the AI/ML project examplesRust’s macro system is a powerful feature that enables meta-programming, allowing developers to write code that generates other code.Oct 6Oct 6
ZalwertGetting Started with Rust (Part 4): Pattern Matching, Error Handling, and Concurrency BasicsLearn Rust programmingJul 23Jul 23
ZalwertMemory Management in Python: Comparing sort() and sorted() for EfficiencySimple trick to boost performance Jul 22Jul 22
ZalwertGetting Started with Rust (Part 3): Memory Management BasicsMany of the programming languages used in AI, such as Python, Julia, and Java, rely on garbage collectors to manage memory. Rust, on the…Jul 213Jul 213
ZalwertFrom Vision to Execution: Crafting Software Design and Architecture for AI-Driven Applications…In this series, we will delve into the critical roles of System Design and System Architecture within AI-driven applications.Jul 19Jul 19
ZalwertPython kwargs and args explained on examples from AI projectIn Python programming, the concepts of *args and **kwargs provide flexibility for handling variable numbers of arguments.Jul 19Jul 19