ollama-model-management

Create Ollama model variants, verify health, and orchestrate remote hosts via SSH.

Updated Oct 23, 2024
One-click install
npx skills add https://github.com/lenadlm/docker --skill ollama-model-management
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ollama-model-management
Source: https://github.com/lenadlm/docker/tree/main/hermes-skills/skills/mlops/ollama-model-management
Command: npx skills add https://github.com/lenadlm/docker --skill ollama-model-management

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ollama, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the management of Ollama models, providing a robust solution for creating, verifying, and deploying model variants, while ensuring optimal performance and resource utilization.

Core Features & Use Cases

  • Model Variant Creation: Build named model variants by modifying parameters through Modelfiles.
  • Health Verification: Ensure the health and functionality of models through verification steps.
  • Remote Orchestration: Support for remote-host orchestration (SSH) and RAM headroom estimation.
  • Full Lifecycle Management: Cover the full create → verify → test cycle for models.
  • Use Case: Extend the context window of an existing Ollama model to improve performance in applications requiring larger context sizes.

Quick Start

Use the ollama-model-management skill to create a new model variant with a 64K context window from the base model 'qwen2.5-coder:7b'.

Frequently Asked Questions about ollama-model-management

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

FAQPage Schema
How do I extend the context window of an Ollama model?

To extend an Ollama model context window, create a named variant by modifying parameters through a Modelfile. This builds a new model configuration supporting larger context sizes for improved performance.

Can I manage Ollama models on a remote host?

Yes, remote orchestration supports managing Ollama models on remote hosts via SSH. It includes RAM headroom estimation to ensure efficient resource utilization during deployment.

What is needed to verify Ollama model health after creation?

Verifying Ollama model health requires running verification steps after creating a model variant. This ensures the modified model is functional and ready for the testing phase.

Do I need SSH access to use remote orchestration for Ollama?

Yes, SSH access is required for remote orchestration of Ollama models. You also need the Ollama runtime installed to support the full model management lifecycle.

What is the best way to modify Ollama model parameters for inference?

The best way to modify Ollama model parameters is by creating named variants through Modelfiles. This covers the full create, verify, and test cycle for optimized inference.