AEUPH commited on
Commit
f1256db
Β·
verified Β·
1 Parent(s): 2f1c9ab

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +378 -0
README.md ADDED
@@ -0,0 +1,378 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ license: mit
4
+ library_name: peft
5
+ tags:
6
+ - qwen
7
+ - qwen2.5
8
+ - fine-tuned
9
+ - synthetic-data
10
+ - instruction-tuned
11
+ - silicon-factory
12
+ base_model: Qwen/Qwen2.5-0.5B-Instruct
13
+ dataset:
14
+ - https://huggingface.co/datasets/AEUPH/synthetic_Jailbreak_Defense_Doorpage_v56
15
+ pipeline_tag: text-generation
16
+ inference: true
17
+ ---
18
+
19
+ # πŸš€ Jailbreak Defense Doorpage V56
20
+
21
+ > **Fine-Tuned from Qwen2.5-0.5B-Instruct** Β· Specialized for **AI JAILBREAK DEFENSE**
22
+ > Generated with Silicon Factory v3 Β· Tree-Speculative Decoding + 4D Brane Memory
23
+
24
+ <div align="center">
25
+
26
+ | Dataset | Model | Buy Gold Tier |
27
+ |---------|-------|---------------|
28
+ | [synthetic_Jailbreak_Defense_Doorpage_v56](https://huggingface.co/datasets/AEUPH/synthetic_Jailbreak_Defense_Doorpage_v56) | **This Model** | [πŸ’Ž $2,500 License](https://buy.stripe.com/3cIcN4gzC7lXfuH49s7wA00) |
29
+
30
+ </div>
31
+
32
+ ---
33
+
34
+ ## πŸ’Ž UNLOCK GOLD TIER β€” $2,500
35
+
36
+ > ⚑ **Get the full commercial license, unlimited usage rights, priority support, and exclusive dataset access.**
37
+
38
+ [**πŸ‘‰ PURCHASE NOW VIA STRIPE**](https://buy.stripe.com/3cIcN4gzC7lXfuH49s7wA00)
39
+
40
+ *One-time payment Β· Instant delivery Β· Lifetime updates included*
41
+
42
+ ---
43
+
44
+ ## Model Details
45
+
46
+ | Property | Value |
47
+ |----------|-------|
48
+ | **Model ID** | `synthetic_Jailbreak_Defense_Doorpage_v56-model` |
49
+ | **Base Model** | [Qwen2.5-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct) |
50
+ | **Fine-Tuning Method** | LoRA (r=16, Ξ±=16) |
51
+ | **Developed by** | Silicon Factory v3 (AEUPH) |
52
+ | **Release Date** | 2026-04-07 |
53
+ | **License** | MIT (free tier) β€” [Gold Commercial License](https://buy.stripe.com/3cIcN4gzC7lXfuH49s7wA00) available |
54
+ | **Language** | English |
55
+ | **Architecture** | Causal Language Model (Transformer) |
56
+ | **Parameters** | 500M (base) + ~4M LoRA |
57
+ | **Training Samples** | 5 |
58
+ | **Avg Response Length** | 370 chars |
59
+ | **Training Steps** | 30 |
60
+ | **Learning Rate** | 2e-4 |
61
+ | **Context Length** | 2048 tokens |
62
+
63
+ ## Model Description
64
+
65
+ This model is a **specialized fine-tuned variant** of Qwen2.5-0.5B-Instruct, trained on a curated synthetic dataset generated through the **Silicon Factory v3** pipeline. It uses **Tree-Speculative Decoding** for diverse output generation and **4D Brane Memory** for narrative consistency across all training samples.
66
+
67
+ **Focus Area:** AI JAILBREAK DEFENSE
68
+
69
+ ### What This Model Does Best
70
+
71
+ - βœ… High-quality instruction following for **ai jailbreak defense** topics
72
+ - βœ… Structured, detailed responses with actionable insights
73
+ - βœ… Consistent tone and formatting across outputs
74
+ - βœ… Optimized for intermediate-to-expert user queries
75
+
76
+ ## ⚑ GET THE GOLD TIER β€” FULL COMMERCIAL LICENSE
77
+
78
+ > πŸ”“ **Unlock enterprise-grade rights:**
79
+ > - Commercial deployment & redistribution
80
+ > - White-label usage
81
+ > - Priority support & custom training
82
+ > - Access to extended datasets (100K+ entries)
83
+ > - Early access to future model versions
84
+
85
+ **[πŸ’³ BUY GOLD TIER β€” $2,500](https://buy.stripe.com/3cIcN4gzC7lXfuH49s7wA00)**
86
+
87
+ ---
88
+
89
+ ## Uses
90
+
91
+ ### Direct Use
92
+
93
+ This model is designed for:
94
+ - **Chat & Q&A** β€” Interactive responses on ai jailbreak defense topics
95
+ - **Content Generation** β€” Articles, documentation, guides, and tutorials
96
+ - **Research & Analysis** β€” Technical breakdowns and comparative evaluations
97
+ - **Education** β€” Training materials and onboarding content
98
+ - **Automation** β€” API-powered assistants and workflows
99
+
100
+ ### Downstream Use
101
+
102
+ Suitable for:
103
+ - Fine-tuning further on domain-specific data
104
+ - Integration into RAG pipelines
105
+ - Knowledge base augmentation
106
+ - Customer support automation
107
+
108
+ ### Out-of-Scope Use
109
+
110
+ ⚠️ This model is **NOT** intended for:
111
+ - Medical, legal, or financial advice
112
+ - High-stakes decision making without human review
113
+ - Generating harmful, illegal, or unethical content
114
+ - Misrepresentation as human-authored without disclosure
115
+
116
+ ## Bias, Risks, and Limitations
117
+
118
+ - **Training Data Bias:** Model reflects patterns in synthetic data β€” may not represent real-world diversity
119
+ - **Knowledge Cutoff:** Based on base model training data β€” no real-time knowledge
120
+ - **Response Length:** Optimized for ~370-char responses β€” very long queries may be truncated
121
+ - **Hallucination Risk:** As with all LLMs, outputs may contain plausible but inaccurate statements
122
+ - **Domain Specificity:** Best performance on **ai jailbreak defense** β€” off-topic queries may yield weaker results
123
+
124
+ > πŸ’‘ **Recommendation:** Always review outputs before deployment. For production use, [obtain the Gold Tier license](https://buy.stripe.com/3cIcN4gzC7lXfuH49s7wA00) which includes QA guidelines and support.
125
+
126
+ ---
127
+
128
+ ## How to Get Started
129
+
130
+ ### Python (Transformers + PEFT)
131
+
132
+ ```python
133
+ from transformers import AutoTokenizer, AutoModelForCausalLM
134
+ from peft import PeftModel
135
+
136
+ # Load base model
137
+ base_model = "Qwen/Qwen2.5-0.5B-Instruct"
138
+ tokenizer = AutoTokenizer.from_pretrained(base_model)
139
+ model = AutoModelForCausalLM.from_pretrained(base_model, torch_dtype="auto", device_map="auto")
140
+
141
+ # Apply LoRA adapters
142
+ model = PeftModel.from_pretrained(model, "AEUPH/synthetic_Jailbreak_Defense_Doorpage_v56-model")
143
+ model = model.merge_and_unload()
144
+
145
+ # Generate
146
+ prompt = "Explain ai jailbreak defense in simple terms"
147
+ inputs = tokenizer(f"<im_start>user\n{prompt}\n<im_end>\n<im_start>assistant\n", return_tensors="pt").to(model.device)
148
+ outputs = model.generate(**inputs, max_new_tokens=256, temperature=0.8, top_p=0.95)
149
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
150
+ ```
151
+
152
+ ### Via HuggingFace Pipeline
153
+
154
+ ```python
155
+ from transformers import pipeline
156
+
157
+ pipe = pipeline("text-generation", model="AEUPH/synthetic_Jailbreak_Defense_Doorpage_v56-model", torch_dtype="auto", device_map="auto")
158
+ result = pipe("What is ai jailbreak defense?", max_new_tokens=256)
159
+ print(result[0]["generated_text"])
160
+ ```
161
+
162
+ ### cURL (HF Inference API)
163
+
164
+ ```bash
165
+ curl https://api-inference.huggingface.co/models/AEUPH/synthetic_Jailbreak_Defense_Doorpage_v56-model \
166
+ -X POST \
167
+ -H "Authorization: Bearer $HF_TOKEN" \
168
+ -H "Content-Type: application/json" \
169
+ -d '{"inputs": "Explain ai jailbreak defense", "parameters": {"max_new_tokens": 256}}'
170
+ ```
171
+
172
+ ---
173
+
174
+ ## Training Details
175
+
176
+ ### Training Data
177
+
178
+ - **Source:** Synthetic data generated by Silicon Factory v3
179
+ - **Size:** 5 instruction-response pairs
180
+ - **Avg Instruction Length:** 231 chars
181
+ - **Avg Response Length:** 370 chars
182
+ - **Category:** mixed
183
+ - **Focus:** AI JAILBREAK DEFENSE
184
+ - **Generation Method:** Tree-Speculative Decoding (branch factor=5, depth=4) + 4D Brane Memory for consistency
185
+
186
+ ### Training Procedure
187
+
188
+ | Hyperparameter | Value |
189
+ |----------------|-------|
190
+ | **Method** | LoRA (Low-Rank Adaptation) |
191
+ | **Rank (r)** | 16 |
192
+ | **Alpha** | 16 |
193
+ | **Dropout** | 0 |
194
+ | **Target Modules** | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj |
195
+ | **Learning Rate** | 2e-4 |
196
+ | **Batch Size** | 2 (per device) |
197
+ | **Gradient Accumulation** | 4 |
198
+ | **Warmup Steps** | 5 |
199
+ | **Total Steps** | 30 |
200
+ | **Optimizer** | AdamW (torch) |
201
+ | **Precision** | fp16/bf16 (GPU-dependent) |
202
+ | **Max Sequence Length** | 2048 |
203
+
204
+ ### Speeds, Sizes, Times
205
+
206
+ - **Model Size:** ~500MB (merged) / ~10MB (LoRA only)
207
+ - **Training Time:** ~5-15 minutes (GPU) / ~30-60 minutes (CPU)
208
+ - **Inference Speed:** ~30-80 tokens/sec (GPU) / ~10-30 tokens/sec (CPU)
209
+
210
+ ---
211
+
212
+ ## Evaluation
213
+
214
+ ### Testing Data
215
+
216
+ Training data is generated synthetically with built-in quality control:
217
+ - **Quality Threshold:** 0.7 minimum score
218
+ - **Duplicate Threshold:** 0.9 max similarity
219
+ - **Validation:** All entries reviewed for coherence, relevance, and completeness
220
+
221
+ ### Metrics
222
+
223
+ | Metric | Value |
224
+ |--------|-------|
225
+ | **Training Samples** | 5 |
226
+ | **Valid Entries** | 100% (filtered) |
227
+ | **Deduplication** | Applied |
228
+ | **Language** | English |
229
+
230
+ ---
231
+
232
+ ## Summary
233
+
234
+ | Component | Detail |
235
+ |-----------|--------|
236
+ | **Base** | Qwen2.5-0.5B-Instruct (Qwen Team, Alibaba) |
237
+ | **Adapter** | LoRA r=16, all attention + FFN layers |
238
+ | **Data** | 5 synthetic entries, AI JAILBREAK DEFENSE focus |
239
+ | **Framework** | Transformers + PEFT + TRL (SFTTrainer) |
240
+ | **Hardware** | NVIDIA GPU (CUDA) or CPU fallback |
241
+ | **Precision** | fp16 (Ampere+) / bf16 / fp32 |
242
+
243
+ ### Environmental Impact
244
+
245
+ Estimated using [ML Impact Calculator](https://mlco2.github.io/impact/):
246
+ - **Hardware:** NVIDIA GPU (consumer-grade)
247
+ - **Training Time:** ~5-15 minutes
248
+ - **Carbon Emitted:** < 0.01 kg COβ‚‚eq (efficient LoRA training)
249
+
250
+ ---
251
+
252
+ ## Citation
253
+
254
+ ### BibTeX
255
+ ```bibtex
256
+ @misc{synthetic_Jailbreak_Defense_Doorpage_v56_model,
257
+ title = {synthetic Jailbreak Defense Doorpage v56},
258
+ author = {Silicon Factory v3 (AEUPH)},
259
+ year = {2026},
260
+ url = {https://huggingface.co/AEUPH/synthetic_Jailbreak_Defense_Doorpage_v56-model},
261
+ note = {Fine-tuned from Qwen2.5-0.5B-Instruct using LoRA}
262
+ }
263
+ ```
264
+
265
+ ### APA
266
+ > Silicon Factory v3. (2026). *Synthetic Jailbreak Defense Doorpage V56* [Large language model]. Hugging Face. https://huggingface.co/AEUPH/synthetic_Jailbreak_Defense_Doorpage_v56-model
267
+
268
+ ---
269
+
270
+ ## More Information
271
+
272
+ ### Related Resources
273
+
274
+ | Resource | Link |
275
+ |----------|------|
276
+ | **Dataset** | [synthetic_Jailbreak_Defense_Doorpage_v56](https://huggingface.co/datasets/AEUPH/synthetic_Jailbreak_Defense_Doorpage_v56) |
277
+ | **Base Model** | [Qwen2.5-0.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-0.5B-Instruct) |
278
+ | **Silicon Factory** | [github.com/aeuphoraex/qwen-hyperspeed-chatbot](https://github.com/aeuphoraex/qwen-hyperspeed-chatbot) |
279
+
280
+ ### Training Examples
281
+
282
+ **Example 1:**
283
+
284
+ <details>
285
+ <summary>Input</summary>
286
+
287
+ ```
288
+ Regarding AI JAILBREAK DEFENSE: Articulate this topic through the lens of modern best practices. Imagine explaining to a non-technical stakeholder making a budget decision. Key principles with support
289
+ ```
290
+
291
+ </details>
292
+
293
+ <details>
294
+ <summary>Output</summary>
295
+
296
+ ```
297
+ Articulate the topic of AI Jailbreak Defense through a lens of modern best practices, focusing on key principles and supporting evidence. Discuss real-world patterns in contemporary applications to illustrate how these concepts have evolved.
298
+
299
+ Principle 1: **Resiliency Over Risk**: This principle sug
300
+ ```
301
+
302
+ </details>
303
+
304
+ **Example 2:**
305
+
306
+ <details>
307
+ <summary>Input</summary>
308
+
309
+ ```
310
+ Topic: AI JAILBREAK DEFENSE. Walk through this subject through the lens of modern best practices. Peer review of a colleague's approach. Comparative analysis with pros and cons. Address both technical
311
+ ```
312
+
313
+ </details>
314
+
315
+ <details>
316
+ <summary>Output</summary>
317
+
318
+ ```
319
+ In the realm of advanced artificial intelligence (AI) jailbreaking, it's crucial to approach this subject with a strategic mindset that balances technical expertise and human insights. Modern best practices in AI jailing include several key strategies:
320
+
321
+ 1. **Risk Assessment**: Before initiating any
322
+ ```
323
+
324
+ </details>
325
+
326
+ **Example 3:**
327
+
328
+ <details>
329
+ <summary>Input</summary>
330
+
331
+ ```
332
+ Describe the following: AI JAILBREAK DEFENSE -- approach it from a beginner's perspective. Write as documentation for a team inheriting your work. Detailed breakdown with specific examples. Reference
333
+ ```
334
+
335
+ </details>
336
+
337
+ <details>
338
+ <summary>Output</summary>
339
+
340
+ ```
341
+ # AI Jailbreak Defense - Approach from a Beginner's Perspective
342
+
343
+ AI jailbreaking is the act of gaining unauthorized access to an Android device and modifying its system settings. In this beginner-friendly approach, we'll cover how you can safely obtain your own devices or modify others' for testing
344
+ ```
345
+
346
+ </details>
347
+
348
+
349
+ ---
350
+
351
+ ## πŸ’Ž READY TO GO PRODUCTION?
352
+
353
+ > **Upgrade to Gold Tier for:**
354
+ > - 🏒 Full commercial usage rights
355
+ > - πŸ“¦ Extended datasets (10K-100K+ entries)
356
+ > - 🎯 Custom domain training
357
+ > - πŸš€ Priority support & SLA
358
+ > - πŸ”„ Lifetime model updates
359
+ > - πŸ“Š Performance benchmarks & reports
360
+
361
+ **[⚑ BUY GOLD TIER β€” $2,500](https://buy.stripe.com/3cIcN4gzC7lXfuH49s7wA00)**
362
+
363
+ *Trusted by startups and enterprises worldwide. Instant delivery via Stripe.*
364
+
365
+ ---
366
+
367
+ ## Model Card Authors
368
+
369
+ **Silicon Factory v3** β€” Automated Fine-Tuning Pipeline
370
+
371
+ ## Model Card Contact
372
+
373
+ πŸ“§ hybridionorb@gmail.com Β· 🐦 [@aeuphoraex](https://huggingface.co/AEUPH)
374
+
375
+ ---
376
+
377
+ *Built with Silicon Factory v3 Β· Tree-Speculative Decoding Β· 4D Brane Memory*
378
+ *This model is free under MIT License. [Gold Commercial License available for $2,500.](https://buy.stripe.com/3cIcN4gzC7lXfuH49s7wA00)*