Skip to content

definitelynico/ollama-model-compare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ollama Model Compare ⭕🦙

A simple command-line tool to compare the metadata and parameters of two Ollama models.

Overview

Ollama Model Compare helps you identify differences between two Ollama models. It's particularly useful when you:

  • Want to compare different versions of the same model
  • Need to understand parameter differences between similar models
  • Are debugging issues related to model configuration

The tool analyzes the output of ollama show --verbose and highlights differences in:

  • Model parameters (temperature, top_p, etc.)
  • Model architecture
  • Metadata properties
  • Tensor configurations

Usage

  1. Ensure Ollama is installed and accessible from your command line
  2. Run the application
  3. Enter the names of the two models you want to compare
  4. Review the differences highlighted in the output
Ollama Model Comparison Tool
----------------------------
Enter first model name: my_model_1
Enter second model name: my_model_2

Comparing models my_model_1 and my_model_2...

Example Output

Example comparison output

Features

  • Color-coded differences for easy visual scanning
  • Handles missing parameters in either model
  • Shows value differences when parameters exist in both models
  • Provides a summary report of all differences
  • Case-insensitive comparison to avoid false positives

Requirements

  • .NET 7.0 or higher
  • Ollama installed and configured

Build

PublishAoT and SelfContained are set to true in the .csproj

dotnet build

# Or for example...

dotnet publish -c Release -r win-x64

License

MIT

About

A simple command-line tool to compare the metadata and parameters of two Ollama models.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages