File size: 1,060 Bytes
7ebf446
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3232406
7ebf446
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# 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.

```bash
./scripts/setup.sh
```

#### 2. Prepare Data

Pulls `bndis/regex_instructions` from Hugging Face and cleans it.

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

#### 3. Train

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

```bash
./scripts/train.sh
```

#### 4. Publish

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

```bash
./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._