File size: 2,116 Bytes
6ac55ea
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38fdef5
6ac55ea
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
---
base_model: Qwen/Qwen2.5-Coder-1.5B-Instruct
library_name: peft
pipeline_tag: text-generation
tags:
- colab-forge
- lora
- peft
- sovereign-ai
- transformers
license: apache-2.0
language:
- en
---

# gordon-ramsay-code-auditor

Autonomous fine-tuned model artifact synthesized via **JESUS Sovereign Cloud Model Forge** (`hf-colab-forge`).

## Model Details

- **Base Model**: [Qwen/Qwen2.5-Coder-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Coder-1.5B-Instruct)
- **Artifact Type**: LoRA Adapter Weights
- **Fine-Tuning Method**: QLoRA (NF4 4-bit / Double Quantization)
- **Execution Grid**: Google Colab GPU (`Cloud Accelerator (NVIDIA)` )
- **Creation Date**: 2026-08-30 02:53:43 UTC

## Training Hyperparameters & Telemetry

| Parameter | Value |
| :--- | :--- |
| **Base Model** | `Qwen/Qwen2.5-Coder-1.5B-Instruct` |
| **LoRA Rank ($r$)** | `N/A` |
| **LoRA Alpha ($\alpha$)** | `N/A` |
| **Epochs** | `N/A` |
| **Batch Size** | `N/A` (Gradient Accum: `4`) |
| **Learning Rate** | `N/A` |
| **Final Loss** | `N/A` |
| **Training Duration** | `N/As` |

## Quickstart & Inference

### Python (`transformers` + `peft`)

```python
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel

base_model_id = "Qwen/Qwen2.5-Coder-1.5B-Instruct"
adapter_id = "dcmutlu/gordon-ramsay-code-auditor"

tokenizer = AutoTokenizer.from_pretrained(base_model_id)
base_model = AutoModelForCausalLM.from_pretrained(
    base_model_id,
    torch_dtype=torch.float16,
    device_map="auto"
)
model = PeftModel.from_pretrained(base_model, adapter_id)

prompt = "Triage user intent to the sovereign tool mesh."
inputs = tokenizer(prompt, return_tensors="pt").to("cuda" if torch.cuda.is_available() else "cpu")
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
```

### Apple Silicon / Host Deployment (`llama.cpp` / GGUF)

If utilizing GGUF weights on macOS (M-Series Metal acceleration):

```bash
# Run via llama.cpp
llama-cli -m gordon-ramsay-code-auditor-Q4_K_M.gguf -p "Triage user intent:" -ngl 99 -c 2048
```