Pere MartrainTowards AIEvaluating LLM Summaries using Embedding Distance with LangSmith.LangSmith is the new tool from LangChain for tracing and evaluating models. In this article, we will explore how to use it to assist in…Feb 19Feb 19
Pere MartrainDataDrivenInvestorDecoding Risk: Transforming Banks with Customer Embeddings.In this article, we explore the transformative power of embeddings and large language models (LLMs) in customer risk assessment and product…Nov 20, 2023Nov 20, 2023
Pere MartrainTowards AIHow To Set up a NL2SQL System With Azure OpenAI StudioWe’ll see how to use Azure OpenAI Studio to set up an inference endpoint we can call to generate SQL commands.Nov 9, 2023Nov 9, 2023
Pere MartrainTowards AICreate a SuperPrompt for Natural Language to SQL Conversion for OpenAI.One of the things that has changed more in recent months, since the ChatGPT boom, is the emergence of massive large language models able to…Nov 3, 20231Nov 3, 20231
Pere MartrainTowards AIQLoRA: Training a Large Language Model on a 16GB GPU.Let’s explore how Quantization works and provide an example of fine-tuning a 7-billion-parameter Bloom model on a T4 16GB GPU in Google…Oct 20, 2023Oct 20, 2023
Pere MartrainLevel Up CodingEfficient Fine-Tuning with LoRA. Optimal training for Large Language Models.LoRA is one of the most efficient and effective fine-tuning techniques applicable to Large Language Models. In the post we will take a…Oct 5, 2023Oct 5, 2023
Pere MartrainTowards AIFine-Tuning Models using Prompt-Tuning with Hugging Face’s PEFT LibraryPrompt Tuning is such a simple technique that it’s surprising how remarkably efficient it can be. It’s the form of fine-tuning that…Sep 29, 20231Sep 29, 20231
Pere MartrainLevel Up CodingCreate a Self-Moderated Comment System with LLAMA-2 and LangChainWe’re going to create a self-moderated comment response system, using two LLAMA models chained with LangChain. This way, we’ll prevent…Sep 14, 2023Sep 14, 2023
Pere MartrainTowards AICreate a Self-Moderated Commentary System with LangChain and OpenAILearn how to create a self-moderated comment response system, using two of the models available on OpenAI chained with LangChain…Sep 10, 20231Sep 10, 20231
Pere MartrainTowards AIROUGE Metrics: Evaluating Summaries in Large Language Models.The increment of business applications that are based on Large Language Models has brought the need to measure the quality of the solutions…Aug 21, 2023Aug 21, 2023