◂ Back to Profiq blog

profiq Video: Evaluating LLMs with MLflow by Miloš Švaňa

Evaluating LLMs with MLflow

Are you developing an application and looking to integrate large language model (LLM) features? With multiple options like GPT, Gemini, Claude, and open-source models from Hugging Face, choosing the right solution can be overwhelming. Each model offers unique strengths, from GPT’s versatile text generation to Claude’s detailed descriptions, and an open-source model’s flexibility.

Integrating LLM features can significantly enhance your application by providing capabilities such as natural language understanding, text generation, and intelligent automation. To make an informed decision, it’s essential to evaluate your application’s specific needs, compare model performances, and track data systematically. Tools like MLflow can help you monitor and compare the effectiveness of different models, ensuring you select the best fit for your project.

To dive deeper into evaluating LLMs and effectively tracking experiments, check out this video by profiq’s Miloš Švaňa. Miloš is an ML engineer and researcher at profiq who specializes in large language models, deep learning, classical ML, and statistics. Miloš demonstrates practical techniques for using similarity metrics and MLflow, equipping you with the knowledge for making the best choice when integrating LLM features into your application.

Here are some useful timestamps in the video:

0:20 Intro, options to choose from when integrating LLM functionality
0:40 Using an LLM to Analyze HTML Page and Extract A Title
1:17 Prompt Template
4:37 Objectively comparing results from different models
9:19 Calculating average similarity across all websites in data set
10:15 Introducing MLflow
12:00 Starting a New Run
15:12 Results of Runs in MLflow UI
15:33 Results according to Model
18:14 Different ways to explore and sort results
19:05 Summary and Conclusion

You May Also Like:

profiq Video: MLflow: serving LLMs and prompt engineering by Miloš Švaňa
profiq Video: Tech demo - Autonomous Agents using LLMs by Viktor Nawrath
profiq Video: Training your own speech-to-speech AI model
19 of the best large language models in 2024

If you’d like to talk about how to build out your innovative software projects and how to incorporate AI, please contact us.

Anke Corbin

Written by

Anke Corbin

Comments

Leave a Reply

Online comments are not active during the static migration phase.
AI Function Blog Image

Is The Most Valuable AI Function Asking Better Questions?

How the "Grill Me" method became a key part of Project Weaver's approach to AI-assisted software development. We've shared some of the thinking behind Project Weaver—the internal engineering framework we've developed at profiq to help our teams and AI work together more effectively. Rather than treating AI as a magic code generator, Weaver is built around a simple idea: the better the structure, context, and engineering discipline, the better the outcomes.

Posted 3 weeks ago by Anke Corbin

Weaver Prototype Image

From Vibe-Coded Prototype to Production-Ready App Using Weaver

There's an important distinction between a prototype that demonstrates an idea and a system that can support a real business. Recently, we had the opportunity to explore that distinction firsthand while working with Ginger & Nash on an application called c.h.i.p. using profiq Weaver as an AI assistant.

Posted 4 weeks ago by Anke Corbin

Project Weaver Recap

Quick Recap: Project Weaver Engineering Series

We wanted to do another quick recap of the Weaver journey so far for those of you who are just learning about the project, from the first idea through the latest automation and workflow experiments.

Posted 1 month ago by Anke Corbin

Read the Blog