تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

ollama-model-tuner

بواسطة gblockchainnetwork

DevOps & Cloud
436التنزيلات وفق ما يذكره clawskills.sh
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Optimize Ollama models/prompts using local datasets, eval metrics, and iterative tuning.

الوصف

ما الذي تفعله هذه المهارة

Tunes Ollama models locally using custom datasets, prompt engineering, and LoRA fine-tuning. Supports A/B testing prompts, customizing Modelfiles, and benchmarking model performance against eval metrics. No cloud services or external APIs required.

Runs the entire tuning loop on local hardware, so sensitive training data never leaves the machine and there are no per-token API costs.

متى تستخدمها

  • Fine-tuning a local llama3 model for document classification
  • A/B testing system prompts to find the best performer for a chatbot
  • Adding a LoRA adapter trained on company-specific terminology
  • Benchmarking response quality before and after Modelfile changes
  • Iterating on prompt templates using a local JSONL eval dataset

مثال على سير العمل

الإدخال

User asks: tune llama3 on my support ticket dataset for intent classification

الوكيل
  1. 1

    Load JSONL dataset from ./data.json

  2. 2

    Run scripts/tune.py with --model llama3 and --task classification

  3. 3

    Apply prompt templates from prompts/system.md

  4. 4

    Execute eval loop and record accuracy metrics

  5. 5

    Output tuned Modelfile and benchmark report

الإخراج

Fine-tuned Modelfile with updated system prompt and eval metrics summary

المتطلبات

  • Ollama 0.3+ installed locally

التثبيت

clawhub install gblockchainnetwork/ollama-model-tuner

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط