Docs/Models

Local Model Registry & Scanner

FineTuneMyAI automatically discovers on-device LLMs installed across your machine without transmitting full filesystem paths to the cloud control plane.

Supported Discovery Sources

1. Ollama Daemon

Inspects ~/.ollama/models or connects to the local Ollama daemon at 127.0.0.1:11434.

2. Hugging Face Hub

Scans standard snapshot trees in ~/.cache/huggingface/hub for safetensors weights.

3. Local Workspace

Detects custom checkpoints and exported adapters in ./LLM/runs/workspace/.

Scanning via Command Line

To scan and register local models directly from your terminal, run the built-in scanner script:

$ npm run models:scan
[+] Discovered 2 local models:
• Qwen2.5-Coder-7B-Instruct (7B parameters • GGUF/Ollama)
• Gemma-2-9B-It (9B parameters • Safetensors)

Opaque Model Identifiers

The local agent computes a deterministic SHA-256 hash from the base model's canonical name, creating an opaque identifier like model_qwen25_7b. The central database stores only this opaque string and model metadata (parameter count, architecture family, quantization format). Your physical path remains local to your device.