Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kroonen/scripts

A growing collection of scripts to make your life easier!
https://github.com/kroonen/scripts

bash powershell python script

Last synced: 26 days ago
JSON representation

A growing collection of scripts to make your life easier!

Awesome Lists containing this project

README

        

# Rob's Scripts Collection 🚀

A growing collection of scripts to make your life easier! Whether you're updating models, backing up data, or automating tasks, these scripts have you covered.

## Scripts Included

- **Ollama Model Updater:**
- **Script:** `update_ollama_models.ps1`
- **Purpose:** Automatically updates all your Ollama models with real-time progress tracking.

- **Hugging Face Backup:**
- **Script:** `hf_backup.py`
- **Purpose:** Back up all your Hugging Face models and spaces to a local directory.

- **LLaMa.CPP Quantizer:**
- Script: `quant-model.py`
- Purpose: Quantize raw language models to .GGUF files, supporting various quantization levels from 16-bit floating point down to 3-bit integer precision.

## Quick Start

1. **Clone the repo:**
```bash
git clone https://github.com/kroonen/scripts.git
```

2. **Navigate to the script directory:**
```bash
cd scripts
```

3. **Run the scripts:**
- **For Ollama:**
```powershell
./update_ollama_models.ps1
```
- **For Hugging Face:**
```bash
python hf_backup.py
```
- **For LLaMa.CPP Quantizer:**
```bash
python quant-model.py {{MODEL_INPUT_DIR}} --output-dir {{MODEL_OUTPUT_DIR}}
```

## More to Come
Stay tuned for more handy scripts! 🌟

## License
MIT License