RAG with LLMs: Easy to POC, Hard to Iterate On.
The paradox of LLMs is that they have made POCs (Proofs of Concept) incredibly easy to create, but at the same time, they have made iterating on the product ...
The paradox of LLMs is that they have made POCs (Proofs of Concept) incredibly easy to create, but at the same time, they have made iterating on the product ...
Most Data Scientists have learned to code well on the job. Indeed, higher education generally focuses more on theory (mathematics, statistics, etc.) rather t...
Yann LeCun's recent statements about language not being necessary for reasoning are as fascinating as they are divisive. Among other things, he emphasizes th...
Managing a mainstream open-source library is a full-time job that requires implementing an efficient workflow to avoid being overwhelmed. This is particu...
One obstacle to using open source LLMs is the cost of hosting them on GPU instances in the cloud. But perhaps there is a future for on-device open source? ...
We sometimes hear that RAG (Retrieval Augmented Generation) is destined to disappear because LLMs have an increasingly large context window and can therefore...
A poor padding strategy can disrupt an LLM after fine-tuning, and the reasons are quite subtle. This is especially true since there is no pad_token in the Ll...
Quantizing LLMs reduces calculation precision and thus the required GPU resources, but it can sometimes be a real jungle trying to find your way among all th...
RAG and finetuning are often opposed: Should we fine-tune our LLM or do RAG? In reality, the approaches do not oppose each other. On the contrary, they compl...
What is the criticality of a bad prediction from your algorithm? In my opinion this is one of the first questions to ask before considering a generative AI o...
OpenAI and Anthropic's models are not deterministic, even at temperature zero and with a fixed seed, and this can be a real problem. How is it that some...
Math skills are often considered fundamental to becoming a data scientist. This is true, but we often forget to mention that in practice, machine learning is...
TensorFlow was once essential, but I see fewer and fewer reasons to use it today. PyTorch seems to be establishing itself as the go-to deep learning framewor...
It's interesting to see how certain patterns in Machine Learning seem to recur, including with LLMs: Classic ML: </p> Step 1: The nature of the mo...
Here are four simple tips for improving the performance of your RAG (Retrieval Augmented Generation): </p> Understand the RAG: The RAG combines a "R...