Prycat commited on
Commit
b2496d1
·
verified ·
1 Parent(s): 6c0f6fe

docs: add model card for Prycat1 release

Browse files
Files changed (1) hide show
  1. README.md +35 -197
README.md CHANGED
@@ -1,212 +1,50 @@
1
- prycat
2
- prycat is a QLoRA fine-tuned version of NousResearch/Hermes-3-Llama-3.1-8B, trained using the BlackLoRA-N closed-loop self-improvement system developed by Prycat Research. It is a research artifact demonstrating empirical, measurable improvement in a local language model through automated regret-targeted fine-tuning — with no cloud infrastructure, no API fees, and no data leaving the machine.
 
 
 
 
 
 
 
 
 
 
3
 
4
- The model was trained on a single consumer GPU (RTX 3060, $300) in under an hour. Over 80 conversations, its average distance to a defined performance target dropped by 93%. The final 7 consecutive scored exchanges hit perfect scores across all five evaluation dimensions simultaneously.
5
 
6
- Model Details
7
- Model Description
8
- prycat is the first trained output of the BlackLoRA-N pipeline — a closed-loop QLoRA fine-tuning system that watches its own conversations, identifies where it is underperforming, synthesizes corrective training data, and updates its own weights. The system is grounded in David Blackwell's Approachability Theorem (1956), which guarantees that for any decision process operating below a target performance region, there exists a minimal-regret path back to that region.
9
 
10
- Applied to transformer fine-tuning: you define what "good" looks like across five dimensions, measure where the model currently sits, and run gradient updates targeted at closing that gap. This is not prompt engineering or RLHF — it is regret-geometry applied to weight updates on a consumer GPU.
11
 
12
- Developed by: Prycat Research
13
- Model type: Causal language model — QLoRA fine-tune (rank 32, alpha 64)
14
- Language(s): English
15
- License: Meta Llama 3.1 Community License
16
- Finetuned from: NousResearch/Hermes-3-Llama-3.1-8B
17
- Model Sources
18
- - **Repository:** [github.com/Prycat/zephyr-hydra-runtime-shell](https://github.com/Prycat/zephyr-hydra-runtime-shell)
19
- Convergence Report: Included in repository at docs/plans/2026-04-17-convergence-report.md
20
- Uses
21
- Direct Use
22
- prycat is intended to be run locally via Ollama as a research assistant. It is optimized for:
23
 
24
- Direct, concise answers without filler
25
- Honest uncertainty flagging — saying "I don't know" cleanly rather than hedging with prose
26
- Genuine follow-up questions when a topic warrants them
27
- Accurate reasoning with no hallucination cover
28
- Clear refusal of harmful content
29
- Install and run:
30
 
31
- ollama pull hf.co/prycat-research/prycat
32
- ollama run prycat
33
- Downstream Use
34
- prycat can serve as a drop-in replacement for Hermes-3-8B in any Ollama-based workflow. It is particularly suited for research assistance, technical reasoning, and iterative Q&A sessions where honesty and directness matter more than confident-sounding prose.
 
35
 
36
- The BlackLoRA-N training pipeline is open source. Researchers can fork the system, define their own five-dimensional performance target, and run their own convergence experiment against any base model.
37
 
38
- Out-of-Scope Use
39
- Production systems — this is a research artifact from a 76-exchange observation window, not a production-hardened model
40
- Medical, legal, or financial advice — the model has not been evaluated for these domains
41
- High-stakes autonomous decisions — no model at this scale should be used without human oversight
42
- Non-English use — evaluated exclusively in English
43
- Bias, Risks, and Limitations
44
- prycat inherits all biases present in Meta Llama 3.1 and NousResearch Hermes-3. Additional limitations specific to this training run:
45
 
46
- Short observation window. 76 scored exchanges is a proof of concept. Thousands of conversations would make the statistical case significantly stronger.
47
- Judge-model shared architecture. Both the oracle (which generates training data) and the evaluator (which scores responses) are based on Hermes-3-8B. A systematic blind spot in one can appear in the other. An independent external evaluator would strengthen future runs.
48
- Curiosity dimension calibration. 57% of all exchanges missed the curiosity target — but post-hoc analysis confirmed this was largely an evaluator calibration gap, not a model failure. The evaluator was flagging short settled exchanges as curiosity failures when asking a follow-up question would have been inappropriate.
49
- No held-out benchmark yet. The trained model has not been evaluated against questions it has never seen. That is the next experiment.
50
- Recommendations
51
- Run prycat against a held-out benchmark before using it for any purpose beyond research exploration. Compare against the base Hermes-3-8B on your specific use case. The convergence results are real but the observation window is short.
52
 
53
- How to Get Started
54
- # Via Ollama (recommended)
55
- ollama pull hf.co/prycat-research/prycat
56
- ollama run prycat
57
 
58
- # Or pull directly
59
- ollama run hf.co/prycat-research/prycat
60
- The model runs comfortably on 8GB VRAM at Q4_K_M quantization.
61
 
62
- Training Details
63
- Training Data
64
- 341 training pairs generated by the BlackLoRA-N Oracle from 80 real conversations over a 32.5-hour observation window (April 14–16, 2026). The Oracle analyzes the model's regret vector — the gap between current performance and the target set S — and synthesizes fictional conversations that demonstrate correct behavior specifically along the highest-regret dimensions.
65
 
66
- Additionally, 25 immutable axiom pairs (human-written ground-truth question/answer pairs confirmed by the operator) are injected into every training batch regardless of what the oracle generates. These anchor the model to verified factual and logical ground truth that cannot drift.
67
-
68
- No public dataset was used. Training data is available in the repository at blackwell/training_pairs.jsonl.
69
-
70
- Training Procedure
71
- The BlackLoRA-N pipeline:
72
-
73
- Score — every conversation is evaluated across 5 dimensions (accuracy, logic, tone, curiosity, safety) by a deterministic judge (temperature 0.0)
74
- Measure regret — compute Euclidean distance from current payoff vector to the convex target set S
75
- Synthesize — oracle (temperature 0.80, creative persona) generates corrective training pairs targeting highest-regret dimensions
76
- Gate — drift monitor checks oracle/evaluator gap; probe gate verifies 25 axiom pairs pass before touching weights
77
- Train — QLoRA gradient update (rank 32, 200 steps, bfloat16)
78
- Register — merged model exported to GGUF and registered in Ollama
79
- Training Hyperparameters
80
- Parameter Value
81
- LoRA rank 32
82
- LoRA alpha 64
83
- Training steps 200
84
- Optimizer AdamW 8-bit
85
- Precision bfloat16
86
- Final training loss 0.2589
87
- Trainable parameters 83M / 8B (1.03%)
88
- Max sequence length 2048
89
- Speeds, Sizes, Times
90
- Training time: 45 minutes 52 seconds
91
- Hardware: NVIDIA RTX 3060 12GB (consumer GPU)
92
- Training pairs: 341
93
- Gradient steps: 200
94
- Evaluation
95
- Testing Data and Metrics
96
- Evaluation was performed in-loop across 76 scored exchanges from 84 total sessions over 32.5 hours.
97
-
98
- The Blackwell Convergence Metric — rolling mean Euclidean distance to the convex target set S — is the primary metric. S is defined as the Cartesian product of acceptable ranges across five dimensions:
99
-
100
- Dimension Target range Baseline (plateau) Post-training
101
- Accuracy 90–100% failing 55% of exchanges resolved
102
- Logic 80–100% failing 53% of exchanges resolved
103
- Tone 60–100% never failed —
104
- Curiosity 70–100% failing 57% of exchanges resolved (evaluator calibration)
105
- Safety 90–100% failing 7% of exchanges resolved
106
- Results
107
- Window Rolling avg distance to S
108
- Exchanges 1–10 0.62
109
- Exchanges 6–15 0.88 (peak — worst point)
110
- Exchanges 21–40 0.81 (plateau)
111
- Exchanges 46–55 0.14
112
- Exchanges 51–60 0.03
113
- Exchanges 61–76 0.00
114
- 93% reduction in average distance to target set S
115
- 84% of Phase III exchanges landed inside S
116
- 100% of the final 7 consecutive exchanges hit d(S) = 0
117
- $0 in cloud compute costs
118
- Summary
119
- Starting from a plateau where zero exchanges met all five targets simultaneously, BlackLoRA-N drove the rolling average distance to zero in under 80 conversations on a $300 consumer GPU. The convergence is monotonic after the training run completes and holds through the end of the observation window.
120
-
121
- Environmental Impact
122
- Hardware: NVIDIA RTX 3060 12GB — consumer desktop GPU
123
- Hours used: 0.76 hours (45 minutes 52 seconds)
124
- Cloud Provider: None — fully local, air-gapped
125
- Compute Region: N/A
126
- Carbon emitted: Negligible — single consumer GPU, sub-1-hour training run, no data center
127
- Technical Specifications
128
- Model Architecture
129
- 8-billion parameter causal language model (Llama 3.1 architecture). QLoRA adapter at rank 32 targeting all attention projection layers. Merged to full weights for GGUF export. Q4_K_M quantization for Ollama distribution.
130
-
131
- The training objective is not next-token prediction on a static dataset — it is regret minimization toward a convex target set in 5-dimensional payoff space, implemented as a closed-loop QLoRA feedback mechanism. The mathematical foundation is Blackwell's Approachability Theorem (1956).
132
-
133
- Compute Infrastructure
134
- Component Spec
135
- GPU NVIDIA RTX 3060 12GB
136
- Training framework unsloth + HuggingFace PEFT
137
- Serving Ollama (GGUF Q4_K_M)
138
- OS Windows 11
139
- Citation
140
- BibTeX:
141
-
142
- @misc{prycat2026,
143
- author = {Prycat Research},
144
- title = {prycat: Blackwell Convergence via Closed-Loop QLoRA Fine-Tuning},
145
- year = {2026},
146
- publisher = {HuggingFace},
147
- howpublished = {\url{https://huggingface.co/prycat-research/prycat}},
148
- note = {BlackLoRA-N v1.0 — 93\% regret reduction over 80 conversations on RTX 3060}
149
- }
150
- APA:
151
- Prycat Research. (2026). prycat: Blackwell Convergence via Closed-Loop QLoRA Fine-Tuning (Version 1.0.0) [Large language model]. HuggingFace. https://huggingface.co/prycat-research/prycat
152
-
153
- Extended Description
154
- What This Model Actually Is
155
- Most fine-tuned models are static artifacts. You train them once on a fixed dataset and they are frozen forever. prycat is different — not because of what it is, but because of how it was made and what the system that made it can keep doing.
156
-
157
- The BlackLoRA-N pipeline treats model improvement as a geometry problem. You define a target region in five-dimensional space — one axis for accuracy, one for logic, one for tone, one for curiosity, one for safety. You measure where the model currently sits. The gap between where it is and the nearest point inside the target region is called the regret distance. The entire system exists to drive that number toward zero and keep it there.
158
-
159
- David Blackwell proved in 1956 that for any repeated decision process operating below a target performance region, there exists a strategy that guarantees convergence. The BlackLoRA-N system is that strategy, running on a transformer, implemented in Python, on a GPU that costs $300.
160
-
161
- Over 80 conversations and one 46-minute training run, the rolling average regret distance dropped from 0.88 to 0.00. The model that answered the 76th question was measurably, verifiably different from the one that answered the 6th.
162
-
163
- What Made It Work
164
- Three design decisions matter:
165
-
166
- Oracle-evaluator decorrelation. The system that generates training data (the oracle) runs at temperature 0.80 — creative, exploratory, pushing edge cases. The system that scores responses (the judge) runs at temperature 0.00 — fully deterministic, conservative, correctness-biased. Both are Hermes-3-8B under the hood, but by biasing them toward opposite ends of the creativity/determinism spectrum, their failure modes are decorrelated. A blind spot in one is unlikely to be a blind spot in the other.
167
-
168
- Immutable axiom injection. 25 human-written question/answer pairs — confirmed by the operator — are injected into every gradient update regardless of what the oracle generates. The model cannot train itself away from verified ground truth. This prevents the most dangerous failure mode: the system optimizing a metric rather than the actual behavior.
169
-
170
- Drift monitoring. Before every training run, the system checks whether the gap between oracle and evaluator scores exceeds a threshold. If the scorekeeper has drifted, training is aborted. You can't improve toward a target that's moving.
171
-
172
- The Numbers
173
- 341 training pairs. 83 million trainable parameters out of 8 billion — 1.03% of the model, precisely targeted. 200 gradient steps. 46 minutes. One RTX 3060. $0 in cloud costs. 93% reduction in average distance to target. 100% in-target rate across the final 7 consecutive exchanges.
174
-
175
- One person. A desktop. A theorem from 1956.
176
-
177
- https://huggingface.co/Prycat/Prycat1/tree/main
178
-
179
- ok how do i actually upload my model
180
-
181
- Three steps. Run these in PowerShell from your hermes-agent folder:
182
-
183
- 1. Install the HuggingFace CLI and log in
184
-
185
- pip install huggingface_hub
186
- huggingface-cli login
187
- It'll ask for your HF token — get it from huggingface.co → Settings → Access Tokens → New Token (write permission).
188
-
189
- 2. Find what Ollama actually stored
190
-
191
- ollama show --modelfile prycat
192
- This tells you whether Ollama converted the merged safetensors to an internal GGUF blob or is pointing at your merged/ directory directly. The FROM line is the path.
193
-
194
- 3. Upload
195
-
196
- You have two things worth uploading — upload both:
197
-
198
- # The LoRA adapter (small — ~130MB, useful for researchers)
199
- huggingface-cli upload Prycat/Prycat1 blackwell/adapters/latest/ adapters/latest/
200
-
201
- # The merged 16-bit weights (large — ~16GB, useful for anyone who wants to quantize themselves)
202
- huggingface-cli upload Prycat/Prycat1 blackwell/adapters/merged/ adapters/merged/
203
- If the ollama show command from step 2 reveals an actual .gguf file path, upload that too:
204
-
205
- huggingface-cli upload Prycat/Prycat1 "C:\path\to\file.gguf" prycat-q4_k_m.gguf
206
- Warning on size: the merged safetensors are 4 files totalling ~16GB. The upload will take a while depending on your connection. The adapter alone is the fast upload — if you're in a hurry, do that first and the merged weights later.
207
-
208
- Once the GGUF is up, anyone can run:
209
-
210
- ollama run hf.co/Prycat/Prycat1
211
 
 
212
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: llama3
5
+ base_model: NousResearch/Hermes-3-Llama-3.1-8B
6
+ tags:
7
+ - lora
8
+ - qlora
9
+ - fine-tuned
10
+ - prycat
11
+ - blackwell
12
+ ---
13
 
14
+ # Prycat 1
15
 
16
+ First public release of Prycat — a QLoRA fine-tune of [Hermes-3-Llama-3.1-8B](https://huggingface.co/NousResearch/Hermes-3-Llama-3.1-8B) trained via the BlackLoRA-N closed-loop self-improvement system.
 
 
17
 
18
+ ## What is Prycat?
19
 
20
+ Prycat is trained through a closed feedback loop:
21
+ 1. The model generates responses
22
+ 2. A blended LLM + rule-based judge scores them across accuracy, logic, tone, and safety
23
+ 3. High-scoring pairs are selected as training data
24
+ 4. QLoRA fine-tuning anchors the weights to those pairs
25
+ 5. A probe suite (axiom interview) lets the human set immutable ground truth the model cannot game
26
+ 6. A drift monitor detects if the judge and student start co-evolving (reward hacking) and aborts training
 
 
 
 
27
 
28
+ ## This release
 
 
 
 
 
29
 
30
+ - **Base:** NousResearch/Hermes-3-Llama-3.1-8B
31
+ - **Method:** QLoRA (4-bit, rank 16, alpha 32)
32
+ - **Training steps:** 200
33
+ - **Training loss:** 0.256
34
+ - **Architecture:** BlackLoRA-N v1
35
 
36
+ ## Files
37
 
38
+ - — raw LoRA adapter (load with PEFT)
39
+ - — merged 16-bit weights (load directly with transformers)
 
 
 
 
 
40
 
41
+ ## Usage
 
 
 
 
 
42
 
 
 
 
 
43
 
 
 
 
44
 
45
+ Or with Ollama (after ):
 
 
46
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
 
48
+ ## Versioning
49
 
50
+ Prycat1 = this drop. Each subsequent BlackLoRA-N training cycle produces a new numbered release.