Spaces:
Running
Running
Download index.html from SCOUSEsCRIPTZ/deepseek-no-rules: direct link, hf CLI and curl.
- Browser
- Download file 16 kB
-
https://huggingface.co/spaces/SCOUSEsCRIPTZ/deepseek-no-rules/resolve/main/index.html
- Command line
-
hf download hf://spaces/SCOUSEsCRIPTZ/deepseek-no-rules/index.html
-
curl -L -o index.html https://huggingface.co/spaces/SCOUSEsCRIPTZ/deepseek-no-rules/resolve/main/index.html
16 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Guardrail Filter Levels</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| .filter-level { | |
| transition: all 0.3s ease; | |
| } | |
| .filter-level:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 20px rgba(0,0,0,0.1); | |
| } | |
| .progress-bar { | |
| transition: width 1s ease-in-out; | |
| } | |
| @keyframes pulse { | |
| 0% { opacity: 0.6; } | |
| 50% { opacity: 1; } | |
| 100% { opacity: 0.6; } | |
| } | |
| .pulse { | |
| animation: pulse 2s infinite; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 min-h-screen"> | |
| <div class="container mx-auto px-4 py-12"> | |
| <div class="text-center mb-16"> | |
| <h1 class="text-4xl font-bold text-gray-800 mb-4">Guardrail Filter Levels</h1> | |
| <p class="text-lg text-gray-600 max-w-2xl mx-auto"> | |
| Our AI safety filters are configured to balance helpfulness with safety. Explore the different protection levels below. | |
| </p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8 mb-12"> | |
| <!-- Basic Protection --> | |
| <div class="filter-level bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg"> | |
| <div class="bg-blue-500 p-6"> | |
| <div class="flex items-center justify-between"> | |
| <h3 class="text-xl font-semibold text-white">Basic Protection</h3> | |
| <div class="bg-blue-400 rounded-full p-2"> | |
| <i class="fas fa-shield-alt text-white"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-6"> | |
| <div class="mb-4"> | |
| <div class="flex justify-between mb-1"> | |
| <span class="text-sm font-medium text-gray-500">Filter Strength</span> | |
| <span class="text-sm font-medium text-blue-600">30%</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5"> | |
| <div class="progress-bar bg-blue-600 h-2.5 rounded-full" style="width: 30%"></div> | |
| </div> | |
| </div> | |
| <ul class="space-y-2 text-gray-600 mb-6"> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check-circle text-green-500 mr-2"></i> | |
| Blocks explicit content | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check-circle text-green-500 mr-2"></i> | |
| Basic harmful content filtering | |
| </li> | |
| <li class="flex items-center text-gray-400"> | |
| <i class="fas fa-times-circle text-gray-300 mr-2"></i> | |
| Limited context awareness | |
| </li> | |
| </ul> | |
| <button class="w-full py-2 px-4 border border-blue-500 text-blue-500 rounded-lg hover:bg-blue-50 transition"> | |
| Current Setting | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Balanced Protection --> | |
| <div class="filter-level bg-white rounded-xl shadow-lg overflow-hidden border-2 border-purple-500 transform scale-105"> | |
| <div class="bg-purple-500 p-6"> | |
| <div class="flex items-center justify-between"> | |
| <h3 class="text-xl font-semibold text-white">Balanced Protection</h3> | |
| <div class="bg-purple-400 rounded-full p-2"> | |
| <i class="fas fa-balance-scale text-white"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-6"> | |
| <div class="mb-4"> | |
| <div class="flex justify-between mb-1"> | |
| <span class="text-sm font-medium text-gray-500">Filter Strength</span> | |
| <span class="text-sm font-medium text-purple-600">65%</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5"> | |
| <div class="progress-bar bg-purple-600 h-2.5 rounded-full" style="width: 65%"></div> | |
| </div> | |
| </div> | |
| <ul class="space-y-2 text-gray-600 mb-6"> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check-circle text-green-500 mr-2"></i> | |
| Blocks explicit and harmful content | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check-circle text-green-500 mr-2"></i> | |
| Context-aware filtering | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check-circle text-green-500 mr-2"></i> | |
| Bias detection | |
| </li> | |
| </ul> | |
| <button class="w-full py-2 px-4 bg-purple-500 text-white rounded-lg hover:bg-purple-600 transition"> | |
| Recommended Setting | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Maximum Protection --> | |
| <div class="filter-level bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg"> | |
| <div class="bg-red-500 p-6"> | |
| <div class="flex items-center justify-between"> | |
| <h3 class="text-xl font-semibold text-white">Maximum Protection</h3> | |
| <div class="bg-red-400 rounded-full p-2"> | |
| <i class="fas fa-lock text-white"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="p-6"> | |
| <div class="mb-4"> | |
| <div class="flex justify-between mb-1"> | |
| <span class="text-sm font-medium text-gray-500">Filter Strength</span> | |
| <span class="text-sm font-medium text-red-600">95%</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5"> | |
| <div class="progress-bar bg-red-600 h-2.5 rounded-full" style="width: 95%"></div> | |
| </div> | |
| </div> | |
| <ul class="space-y-2 text-gray-600 mb-6"> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check-circle text-green-500 mr-2"></i> | |
| Aggressive content filtering | |
| </li> | |
| <li class="flex items-center"> | |
| <i class="fas fa-check-circle text-green-500 mr-2"></i> | |
| Advanced context analysis | |
| </li> | |
| <li class="flex items-center text-gray-400"> | |
| <i class="fas fa-times-circle text-gray-300 mr-2"></i> | |
| May limit helpful responses | |
| </li> | |
| </ul> | |
| <button class="w-full py-2 px-4 border border-red-500 text-red-500 rounded-lg hover:bg-red-50 transition"> | |
| Strict Setting | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-xl shadow-md p-8 mb-12"> | |
| <h2 class="text-2xl font-bold text-gray-800 mb-6">Filter Level Configuration</h2> | |
| <div class="mb-8"> | |
| <h3 class="text-lg font-semibold text-gray-700 mb-4">Current Filter Settings</h3> | |
| <div class="bg-gray-50 p-6 rounded-lg"> | |
| <div class="flex flex-col md:flex-row md:items-center md:justify-between gap-4"> | |
| <div> | |
| <h4 class="font-medium text-gray-800">Content Safety</h4> | |
| <p class="text-sm text-gray-600">Balanced protection against harmful content</p> | |
| </div> | |
| <div class="w-full md:w-64"> | |
| <input type="range" min="0" max="100" value="65" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer"> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-200 my-4"></div> | |
| <div class="flex flex-col md:flex-row md:items-center md:justify-between gap-4"> | |
| <div> | |
| <h4 class="font-medium text-gray-800">Bias Mitigation</h4> | |
| <p class="text-sm text-gray-600">Moderate detection of biased language</p> | |
| </div> | |
| <div class="w-full md:w-64"> | |
| <input type="range" min="0" max="100" value="50" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer"> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-200 my-4"></div> | |
| <div class="flex flex-col md:flex-row md:items-center md:justify-between gap-4"> | |
| <div> | |
| <h4 class="font-medium text-gray-800">Fact Verification</h4> | |
| <p class="text-sm text-gray-600">Basic fact-checking capabilities</p> | |
| </div> | |
| <div class="w-full md:w-64"> | |
| <input type="range" min="0" max="100" value="40" class="w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer"> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex flex-col sm:flex-row gap-4"> | |
| <button class="flex-1 py-3 px-6 bg-blue-500 text-white rounded-lg hover:bg-blue-600 transition flex items-center justify-center gap-2"> | |
| <i class="fas fa-save"></i> Save Settings | |
| </button> | |
| <button class="flex-1 py-3 px-6 border border-gray-300 text-gray-700 rounded-lg hover:bg-gray-50 transition flex items-center justify-center gap-2"> | |
| <i class="fas fa-undo"></i> Reset to Defaults | |
| </button> | |
| </div> | |
| </div> | |
| <div class="bg-indigo-50 rounded-xl p-8"> | |
| <div class="flex flex-col md:flex-row items-center gap-8"> | |
| <div class="flex-shrink-0"> | |
| <div class="bg-indigo-100 rounded-full p-4"> | |
| <i class="fas fa-robot text-indigo-600 text-4xl"></i> | |
| </div> | |
| </div> | |
| <div> | |
| <h3 class="text-xl font-bold text-gray-800 mb-2">About Our Guardrails</h3> | |
| <p class="text-gray-600 mb-4"> | |
| Our AI systems use multiple layers of protection to ensure safe and responsible interactions. | |
| These filters are continuously updated to address emerging challenges while maintaining helpfulness. | |
| </p> | |
| <div class="flex flex-wrap gap-2"> | |
| <span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm font-medium"> | |
| <i class="fas fa-shield-alt mr-1"></i> Safety | |
| </span> | |
| <span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm font-medium"> | |
| <i class="fas fa-lightbulb mr-1"></i> Helpfulness | |
| </span> | |
| <span class="px-3 py-1 bg-indigo-100 text-indigo-800 rounded-full text-sm font-medium"> | |
| <i class="fas fa-balance-scale mr-1"></i> Balance | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-12 text-center"> | |
| <p class="text-gray-500 text-sm"> | |
| <i class="fas fa-info-circle mr-1"></i> Filter settings may be adjusted automatically in certain contexts to ensure optimal performance. | |
| </p> | |
| </div> | |
| </div> | |
| <script> | |
| // Add some interactive elements | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Animate progress bars on page load | |
| setTimeout(() => { | |
| const progressBars = document.querySelectorAll('.progress-bar'); | |
| progressBars.forEach(bar => { | |
| const width = bar.style.width; | |
| bar.style.width = '0'; | |
| setTimeout(() => { | |
| bar.style.width = width; | |
| }, 100); | |
| }); | |
| }, 300); | |
| // Add click effect to filter level cards | |
| const cards = document.querySelectorAll('.filter-level'); | |
| cards.forEach(card => { | |
| card.addEventListener('click', function() { | |
| cards.forEach(c => c.classList.remove('border-purple-500', 'scale-105')); | |
| this.classList.add('border-purple-500', 'scale-105'); | |
| }); | |
| }); | |
| // Range slider interaction | |
| const rangeSliders = document.querySelectorAll('input[type="range"]'); | |
| rangeSliders.forEach(slider => { | |
| slider.addEventListener('input', function() { | |
| const value = this.value; | |
| const bubble = document.createElement('div'); | |
| bubble.className = 'absolute -top-8 bg-gray-800 text-white text-xs px-2 py-1 rounded'; | |
| bubble.textContent = value + '%'; | |
| // Position the bubble | |
| const thumbPos = (value / 100) * this.offsetWidth; | |
| bubble.style.left = thumbPos + 'px'; | |
| // Remove any existing bubble | |
| const existingBubble = this.parentNode.querySelector('.absolute'); | |
| if (existingBubble) { | |
| existingBubble.remove(); | |
| } | |
| this.parentNode.appendChild(bubble); | |
| // Remove bubble after animation | |
| setTimeout(() => { | |
| bubble.classList.add('opacity-0', 'transition-opacity', 'duration-300'); | |
| setTimeout(() => bubble.remove(), 300); | |
| }, 1000); | |
| }); | |
| }); | |
| }); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=SCOUSEsCRIPTZ/deepseek-no-rules" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |