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…·9 min read·Feb 19, 2024----
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…8 min read·Nov 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.10 min read·Nov 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…·8 min read·Nov 3, 2023--1--1
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…12 min read·Oct 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…·9 min read·Oct 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…13 min read·Sep 29, 2023--1--1
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…13 min read·Sep 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…·10 min read·Sep 10, 2023--1--1
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…12 min read·Aug 21, 2023----