Spaces:
Running
Running
changes
Browse files- index.html +63 -81
- recipes/test_notebook.html +9 -1
- recipes/whisper_api_to_whisper_cpp.html +9 -1
- style.css +29 -1
index.html
CHANGED
|
@@ -16,8 +16,11 @@
|
|
| 16 |
|
| 17 |
<main class="main-content">
|
| 18 |
<section class="why-open-section">
|
| 19 |
-
<h2 class="section-title"
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
| 21 |
<div class="benefit-card">
|
| 22 |
<h3>π° Cost Control</h3>
|
| 23 |
<p>Eliminate unpredictable API costs and vendor lock-in. Run models locally or choose your own hosting provider.</p>
|
|
@@ -51,68 +54,68 @@
|
|
| 51 |
<div class="recipe-row">
|
| 52 |
<div class="recipe-cell audio">
|
| 53 |
<h3>Audio</h3>
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
</div>
|
| 63 |
<div class="recipe-cell video">
|
| 64 |
<h3>Video</h3>
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
</div>
|
| 73 |
</div>
|
| 74 |
<div class="recipe-row">
|
| 75 |
<div class="recipe-cell multimodal">
|
| 76 |
<h3>Multimodal</h3>
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
</div>
|
| 85 |
<div class="recipe-cell text">
|
| 86 |
<h3>Text</h3>
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
</div>
|
| 95 |
</div>
|
| 96 |
<div class="recipe-row">
|
| 97 |
<div class="recipe-cell guardrails">
|
| 98 |
<h3>Guardrails</h3>
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
</div>
|
| 107 |
<div class="recipe-cell optimization">
|
| 108 |
<h3>Optimization</h3>
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
|
| 116 |
</div>
|
| 117 |
</div>
|
| 118 |
</div>
|
|
@@ -125,65 +128,44 @@
|
|
| 125 |
<div class="picks-grid">
|
| 126 |
<div class="pick-category">
|
| 127 |
<h3>π΅ Audio Processing</h3>
|
| 128 |
-
<ul class="pick-list">
|
| 129 |
-
<li><strong>Whisper.cpp</strong> - Best for speech-to-text, runs locally</li>
|
| 130 |
-
<li><strong>Bark</strong> - Excellent text-to-speech with emotion</li>
|
| 131 |
-
<li><strong>MusicGen</strong> - Meta's music generation model</li>
|
| 132 |
-
<li><strong>AudioCraft</strong> - Facebook's audio generation suite</li>
|
| 133 |
-
</ul>
|
| 134 |
</div>
|
| 135 |
|
| 136 |
<div class="pick-category">
|
| 137 |
<h3>π¬ Video Processing</h3>
|
| 138 |
-
<ul class="pick-list">
|
| 139 |
-
<li><strong>Video-LLaMA</strong> - Best for video understanding</li>
|
| 140 |
-
<li><strong>Stable Video Diffusion</strong> - Top-tier video generation</li>
|
| 141 |
-
<li><strong>AnimateDiff</strong> - Great for character animation</li>
|
| 142 |
-
<li><strong>RunwayML</strong> - Professional video editing AI</li>
|
| 143 |
-
</ul>
|
| 144 |
</div>
|
| 145 |
|
| 146 |
<div class="pick-category">
|
| 147 |
<h3>πΌοΈ Multimodal</h3>
|
| 148 |
-
<ul class="pick-list">
|
| 149 |
-
<li><strong>LLaVA</strong> - Best open-source vision-language model</li>
|
| 150 |
-
<li><strong>Stable Diffusion XL</strong> - Superior image generation</li>
|
| 151 |
-
<li><strong>BLIP-2</strong> - Excellent image captioning</li>
|
| 152 |
-
<li><strong>InstructBLIP</strong> - Great for visual Q&A</li>
|
| 153 |
-
</ul>
|
| 154 |
</div>
|
| 155 |
|
| 156 |
<div class="pick-category">
|
| 157 |
<h3>π Text Generation</h3>
|
| 158 |
-
<ul class="pick-list">
|
| 159 |
-
<li><strong>Llama 3</strong> - Best overall performance</li>
|
| 160 |
-
<li><strong>Mistral 7B</strong> - Fast and efficient</li>
|
| 161 |
-
<li><strong>Code Llama</strong> - Superior code generation</li>
|
| 162 |
-
<li><strong>Phi-3</strong> - Microsoft's efficient model</li>
|
| 163 |
-
</ul>
|
| 164 |
</div>
|
| 165 |
|
| 166 |
<div class="pick-category">
|
| 167 |
<h3>π Safety & Guardrails</h3>
|
| 168 |
-
<ul class="pick-list">
|
| 169 |
-
<li><strong>NeuralGuard</strong> - Content moderation</li>
|
| 170 |
-
<li><strong>Guardrails AI</strong> - Output validation</li>
|
| 171 |
-
<li><strong>LangChain Guard</strong> - Prompt protection</li>
|
| 172 |
-
<li><strong>Moderation API</strong> - Hugging Face's solution</li>
|
| 173 |
-
</ul>
|
| 174 |
</div>
|
| 175 |
|
| 176 |
<div class="pick-category">
|
| 177 |
<h3>β‘ Optimization</h3>
|
| 178 |
-
<ul class="pick-list">
|
| 179 |
-
<li><strong>GGML</strong> - Model quantization</li>
|
| 180 |
-
<li><strong>Ollama</strong> - Local model serving</li>
|
| 181 |
-
<li><strong>vLLM</strong> - High-performance inference</li>
|
| 182 |
-
<li><strong>TensorRT</strong> - NVIDIA optimization</li>
|
| 183 |
-
</ul>
|
| 184 |
</div>
|
| 185 |
</div>
|
| 186 |
</section>
|
| 187 |
</main>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 188 |
</body>
|
| 189 |
</html>
|
|
|
|
| 16 |
|
| 17 |
<main class="main-content">
|
| 18 |
<section class="why-open-section">
|
| 19 |
+
<h2 class="section-title collapsible-header" onclick="toggleSection('benefits-content')">
|
| 20 |
+
Why Use Open Models
|
| 21 |
+
<span class="toggle-icon">βΌ</span>
|
| 22 |
+
</h2>
|
| 23 |
+
<div class="benefits-grid" id="benefits-content" style="display: none;">
|
| 24 |
<div class="benefit-card">
|
| 25 |
<h3>π° Cost Control</h3>
|
| 26 |
<p>Eliminate unpredictable API costs and vendor lock-in. Run models locally or choose your own hosting provider.</p>
|
|
|
|
| 54 |
<div class="recipe-row">
|
| 55 |
<div class="recipe-cell audio">
|
| 56 |
<h3>Audio</h3>
|
| 57 |
+
<div class="recipe-links">
|
| 58 |
+
<a href="recipes/whisper_api_to_whisper_cpp.html" class="recipe-link">Whisper API β Whisper.cpp</a>
|
| 59 |
+
<a href="recipes/test_notebook.html" class="recipe-link">Test Notebook Demo</a>
|
| 60 |
+
<span class="recipe-link coming-soon">Text-to-Speech β Bark (Coming Soon)</span>
|
| 61 |
+
<span class="recipe-link coming-soon">Audio Classification (Coming Soon)</span>
|
| 62 |
+
<span class="recipe-link coming-soon">Music Generation (Coming Soon)</span>
|
| 63 |
+
<span class="recipe-link coming-soon">+ 2 more recipes (Coming Soon)</span>
|
| 64 |
+
</div>
|
| 65 |
</div>
|
| 66 |
<div class="recipe-cell video">
|
| 67 |
<h3>Video</h3>
|
| 68 |
+
<div class="recipe-links">
|
| 69 |
+
<span class="recipe-link coming-soon">Video Understanding β Video-LLaMA (Coming Soon)</span>
|
| 70 |
+
<span class="recipe-link coming-soon">Video Generation β Stable Video Diffusion (Coming Soon)</span>
|
| 71 |
+
<span class="recipe-link coming-soon">Video-to-Text (Coming Soon)</span>
|
| 72 |
+
<span class="recipe-link coming-soon">Video Editing (Coming Soon)</span>
|
| 73 |
+
<span class="recipe-link coming-soon">+ 2 more recipes (Coming Soon)</span>
|
| 74 |
+
</div>
|
| 75 |
</div>
|
| 76 |
</div>
|
| 77 |
<div class="recipe-row">
|
| 78 |
<div class="recipe-cell multimodal">
|
| 79 |
<h3>Multimodal</h3>
|
| 80 |
+
<div class="recipe-links">
|
| 81 |
+
<span class="recipe-link coming-soon">GPT-4V β LLaVA (Coming Soon)</span>
|
| 82 |
+
<span class="recipe-link coming-soon">DALL-E β Stable Diffusion (Coming Soon)</span>
|
| 83 |
+
<a href="recipes/whisper_api_to_whisper_cpp.html" class="recipe-link">Whisper β Whisper.cpp</a>
|
| 84 |
+
<span class="recipe-link coming-soon">Video Understanding (Coming Soon)</span>
|
| 85 |
+
<span class="recipe-link coming-soon">+ 4 more recipes (Coming Soon)</span>
|
| 86 |
+
</div>
|
| 87 |
</div>
|
| 88 |
<div class="recipe-cell text">
|
| 89 |
<h3>Text</h3>
|
| 90 |
+
<div class="recipe-links">
|
| 91 |
+
<span class="recipe-link coming-soon">GPT-4 β Llama 3 (Coming Soon)</span>
|
| 92 |
+
<span class="recipe-link coming-soon">GPT-3.5 β Mistral (Coming Soon)</span>
|
| 93 |
+
<span class="recipe-link coming-soon">Embeddings β Sentence Transformers (Coming Soon)</span>
|
| 94 |
+
<span class="recipe-link coming-soon">Fine-tuning β LoRA (Coming Soon)</span>
|
| 95 |
+
<span class="recipe-link coming-soon">+ 5 more recipes (Coming Soon)</span>
|
| 96 |
+
</div>
|
| 97 |
</div>
|
| 98 |
</div>
|
| 99 |
<div class="recipe-row">
|
| 100 |
<div class="recipe-cell guardrails">
|
| 101 |
<h3>Guardrails</h3>
|
| 102 |
+
<div class="recipe-links">
|
| 103 |
+
<span class="recipe-link coming-soon">Content Moderation (Coming Soon)</span>
|
| 104 |
+
<span class="recipe-link coming-soon">Prompt Injection Protection (Coming Soon)</span>
|
| 105 |
+
<span class="recipe-link coming-soon">Output Validation (Coming Soon)</span>
|
| 106 |
+
<span class="recipe-link coming-soon">Rate Limiting (Coming Soon)</span>
|
| 107 |
+
<span class="recipe-link coming-soon">+ 6 more recipes (Coming Soon)</span>
|
| 108 |
+
</div>
|
| 109 |
</div>
|
| 110 |
<div class="recipe-cell optimization">
|
| 111 |
<h3>Optimization</h3>
|
| 112 |
+
<div class="recipe-links">
|
| 113 |
+
<span class="recipe-link coming-soon">Model Quantization (Coming Soon)</span>
|
| 114 |
+
<span class="recipe-link coming-soon">Local Deployment (Coming Soon)</span>
|
| 115 |
+
<span class="recipe-link coming-soon">Caching Strategies (Coming Soon)</span>
|
| 116 |
+
<span class="recipe-link coming-soon">Batch Processing (Coming Soon)</span>
|
| 117 |
+
<span class="recipe-link coming-soon">+ 3 more recipes (Coming Soon)</span>
|
| 118 |
+
</div>
|
| 119 |
</div>
|
| 120 |
</div>
|
| 121 |
</div>
|
|
|
|
| 128 |
<div class="picks-grid">
|
| 129 |
<div class="pick-category">
|
| 130 |
<h3>π΅ Audio Processing</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 131 |
</div>
|
| 132 |
|
| 133 |
<div class="pick-category">
|
| 134 |
<h3>π¬ Video Processing</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
</div>
|
| 136 |
|
| 137 |
<div class="pick-category">
|
| 138 |
<h3>πΌοΈ Multimodal</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 139 |
</div>
|
| 140 |
|
| 141 |
<div class="pick-category">
|
| 142 |
<h3>π Text Generation</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 143 |
</div>
|
| 144 |
|
| 145 |
<div class="pick-category">
|
| 146 |
<h3>π Safety & Guardrails</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 147 |
</div>
|
| 148 |
|
| 149 |
<div class="pick-category">
|
| 150 |
<h3>β‘ Optimization</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 151 |
</div>
|
| 152 |
</div>
|
| 153 |
</section>
|
| 154 |
</main>
|
| 155 |
+
|
| 156 |
+
<script>
|
| 157 |
+
function toggleSection(sectionId) {
|
| 158 |
+
const section = document.getElementById(sectionId);
|
| 159 |
+
const icon = document.querySelector('.collapsible-header .toggle-icon');
|
| 160 |
+
|
| 161 |
+
if (section.style.display === 'none') {
|
| 162 |
+
section.style.display = 'block';
|
| 163 |
+
icon.textContent = 'β²';
|
| 164 |
+
} else {
|
| 165 |
+
section.style.display = 'none';
|
| 166 |
+
icon.textContent = 'βΌ';
|
| 167 |
+
}
|
| 168 |
+
}
|
| 169 |
+
</script>
|
| 170 |
</body>
|
| 171 |
</html>
|
recipes/test_notebook.html
CHANGED
|
@@ -303,6 +303,14 @@ body {
|
|
| 303 |
padding: 0;
|
| 304 |
}
|
| 305 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 306 |
.cell-code {
|
| 307 |
background: var(--cell-bg);
|
| 308 |
border: 1px solid var(--border-color);
|
|
@@ -311,7 +319,7 @@ body {
|
|
| 311 |
|
| 312 |
.cell-code pre {
|
| 313 |
margin: 0;
|
| 314 |
-
padding: 8px 8px
|
| 315 |
overflow-x: auto;
|
| 316 |
}
|
| 317 |
|
|
|
|
| 303 |
padding: 0;
|
| 304 |
}
|
| 305 |
|
| 306 |
+
.notebook-content pre {
|
| 307 |
+
background: rgba(0, 0, 0, 0.3);
|
| 308 |
+
border-radius: 8px;
|
| 309 |
+
padding: 1.5rem;
|
| 310 |
+
overflow-x: auto;
|
| 311 |
+
margin-bottom: 1.5rem;
|
| 312 |
+
}
|
| 313 |
+
|
| 314 |
.cell-code {
|
| 315 |
background: var(--cell-bg);
|
| 316 |
border: 1px solid var(--border-color);
|
|
|
|
| 319 |
|
| 320 |
.cell-code pre {
|
| 321 |
margin: 0;
|
| 322 |
+
padding: 8px 8px 0px 8px;
|
| 323 |
overflow-x: auto;
|
| 324 |
}
|
| 325 |
|
recipes/whisper_api_to_whisper_cpp.html
CHANGED
|
@@ -303,6 +303,14 @@ body {
|
|
| 303 |
padding: 0;
|
| 304 |
}
|
| 305 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 306 |
.cell-code {
|
| 307 |
background: var(--cell-bg);
|
| 308 |
border: 1px solid var(--border-color);
|
|
@@ -311,7 +319,7 @@ body {
|
|
| 311 |
|
| 312 |
.cell-code pre {
|
| 313 |
margin: 0;
|
| 314 |
-
padding: 8px 8px
|
| 315 |
overflow-x: auto;
|
| 316 |
}
|
| 317 |
|
|
|
|
| 303 |
padding: 0;
|
| 304 |
}
|
| 305 |
|
| 306 |
+
.notebook-content pre {
|
| 307 |
+
background: rgba(0, 0, 0, 0.3);
|
| 308 |
+
border-radius: 8px;
|
| 309 |
+
padding: 1.5rem;
|
| 310 |
+
overflow-x: auto;
|
| 311 |
+
margin-bottom: 1.5rem;
|
| 312 |
+
}
|
| 313 |
+
|
| 314 |
.cell-code {
|
| 315 |
background: var(--cell-bg);
|
| 316 |
border: 1px solid var(--border-color);
|
|
|
|
| 319 |
|
| 320 |
.cell-code pre {
|
| 321 |
margin: 0;
|
| 322 |
+
padding: 8px 8px 0px 8px;
|
| 323 |
overflow-x: auto;
|
| 324 |
}
|
| 325 |
|
style.css
CHANGED
|
@@ -686,7 +686,6 @@ body {
|
|
| 686 |
|
| 687 |
.notebook-content pre {
|
| 688 |
background: rgba(0, 0, 0, 0.3);
|
| 689 |
-
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 690 |
border-radius: 8px;
|
| 691 |
padding: 1.5rem;
|
| 692 |
overflow-x: auto;
|
|
@@ -900,3 +899,32 @@ body {
|
|
| 900 |
padding: 1.5rem;
|
| 901 |
}
|
| 902 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 686 |
|
| 687 |
.notebook-content pre {
|
| 688 |
background: rgba(0, 0, 0, 0.3);
|
|
|
|
| 689 |
border-radius: 8px;
|
| 690 |
padding: 1.5rem;
|
| 691 |
overflow-x: auto;
|
|
|
|
| 899 |
padding: 1.5rem;
|
| 900 |
}
|
| 901 |
}
|
| 902 |
+
|
| 903 |
+
/* Collapsible section styles */
|
| 904 |
+
.collapsible-header {
|
| 905 |
+
cursor: pointer;
|
| 906 |
+
user-select: none;
|
| 907 |
+
transition: opacity 0.2s ease;
|
| 908 |
+
}
|
| 909 |
+
|
| 910 |
+
.collapsible-header:hover {
|
| 911 |
+
opacity: 0.8;
|
| 912 |
+
}
|
| 913 |
+
|
| 914 |
+
.toggle-icon {
|
| 915 |
+
font-size: 0.8em;
|
| 916 |
+
margin-left: 0.5rem;
|
| 917 |
+
transition: transform 0.2s ease;
|
| 918 |
+
}
|
| 919 |
+
|
| 920 |
+
/* Coming soon styles */
|
| 921 |
+
.recipe-link.coming-soon {
|
| 922 |
+
color: #666;
|
| 923 |
+
cursor: not-allowed;
|
| 924 |
+
opacity: 0.6;
|
| 925 |
+
}
|
| 926 |
+
|
| 927 |
+
.recipe-link.coming-soon:hover {
|
| 928 |
+
color: #666;
|
| 929 |
+
opacity: 0.6;
|
| 930 |
+
}
|