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
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."
- Nov 1, 2026MoneyGate safety layer blocked all 42 fraudulent requests to local AI models
- Oct 31, 2026Open-source LLM gateway KTMS 1.0 plugs your own GPUs into the cloud and survives outages
- Oct 31, 202622B-Parameter LTX-2.5 Runs on a 10 GB RTX 3080, but Takes 5 Minutes per Shot
- Oct 29, 2026T-Tech Introduces LIMe, a Method That Trains Language Models With 15% Less Compute
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
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.
The AI world, distilled — once a week
Seven stories that actually mattered, hand-picked. No noise, no reposts, no press releases.
Done! Check your inbox for a confirmation.