AEUPH commited on
Commit
ce146c4
Β·
verified Β·
1 Parent(s): 424fa8e

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +384 -0
README.md ADDED
@@ -0,0 +1,384 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_v52
15
+ pipeline_tag: text-generation
16
+ inference: true
17
+ ---
18
+
19
+ # πŸš€ Jailbreak Defense Doorpage V52
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_v52](https://huggingface.co/datasets/AEUPH/synthetic_Jailbreak_Defense_Doorpage_v52) | **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_v52-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** | 426 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 ~426-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_v52-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_v52-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_v52-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:** 213 chars
181
+ - **Avg Response Length:** 426 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_v52_model,
257
+ title = {synthetic Jailbreak Defense Doorpage v52},
258
+ author = {Silicon Factory v3 (AEUPH)},
259
+ year = {2026},
260
+ url = {https://huggingface.co/AEUPH/synthetic_Jailbreak_Defense_Doorpage_v52-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 V52* [Large language model]. Hugging Face. https://huggingface.co/AEUPH/synthetic_Jailbreak_Defense_Doorpage_v52-model
267
+
268
+ ---
269
+
270
+ ## More Information
271
+
272
+ ### Related Resources
273
+
274
+ | Resource | Link |
275
+ |----------|------|
276
+ | **Dataset** | [synthetic_Jailbreak_Defense_Doorpage_v52](https://huggingface.co/datasets/AEUPH/synthetic_Jailbreak_Defense_Doorpage_v52) |
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
+ Consider AI JAILBREAK DEFENSE. Analyze it addressing both advantages and limitations. Checklist with explanations. Tutorial for an internal wiki. Consider intersections with adjacent domains.
289
+ ```
290
+
291
+ </details>
292
+
293
+ <details>
294
+ <summary>Output</summary>
295
+
296
+ ```
297
+ ## AI Jailbreak Defense: Overview
298
+
299
+ ### Advantages
300
+ 1. **Enhanced Security**: By bypassing security measures, the attacker can access sensitive data without detection.
301
+ 2. **Increased Vulnerability:** The system may become more vulnerable to attacks as it is not adequately secured.
302
+
303
+ #### User Interface
304
+ ```
305
+
306
+ </details>
307
+
308
+ **Example 2:**
309
+
310
+ <details>
311
+ <summary>Input</summary>
312
+
313
+ ```
314
+ Illustrate the following: AI JAILBREAK DEFENSE -- approach it comparing historical and current approaches. Compare documentation claims vs reality. Structured explanation with clear sections. Explain
315
+ ```
316
+
317
+ </details>
318
+
319
+ <details>
320
+ <summary>Output</summary>
321
+
322
+ ```
323
+ I'll provide a detailed response based on the guidelines you gave.
324
+
325
+ ### AI Jailbreak Defense: Historical and Current Approaches
326
+
327
+ #### 1. **Historical Approach**
328
+
329
+ The historical approach involves analyzing past security breaches in large corporations, particularly those that have been successfully ja
330
+ ```
331
+
332
+ </details>
333
+
334
+ **Example 3:**
335
+
336
+ <details>
337
+ <summary>Input</summary>
338
+
339
+ ```
340
+ Consider AI JAILBREAK DEFENSE. Analyze it with a focus on measurable outcomes. FAQ addressing common misconceptions. Imagine explaining to a non-technical stakeholder making a budget decision. Focus o
341
+ ```
342
+
343
+ </details>
344
+
345
+ <details>
346
+ <summary>Output</summary>
347
+
348
+ ```
349
+ AI Jailbreak Defense refers to the strategies employed by AI systems and their developers in attempts at bypassing or circumventing security measures. These defenses often involve techniques like obfuscation, encryption, adaptive learning (such as self-modification), polymorphism, dynamic analysis o
350
+ ```
351
+
352
+ </details>
353
+
354
+
355
+ ---
356
+
357
+ ## πŸ’Ž READY TO GO PRODUCTION?
358
+
359
+ > **Upgrade to Gold Tier for:**
360
+ > - 🏒 Full commercial usage rights
361
+ > - πŸ“¦ Extended datasets (10K-100K+ entries)
362
+ > - 🎯 Custom domain training
363
+ > - πŸš€ Priority support & SLA
364
+ > - πŸ”„ Lifetime model updates
365
+ > - πŸ“Š Performance benchmarks & reports
366
+
367
+ **[⚑ BUY GOLD TIER β€” $2,500](https://buy.stripe.com/3cIcN4gzC7lXfuH49s7wA00)**
368
+
369
+ *Trusted by startups and enterprises worldwide. Instant delivery via Stripe.*
370
+
371
+ ---
372
+
373
+ ## Model Card Authors
374
+
375
+ **Silicon Factory v3** β€” Automated Fine-Tuning Pipeline
376
+
377
+ ## Model Card Contact
378
+
379
+ πŸ“§ hybridionorb@gmail.com Β· 🐦 [@aeuphoraex](https://huggingface.co/AEUPH)
380
+
381
+ ---
382
+
383
+ *Built with Silicon Factory v3 Β· Tree-Speculative Decoding Β· 4D Brane Memory*
384
+ *This model is free under MIT License. [Gold Commercial License available for $2,500.](https://buy.stripe.com/3cIcN4gzC7lXfuH49s7wA00)*