How to use from
Pi
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf fahidnasir/Regex-Helper:BF16
Configure the model in Pi
# Install Pi:
npm install -g @mariozechner/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "llama-cpp": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "fahidnasir/Regex-Helper:BF16"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Regex-Helper (Powered by ML-Forge)

Precision Regular Expression Assistant built using a specialized fine-tuning pipeline.

πŸ— ML-Forge Workflow

This model is generated using the ML-Forge engine, a parameterized automation stack for rapid LLM development.

πŸš€ Rapid Start

Follow these steps to go from zero to a published model:

1. Initialize

Sets up the base Llama 3.2 weight.

./scripts/setup.sh

2. Prepare Data

Pulls bndis/regex_instructions from Hugging Face and cleans it.

source config.sh
uv run python scripts/data_prep.py

3. Train

Starts the LoRA training session (1000 iterations, Rank 16).

./scripts/train.sh

4. Publish

Fuses weights, creates GGUFs, and pushes to HF, Ollama, and Kaggle.

./scripts/publish.sh

πŸ“Š Technical Configuration

Parameters are managed in config.sh:

  • Base: Llama 3.2 3B Instruct
  • Rank: 16
  • Context: 2048 tokens
  • Precision: Q4_K_M (Ollama) / BF16 (HF)

Created by the ML-Forge Pipeline.

Downloads last month
18
Safetensors
Model size
0.5B params
Tensor type
F16
Β·
U32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support