How to use from
OpenClaw
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 OpenClaw
# Install OpenClaw:
npm install -g openclaw@latest
# Register the local server and set it as the default model:
openclaw onboard --non-interactive --mode local \
  --auth-choice custom-api-key \
  --custom-base-url http://127.0.0.1:8080/v1 \
  --custom-model-id "fahidnasir/Regex-Helper:BF16" \
  --custom-provider-id llama-cpp \
  --custom-compatibility openai \
  --custom-text-input \
  --accept-risk \
  --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
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
16
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