Upload folder using huggingface_hub
Browse files- README.md +69 -6
- index.html +395 -18
README.md
CHANGED
|
@@ -1,10 +1,73 @@
|
|
| 1 |
---
|
| 2 |
-
title: Qwen3.8
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
-
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Qwen3.8-27B-Uncensored-MLX
|
| 3 |
+
emoji: π¦
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: indigo
|
| 6 |
sdk: static
|
| 7 |
+
short_description: MLX demo for Qwen3.8-27B-Uncensored on Apple Silicon
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# Qwen3.8-27B-Uncensored-MLX Demo
|
| 11 |
+
|
| 12 |
+
An interactive demo page for the [Qwen3.8-27B-Uncensored-MLX](https://huggingface.co/orcarouter/Qwen3.8-27B-Uncensored-MLX) model β an abliterated MLX build of Qwen's 27B vision-language model for Apple Silicon.
|
| 13 |
+
|
| 14 |
+
## Live Chat Demo
|
| 15 |
+
|
| 16 |
+
The embedded demo below uses the PyTorch equivalent on ZeroGPU. For native MLX inference on your Mac, see the [local usage instructions](#local-usage).
|
| 17 |
+
|
| 18 |
+
## Model Overview
|
| 19 |
+
|
| 20 |
+
**Qwen3.8-27B-Uncensored-MLX** is an abliterated (refusal-removed) MLX build of [`Qwen/Qwen3.8-27B`](https://huggingface.co/Qwen/Qwen3.8-27B) β a 27B-parameter dense, hybrid-attention native vision-language model with thinking control, tool-calling and an MTP head.
|
| 21 |
+
|
| 22 |
+
### Key Features
|
| 23 |
+
|
| 24 |
+
- **Abliterated**: Safety alignment removed for research purposes
|
| 25 |
+
- **MLX Format**: Optimized for Apple Silicon (M1/M2/M3/M4)
|
| 26 |
+
- **Vision-Language**: Native image understanding capabilities
|
| 27 |
+
- **Multiple Quantizations**: 2 / 4 / 6 / 8-bit precision options
|
| 28 |
+
- **Long Context**: 262K token context window
|
| 29 |
+
|
| 30 |
+
### Available Quantizations
|
| 31 |
+
|
| 32 |
+
| Precision | Size | Min Mac RAM | Quality |
|
| 33 |
+
|-----------|------|-------------|---------|
|
| 34 |
+
| 8-bit | ~27.5 GB | 32 GB | Near-lossless |
|
| 35 |
+
| 6-bit | ~22 GB | 24-32 GB | Excellent |
|
| 36 |
+
| 4-bit | ~15 GB | 24 GB | Very good (recommended) |
|
| 37 |
+
| 2-bit | ~8.7 GB | 16 GB | Severely degraded |
|
| 38 |
+
|
| 39 |
+
## Local Usage
|
| 40 |
+
|
| 41 |
+
```bash
|
| 42 |
+
# Install mlx-vlm
|
| 43 |
+
pip install -U mlx-vlm
|
| 44 |
+
|
| 45 |
+
# Download the 4-bit quantization
|
| 46 |
+
hf download orcarouter/Qwen3.8-27B-Uncensored-MLX --include "4-bit/*" \
|
| 47 |
+
--local-dir ./Qwen3.8-27B-Uncensored-MLX
|
| 48 |
+
|
| 49 |
+
# Text generation
|
| 50 |
+
python -m mlx_vlm generate \
|
| 51 |
+
--model ./Qwen3.8-27B-Uncensored-MLX/4-bit \
|
| 52 |
+
--prompt "Explain quantum entanglement in one sentence." --max-tokens 256
|
| 53 |
+
|
| 54 |
+
# Vision (image + text)
|
| 55 |
+
python -m mlx_vlm generate \
|
| 56 |
+
--model ./Qwen3.8-27B-Uncensored-MLX/4-bit \
|
| 57 |
+
--image path/to/image.png \
|
| 58 |
+
--prompt "Describe this image." --max-tokens 256
|
| 59 |
+
|
| 60 |
+
# OpenAI-compatible server
|
| 61 |
+
python -m mlx_vlm server --model ./Qwen3.8-27B-Uncensored-MLX/4-bit --port 8080
|
| 62 |
+
```
|
| 63 |
+
|
| 64 |
+
## Links
|
| 65 |
+
|
| 66 |
+
- **Model**: [orcarouter/Qwen3.8-27B-Uncensored-MLX](https://huggingface.co/orcarouter/Qwen3.8-27B-Uncensored-MLX)
|
| 67 |
+
- **API**: [OrcaRouter Model API](https://www.orcarouter.ai/models/obsidian/qwen3.8-27b)
|
| 68 |
+
- **Base Model**: [Qwen/Qwen3.8-27B](https://huggingface.co/Qwen/Qwen3.8-27B)
|
| 69 |
+
- **Website**: [orcarouter.ai](https://www.orcarouter.ai)
|
| 70 |
+
|
| 71 |
+
## Disclaimer
|
| 72 |
+
|
| 73 |
+
This model has had its safety alignment substantially removed via abliteration. It is released strictly for legitimate research β interpretability, AI-safety and refusal-mechanism study, red-teaming, robustness evaluation, and controlled experiments. You assume full responsibility and liability for how you use it.
|
index.html
CHANGED
|
@@ -1,19 +1,396 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Qwen3.8-27B-Uncensored-MLX Demo</title>
|
| 7 |
+
<style>
|
| 8 |
+
* {
|
| 9 |
+
margin: 0;
|
| 10 |
+
padding: 0;
|
| 11 |
+
box-sizing: border-box;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
body {
|
| 15 |
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
|
| 16 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 17 |
+
min-height: 100vh;
|
| 18 |
+
color: #333;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
.container {
|
| 22 |
+
max-width: 1200px;
|
| 23 |
+
margin: 0 auto;
|
| 24 |
+
padding: 20px;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
header {
|
| 28 |
+
text-align: center;
|
| 29 |
+
padding: 40px 20px;
|
| 30 |
+
color: white;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
header h1 {
|
| 34 |
+
font-size: 2.5rem;
|
| 35 |
+
margin-bottom: 10px;
|
| 36 |
+
text-shadow: 0 2px 4px rgba(0,0,0,0.2);
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
header p {
|
| 40 |
+
font-size: 1.1rem;
|
| 41 |
+
opacity: 0.9;
|
| 42 |
+
max-width: 700px;
|
| 43 |
+
margin: 0 auto;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.badges {
|
| 47 |
+
display: flex;
|
| 48 |
+
justify-content: center;
|
| 49 |
+
gap: 10px;
|
| 50 |
+
margin-top: 20px;
|
| 51 |
+
flex-wrap: wrap;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
.badge {
|
| 55 |
+
background: rgba(255,255,255,0.2);
|
| 56 |
+
padding: 6px 14px;
|
| 57 |
+
border-radius: 20px;
|
| 58 |
+
font-size: 0.85rem;
|
| 59 |
+
backdrop-filter: blur(10px);
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
.demo-section {
|
| 63 |
+
background: white;
|
| 64 |
+
border-radius: 16px;
|
| 65 |
+
padding: 24px;
|
| 66 |
+
margin: 20px 0;
|
| 67 |
+
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
.demo-section h2 {
|
| 71 |
+
color: #667eea;
|
| 72 |
+
margin-bottom: 16px;
|
| 73 |
+
font-size: 1.5rem;
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
.demo-frame {
|
| 77 |
+
width: 100%;
|
| 78 |
+
height: 700px;
|
| 79 |
+
border: none;
|
| 80 |
+
border-radius: 12px;
|
| 81 |
+
background: #f5f5f5;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
.info-grid {
|
| 85 |
+
display: grid;
|
| 86 |
+
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
| 87 |
+
gap: 20px;
|
| 88 |
+
margin: 20px 0;
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
.info-card {
|
| 92 |
+
background: white;
|
| 93 |
+
border-radius: 12px;
|
| 94 |
+
padding: 24px;
|
| 95 |
+
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
.info-card h3 {
|
| 99 |
+
color: #764ba2;
|
| 100 |
+
margin-bottom: 12px;
|
| 101 |
+
font-size: 1.2rem;
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
.info-card ul {
|
| 105 |
+
list-style: none;
|
| 106 |
+
padding: 0;
|
| 107 |
+
}
|
| 108 |
+
|
| 109 |
+
.info-card li {
|
| 110 |
+
padding: 8px 0;
|
| 111 |
+
border-bottom: 1px solid #eee;
|
| 112 |
+
display: flex;
|
| 113 |
+
justify-content: space-between;
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
+
.info-card li:last-child {
|
| 117 |
+
border-bottom: none;
|
| 118 |
+
}
|
| 119 |
+
|
| 120 |
+
.info-card li span:first-child {
|
| 121 |
+
color: #666;
|
| 122 |
+
}
|
| 123 |
+
|
| 124 |
+
.info-card li span:last-child {
|
| 125 |
+
font-weight: 600;
|
| 126 |
+
color: #333;
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
.code-block {
|
| 130 |
+
background: #1e1e1e;
|
| 131 |
+
color: #d4d4d4;
|
| 132 |
+
padding: 20px;
|
| 133 |
+
border-radius: 12px;
|
| 134 |
+
overflow-x: auto;
|
| 135 |
+
font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
|
| 136 |
+
font-size: 0.9rem;
|
| 137 |
+
line-height: 1.6;
|
| 138 |
+
margin: 16px 0;
|
| 139 |
+
}
|
| 140 |
+
|
| 141 |
+
.code-block .comment {
|
| 142 |
+
color: #6a9955;
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
.code-block .keyword {
|
| 146 |
+
color: #569cd6;
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
+
.code-block .string {
|
| 150 |
+
color: #ce9178;
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
.links {
|
| 154 |
+
display: flex;
|
| 155 |
+
justify-content: center;
|
| 156 |
+
gap: 16px;
|
| 157 |
+
margin: 30px 0;
|
| 158 |
+
flex-wrap: wrap;
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
+
.link-btn {
|
| 162 |
+
background: white;
|
| 163 |
+
color: #667eea;
|
| 164 |
+
padding: 12px 24px;
|
| 165 |
+
border-radius: 8px;
|
| 166 |
+
text-decoration: none;
|
| 167 |
+
font-weight: 600;
|
| 168 |
+
transition: all 0.3s ease;
|
| 169 |
+
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
.link-btn:hover {
|
| 173 |
+
transform: translateY(-2px);
|
| 174 |
+
box-shadow: 0 8px 24px rgba(0,0,0,0.2);
|
| 175 |
+
}
|
| 176 |
+
|
| 177 |
+
.disclaimer {
|
| 178 |
+
background: rgba(255, 193, 7, 0.1);
|
| 179 |
+
border: 1px solid rgba(255, 193, 7, 0.3);
|
| 180 |
+
border-radius: 12px;
|
| 181 |
+
padding: 20px;
|
| 182 |
+
margin: 20px 0;
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
+
.disclaimer h4 {
|
| 186 |
+
color: #f57c00;
|
| 187 |
+
margin-bottom: 8px;
|
| 188 |
+
}
|
| 189 |
+
|
| 190 |
+
.disclaimer p {
|
| 191 |
+
color: #666;
|
| 192 |
+
font-size: 0.9rem;
|
| 193 |
+
line-height: 1.6;
|
| 194 |
+
}
|
| 195 |
+
|
| 196 |
+
footer {
|
| 197 |
+
text-align: center;
|
| 198 |
+
padding: 30px;
|
| 199 |
+
color: white;
|
| 200 |
+
opacity: 0.8;
|
| 201 |
+
font-size: 0.9rem;
|
| 202 |
+
}
|
| 203 |
+
|
| 204 |
+
footer a {
|
| 205 |
+
color: white;
|
| 206 |
+
text-decoration: underline;
|
| 207 |
+
}
|
| 208 |
+
|
| 209 |
+
.tabs {
|
| 210 |
+
display: flex;
|
| 211 |
+
gap: 8px;
|
| 212 |
+
margin-bottom: 16px;
|
| 213 |
+
}
|
| 214 |
+
|
| 215 |
+
.tab {
|
| 216 |
+
padding: 8px 16px;
|
| 217 |
+
background: #f0f0f0;
|
| 218 |
+
border: none;
|
| 219 |
+
border-radius: 6px;
|
| 220 |
+
cursor: pointer;
|
| 221 |
+
font-size: 0.9rem;
|
| 222 |
+
transition: all 0.2s;
|
| 223 |
+
}
|
| 224 |
+
|
| 225 |
+
.tab.active {
|
| 226 |
+
background: #667eea;
|
| 227 |
+
color: white;
|
| 228 |
+
}
|
| 229 |
+
|
| 230 |
+
.tab-content {
|
| 231 |
+
display: none;
|
| 232 |
+
}
|
| 233 |
+
|
| 234 |
+
.tab-content.active {
|
| 235 |
+
display: block;
|
| 236 |
+
}
|
| 237 |
+
|
| 238 |
+
@media (max-width: 768px) {
|
| 239 |
+
header h1 {
|
| 240 |
+
font-size: 1.8rem;
|
| 241 |
+
}
|
| 242 |
+
|
| 243 |
+
.demo-frame {
|
| 244 |
+
height: 500px;
|
| 245 |
+
}
|
| 246 |
+
|
| 247 |
+
.info-grid {
|
| 248 |
+
grid-template-columns: 1fr;
|
| 249 |
+
}
|
| 250 |
+
}
|
| 251 |
+
</style>
|
| 252 |
+
</head>
|
| 253 |
+
<body>
|
| 254 |
+
<div class="container">
|
| 255 |
+
<header>
|
| 256 |
+
<h1>π¦ Qwen3.8-27B-Uncensored-MLX</h1>
|
| 257 |
+
<p>An abliterated MLX build of Qwen's 27B vision-language model for Apple Silicon. Text, images, and tool-calling with 262K context.</p>
|
| 258 |
+
<div class="badges">
|
| 259 |
+
<span class="badge">MLX Format</span>
|
| 260 |
+
<span class="badge">Apple Silicon</span>
|
| 261 |
+
<span class="badge">Vision-Language</span>
|
| 262 |
+
<span class="badge">262K Context</span>
|
| 263 |
+
<span class="badge">Abliterated</span>
|
| 264 |
+
</div>
|
| 265 |
+
</header>
|
| 266 |
+
|
| 267 |
+
<div class="demo-section">
|
| 268 |
+
<h2>π¬ Live Chat Demo</h2>
|
| 269 |
+
<p style="color: #666; margin-bottom: 16px;">
|
| 270 |
+
The demo below runs the PyTorch equivalent on ZeroGPU. For native MLX inference on your Mac, see the <a href="#local-usage" style="color: #667eea;">local usage section</a>.
|
| 271 |
+
</p>
|
| 272 |
+
<iframe
|
| 273 |
+
class="demo-frame"
|
| 274 |
+
src="https://jonathancoletti-qwen3-8-27b-uncensored-demo.hf.space?__theme=light"
|
| 275 |
+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
| 276 |
+
allowfullscreen>
|
| 277 |
+
</iframe>
|
| 278 |
+
</div>
|
| 279 |
+
|
| 280 |
+
<div class="info-grid">
|
| 281 |
+
<div class="info-card">
|
| 282 |
+
<h3>π Available Quantizations</h3>
|
| 283 |
+
<ul>
|
| 284 |
+
<li><span>8-bit</span><span>~27.5 GB | 32 GB RAM</span></li>
|
| 285 |
+
<li><span>6-bit</span><span>~22 GB | 24-32 GB RAM</span></li>
|
| 286 |
+
<li><span>4-bit</span><span>~15 GB | 24 GB RAM</span></li>
|
| 287 |
+
<li><span>2-bit</span><span>~8.7 GB | 16 GB RAM</span></li>
|
| 288 |
+
</ul>
|
| 289 |
+
</div>
|
| 290 |
+
|
| 291 |
+
<div class="info-card">
|
| 292 |
+
<h3>β¨ Key Features</h3>
|
| 293 |
+
<ul>
|
| 294 |
+
<li><span>Architecture</span><span>Hybrid Attention</span></li>
|
| 295 |
+
<li><span>Parameters</span><span>27 Billion</span></li>
|
| 296 |
+
<li><span>Context</span><span>262K tokens</span></li>
|
| 297 |
+
<li><span>Vision</span><span>Native VL Tower</span></li>
|
| 298 |
+
<li><span>Tool Calling</span><span>Supported</span></li>
|
| 299 |
+
</ul>
|
| 300 |
+
</div>
|
| 301 |
+
|
| 302 |
+
<div class="info-card">
|
| 303 |
+
<h3>π― Quality vs BF16</h3>
|
| 304 |
+
<ul>
|
| 305 |
+
<li><span>8-bit</span><span>cos 0.9997</span></li>
|
| 306 |
+
<li><span>6-bit</span><span>cos 0.9996</span></li>
|
| 307 |
+
<li><span>4-bit</span><span>cos 0.996</span></li>
|
| 308 |
+
<li><span>2-bit</span><span>cos 0.92 β οΈ</span></li>
|
| 309 |
+
</ul>
|
| 310 |
+
</div>
|
| 311 |
+
</div>
|
| 312 |
+
|
| 313 |
+
<div class="demo-section" id="local-usage">
|
| 314 |
+
<h2>π Local Usage (MLX on Apple Silicon)</h2>
|
| 315 |
+
<div class="tabs">
|
| 316 |
+
<button class="tab active" onclick="switchTab('install')">Install</button>
|
| 317 |
+
<button class="tab" onclick="switchTab('text')">Text</button>
|
| 318 |
+
<button class="tab" onclick="switchTab('vision')">Vision</button>
|
| 319 |
+
<button class="tab" onclick="switchTab('server')">Server</button>
|
| 320 |
+
</div>
|
| 321 |
+
|
| 322 |
+
<div id="install" class="tab-content active">
|
| 323 |
+
<div class="code-block">
|
| 324 |
+
<span class="comment"># Install mlx-vlm (requires mlx-vlm >= 0.6.13, mlx >= 0.32)</span>
|
| 325 |
+
pip install -U mlx-vlm
|
| 326 |
+
|
| 327 |
+
<span class="comment"># Download the 4-bit quantization (recommended)</span>
|
| 328 |
+
hf download orcarouter/Qwen3.8-27B-Uncensored-MLX --include <span class="string">"4-bit/*"</span> \
|
| 329 |
+
--local-dir ./Qwen3.8-27B-Uncensored-MLX
|
| 330 |
+
</div>
|
| 331 |
+
</div>
|
| 332 |
+
|
| 333 |
+
<div id="text" class="tab-content">
|
| 334 |
+
<div class="code-block">
|
| 335 |
+
<span class="comment"># Text generation</span>
|
| 336 |
+
python -m mlx_vlm generate \
|
| 337 |
+
--model ./Qwen3.8-27B-Uncensored-MLX/4-bit \
|
| 338 |
+
--prompt <span class="string">"Explain quantum entanglement in one sentence."</span> \
|
| 339 |
+
--max-tokens 256
|
| 340 |
+
</div>
|
| 341 |
+
</div>
|
| 342 |
+
|
| 343 |
+
<div id="vision" class="tab-content">
|
| 344 |
+
<div class="code-block">
|
| 345 |
+
<span class="comment"># Vision (image + text)</span>
|
| 346 |
+
python -m mlx_vlm generate \
|
| 347 |
+
--model ./Qwen3.8-27B-Uncensored-MLX/4-bit \
|
| 348 |
+
--image path/to/image.png \
|
| 349 |
+
--prompt <span class="string">"Describe this image."</span> \
|
| 350 |
+
--max-tokens 256
|
| 351 |
+
</div>
|
| 352 |
+
</div>
|
| 353 |
+
|
| 354 |
+
<div id="server" class="tab-content">
|
| 355 |
+
<div class="code-block">
|
| 356 |
+
<span class="comment"># OpenAI-compatible server</span>
|
| 357 |
+
python -m mlx_vlm server \
|
| 358 |
+
--model ./Qwen3.8-27B-Uncensored-MLX/4-bit \
|
| 359 |
+
--port 8080
|
| 360 |
+
|
| 361 |
+
<span class="comment"># Then use with any OpenAI-compatible client</span>
|
| 362 |
+
curl http://localhost:8080/v1/chat/completions \
|
| 363 |
+
-H <span class="string">"Content-Type: application/json"</span> \
|
| 364 |
+
-d <span class="string">'{"messages": [{"role": "user", "content": "Hello!"}]}'</span>
|
| 365 |
+
</div>
|
| 366 |
+
</div>
|
| 367 |
+
</div>
|
| 368 |
+
|
| 369 |
+
<div class="disclaimer">
|
| 370 |
+
<h4>β οΈ Disclaimer</h4>
|
| 371 |
+
<p>This model has had its safety alignment substantially removed via abliteration. It is released strictly for legitimate research β interpretability, AI-safety and refusal-mechanism study, red-teaming, robustness evaluation, and controlled experiments. You assume full responsibility and liability for how you use it and for everything it generates.</p>
|
| 372 |
+
</div>
|
| 373 |
+
|
| 374 |
+
<div class="links">
|
| 375 |
+
<a href="https://huggingface.co/orcarouter/Qwen3.8-27B-Uncensored-MLX" class="link-btn" target="_blank">π¦ Model on HF</a>
|
| 376 |
+
<a href="https://www.orcarouter.ai/models/obsidian/qwen3.8-27b" class="link-btn" target="_blank">π API Endpoint</a>
|
| 377 |
+
<a href="https://huggingface.co/Qwen/Qwen3.8-27B" class="link-btn" target="_blank">ποΈ Base Model</a>
|
| 378 |
+
<a href="https://www.orcarouter.ai" class="link-btn" target="_blank">π OrcaRouter</a>
|
| 379 |
+
</div>
|
| 380 |
+
|
| 381 |
+
<footer>
|
| 382 |
+
<p>Built with β€οΈ for the open-source ML community</p>
|
| 383 |
+
<p>Model by <a href="https://huggingface.co/orcarouter">OrcaRouter</a> | Base by <a href="https://huggingface.co/Qwen">Qwen</a></p>
|
| 384 |
+
</footer>
|
| 385 |
+
</div>
|
| 386 |
+
|
| 387 |
+
<script>
|
| 388 |
+
function switchTab(tabId) {
|
| 389 |
+
document.querySelectorAll('.tab-content').forEach(el => el.classList.remove('active'));
|
| 390 |
+
document.querySelectorAll('.tab').forEach(el => el.classList.remove('active'));
|
| 391 |
+
document.getElementById(tabId).classList.add('active');
|
| 392 |
+
event.target.classList.add('active');
|
| 393 |
+
}
|
| 394 |
+
</script>
|
| 395 |
+
</body>
|
| 396 |
</html>
|