LangSmith can now compare fine-tuned open-source LLMs with automated scoring

LangChain has shown how to test fine-tuned open-source models in LangSmith without hand-written scripts or guesswork. Several fine-tuned LLMs run in parallel on the same dataset, an LLM judge scores them automatically, and a summary table shows the winner. It is especially useful for teams that fine-tune Llama, Mistral or other models for their own tasks and want to pick the best checkpoint objectively before deployment.

AI-processed from LangChain Blog; edited by Hamidun News
LangSmith can now compare fine-tuned open-source LLMs with automated scoring
Source: LangChain Blog. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceLangChain Blog ↗
Editor-in-Chief
Datasetsupload a set of test examples with queries and reference answers
Parallel runsseveral models run on the same dataset at the same time
Automated scoringan LLM judge or a custom metric function, such as accuracy, F1, format compliance or non-standard measures

LangChain has published a guide to testing and comparing fine-tuned open-source language models in LangSmith, a platform for evaluating, monitoring and debugging LLM applications. The guide describes how to run several fine-tuned models in parallel, automate the scoring of results and use the data to choose the best variant for deployment.

Why test fine-tuned models

Fine-tuning means adapting a base model on specialized data. In 2025, teams are actively fine-tuning Llama, Mistral, Falcon, Phi and other open-source models for specific tasks: enterprise search, code generation, classification of customer requests, and answers in a narrow subject area.

The problem is that the outcome of fine-tuning is not guaranteed. A model may overfit to its training examples and lose general competence. It may fail to beat the original model paired with a good system prompt. And two runs on the same data but with different hyperparameters can produce fundamentally different quality, which is impossible to know without testing.

On top of that, training a model takes hours and costs tens or hundreds of dollars. Without an evaluation system, teams either guess the winner or spend just as many resources checking answers manually. LangSmith offers a third path.

What LangSmith can do

The platform organizes testing into a single pipeline:

  • Datasets: upload a set of test examples with queries and reference answers
  • Parallel runs: several models run on the same dataset at the same time
  • Automated scoring: an LLM judge or a custom metric function, such as accuracy, F1, format compliance or non-standard measures
  • Comparison report: one table with results across all metrics
  • Tracing: for each call you can see the input, the model output and the score it received

Beyond a direct "model A vs. model B" comparison, LangSmith lets you compare different checkpoints from the same training run, different versions of the training dataset and different fine-tuning strategies within a single experiment.

Example: three checkpoints on one dataset

A typical scenario: a team fine-tunes Llama 3.1 8B on corporate FAQs in three variants, with different numbers of epochs and learning rates. In LangSmith, they create a dataset of 200 real user questions. All three versions run in parallel, and an LLM judge rates each answer on a scale of 1-5. The summary table immediately shows which checkpoint delivers the best quality at an acceptable response speed.

Without LangSmith, this process requires custom scripts for each run and manual merging of results.

Built-in tracing adds another advantage: for every "bad" answer, you can open its trace and see what exactly went wrong. Perhaps the model misunderstood the question, answered in the wrong format, or the judge scored it incorrectly.

This approach matters most when iterating on the training dataset: seeing how quality changes after each data modification is the basis for fast, informed improvements.

What this means

Fine-tuning open-source models is shifting from a niche practice of ML researchers to a standard tool for product teams. LangSmith fills a key gap: between training and deployment there is now a structured evaluation stage with numerical metrics. This reduces the risk of shipping a version that is worse than the original to production and makes decision-making transparent: not "it seems better" but "here are the numbers."

Story

Key Questions Answered

Why test fine-tuned models?

Fine-tuning means adapting a base model on specialized data. In 2025, teams are actively fine-tuning Llama, Mistral, Falcon, Phi and other open-source models for specific tasks: enterprise search, code generation, classification of customer requests, and answers in a narrow subject area. The problem is that the outcome of fine-tuning is not guaranteed. A model may overfit to its training examples and lose general competence. It may fail to beat the original model paired with a good system prompt. And two runs on the same data but with different hyperparameters can produce f

What LangSmith can do?

The platform organizes testing into a single pipeline: Datasets: upload a set of test examples with queries and reference answers Parallel runs: several models run on the same dataset at the same time Automated scoring: an LLM judge or a custom metric function, such as accuracy, F1, format compliance or non-standard measures Comparison report: one table with results across all metrics Tracing: for each call you can see the input, the model output and the score it received Beyond a direct "model A vs. model B" comparison, LangSmith lets you compare different checkpoints from

What are the key details on Example: three checkpoints on one dataset?

A typical scenario: a team fine-tunes Llama 3.1 8B on corporate FAQs in three variants, with different numbers of epochs and learning rates. In LangSmith, they create a dataset of 200 real user questions. All three versions run in parallel, and an LLM judge rates each answer on a scale of 1-5. The summary table immediately shows which checkpoint delivers the best quality at an acceptable response speed. Without LangSmith, this process requires custom scripts for each run and manual merging of results. Built-in tracing adds another advantage: for every "bad" answer, you can

ZK
Zhemal Khamidun — CPO at Alpina Digital, product manager of AlpinaGPT. Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

Test Frontier LLMs & Autonomous Agents in One Workspace

Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.

Try Nomad AI →Launch Nomad Agent
What do you think?
Loading comments…