Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

LLM Evaluation on a Custom Dataset with MLflow and Ollama - Financial News Sentiment Analysis

Venelin Valkov via YouTube

Overview

Coursera Spring Sale
40% Off Coursera Plus Annual!
Grab it
Learn to evaluate and compare four different local Large Language Models using MLflow and Ollama for financial news sentiment analysis tasks. Set up a comprehensive evaluation framework using a custom financial news dataset to determine which model performs best for your specific use case. Begin by exploring the dataset and configuring your notebook environment, then design effective LLM prompts and implement structured output formatting using Pydantic for consistent model responses. Develop evaluation metrics and create an automated evaluation loop to systematically test each model's performance on sentiment classification tasks. Conclude by reviewing and analyzing the experimental results through MLflow's interface to identify the optimal model for financial sentiment analysis applications.

Syllabus

00:00 - Welcome
01:12 - Notebook setup and dataset review
04:16 - LLM prompt and structured output with Pydantic
07:50 - Evaluation metrics and loop
13:47 - Review experiments in MLflow

Taught by

Venelin Valkov

Reviews

Start your review of LLM Evaluation on a Custom Dataset with MLflow and Ollama - Financial News Sentiment Analysis

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.