endafk / Ollama-pull-model-fix

Scripts to fix Ollama retrying and reverse downloading. A fix for Ollama pull failing to pull modles.

Repository from Github https://github.comendafk/Ollama-pull-model-fixRepository from Github https://github.comendafk/Ollama-pull-model-fix

Ollama Model Downloader

This repository contains a Bash script designed to fix the problem that most people go through while pulling models from Ollama. When pulling models from ollama sometimes the download starts going backwards and retrying. This fixes that.

Edit the script depending on your operating system and put the model(s) you want to pull.

Windows

You might need to adjust your execution policy to run scripts.

Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
  • Run the script
.\download_models.ps1

Linux

Make the script executable:

chmod +x download_models.sh
  1. Run the script:
./download_models.sh

Leave the script running and it will sequentially download each model. The retry mechanism ensures that if a download is interrupted or takes too long, it will automatically attempt again

About

Scripts to fix Ollama retrying and reverse downloading. A fix for Ollama pull failing to pull modles.


Languages

Language:PowerShell 61.5%Language:Shell 38.5%