databricks-mlflow-evaluation

Automate MLflow GenAI evaluation workflows in Databricks with custom scorers.

Updated Mar 23, 2024
One-click install
npx skills add https://github.com/m19c/dotfiles --skill databricks-mlflow-evaluation-m19c
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-mlflow-evaluation
Source: https://github.com/m19c/dotfiles/tree/main/claude/.claude/skills/databricks-mlflow-evaluation
Command: npx skills add https://github.com/m19c/dotfiles --skill databricks-mlflow-evaluation-m19c

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mlflow[databricks], and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the evaluation workflows for MLflow GenAI models in Databricks, streamlining the process of setting up, running, and analyzing GenAI evaluations.

Core Features & Use Cases

  • End-to-End Evaluation: Automates the full evaluation process, including dataset preparation, model evaluation, and result analysis.
  • Scalable Workflows: Supports large-scale evaluations with efficient data handling and computation.
  • Custom Scoring: Allows users to create custom scorers for specific evaluation needs.
  • Integration with Databricks: Seamlessly integrates with Databricks environment, leveraging its resources and features.

Quick Start

Run the databricks-mlflow-evaluation skill with the following command:

databricks-mlflow-evaluation evaluate --dataset my_dataset --predict_fn my_app

Frequently Asked Questions about databricks-mlflow-evaluation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate MLflow GenAI evaluation workflows in Databricks?

Automate MLflow GenAI evaluation workflows in Databricks by using scripts that handle dataset preparation, model evaluation, and result analysis. You can run the process end-to-end with a single command specifying your dataset and prediction function.

Can I use custom scorers for GenAI model evaluation in Databricks?

Yes, custom scorers can be created and integrated for GenAI model evaluation in Databricks. This allows you to define specific scoring logic tailored to your evaluation needs alongside the standard automated evaluation workflow.

Does MLflow evaluation support large-scale GenAI datasets in Databricks?

MLflow evaluation supports large-scale GenAI datasets in Databricks by leveraging the Databricks environment for efficient data handling and computation. This integration ensures scalable workflows for extensive model testing.

What is the best way to run end-to-end MLflow GenAI evaluation?

The best way to run end-to-end MLflow GenAI evaluation is using an automated skill that processes data preparation, model evaluation, and result analysis. Execute it by passing your dataset and prediction function as command arguments.

Do I need the mlflow databricks package to run GenAI evaluations?

Yes, you need the mlflow[databricks] package installed to run these GenAI evaluations. This dependency provides the necessary integration to connect the evaluation scripts with the Databricks environment.

Why prepare datasets before running automated MLflow GenAI evaluation?

Preparing datasets before running automated MLflow GenAI evaluation ensures the data is correctly formatted for the evaluation scripts. Proper data preparation is the first step in the workflow, enabling accurate model evaluation and result analysis.