A simple command-line tool to compare the metadata and parameters of two Ollama models.
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
- Ensure Ollama is installed and accessible from your command line
- Run the application
- Enter the names of the two models you want to compare
- 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...
- 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
- .NET 7.0 or higher
- Ollama installed and configured
PublishAoT and SelfContained are set to true in the .csproj
dotnet build
# Or for example...
dotnet publish -c Release -r win-x64MIT