Skip to content

jeffhaskin/ollama-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Ollama Model Downloader

A simple Python script to download multiple Ollama models sequentially. Set and forget. Helpful when you're internet can't support multiple concurrent downloads, or when downloading concurrently causes the downloads to fail.

Prerequisites

  • Python 3.x
  • Ollama installed and working on your system (Install Ollama)

Installation

  1. Download the ollamaDownloader.py script
  2. Ensure you have Ollama installed and working (ollama --version should work in your terminal)

Usage

Run this command in the terminal/powershell with a comma-separated list of model names:

python ollamaDownloader.py "model1,model2,model3"

Example:

python ollamaDownloader.py "phi3:14b-medium-128k-instruct-q5_0,qwen2.5-coder:14b-instruct-q4_0"

The script will:

  1. Download each model sequentially
  2. Show download progress in real-time
  3. Wait 5 seconds between downloads
  4. Report success or failure for each model

Disclosure

This script was generated by AI (Claude 3 Sonnet). I use it all the time, works fine.

License

MIT

About

A sequential ollama model downloader terminal tool.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages