Spaces:
Running
Running
| <html lang="en" class="dark"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>NeuronNet Explorer - AI Model Analysis</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script> | |
| tailwind.config = { | |
| darkMode: 'class', | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: { | |
| 50: '#eef2ff', | |
| 100: '#e0e7ff', | |
| 200: '#c7d2fe', | |
| 300: '#a5b4fc', | |
| 400: '#818cf8', | |
| 500: '#6366f1', | |
| 600: '#4f46e5', | |
| 700: '#4338ca', | |
| 800: '#3730a3', | |
| 900: '#312e81', | |
| }, | |
| secondary: { | |
| 50: '#ecfdf5', | |
| 100: '#d1fae5', | |
| 200: '#a7f3d0', | |
| 300: '#6ee7b7', | |
| 400: '#34d399', | |
| 500: '#10b981', | |
| 600: '#059669', | |
| 700: '#047857', | |
| 800: '#065f46', | |
| 900: '#064e3b', | |
| } | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #064e3b 100%); | |
| } | |
| .neuron-glow { | |
| box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); | |
| } | |
| .pulse-animation { | |
| animation: pulse 2s infinite; | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0.7; } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-900 text-white font-sans"> | |
| <!-- Navigation --> | |
| <nav class="bg-gray-800/80 backdrop-blur-md fixed w-full z-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="flex items-center justify-between h-16"> | |
| <div class="flex items-center"> | |
| <div class="flex-shrink-0"> | |
| <h1 class="text-xl font-bold text-white">NeuronNet Explorer</h1> | |
| </div> | |
| <div class="hidden md:block"> | |
| <div class="ml-10 flex items-baseline space-x-4"> | |
| <a href="#" class="text-primary-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Dashboard</a> | |
| <a href="#" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Models</a> | |
| <a href="#" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Analytics</a> | |
| <a href="#" class="text-gray-300 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Documentation</a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button class="bg-primary-600 hover:bg-primary-700 px-4 py-2 rounded-md text-sm font-medium"> | |
| Upload Model | |
| </button> | |
| <div class="md:hidden"> | |
| <button type="button" class="text-gray-400 hover:text-white"> | |
| <i data-feather="menu"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <section class="gradient-bg pt-24 pb-32"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center"> | |
| <h1 class="text-4xl md:text-6xl font-bold mb-6"> | |
| Explore Neural Networks | |
| <span class="text-secondary-400">with Precision</span> | |
| </h1> | |
| <p class="text-xl text-gray-300 mb-8 max-w-3xl mx-auto"> | |
| Visualize, analyze, and understand your AI models with our advanced neural network explorer. | |
| Dive deep into model architectures and weights with unprecedented clarity. | |
| </p> | |
| <div class="flex flex-col sm:flex-row gap-4 justify-center"> | |
| <button class="bg-primary-600 hover:bg-primary-700 px-8 py-3 rounded-lg font-semibold text-lg transition duration-300"> | |
| <i data-feather="play" class="inline w-5 h-5 mr-2"></i> | |
| Load Model | |
| </button> | |
| <button class="border border-primary-400 text-primary-300 hover:bg-primary-900 px-8 py-3 rounded-lg font-semibold text-lg transition duration-300"> | |
| View Documentation | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Features Section --> | |
| <section class="py-20 bg-gray-800"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-4">Advanced Model Analysis</h2> | |
| <p class="text-gray-400 text-lg">Powerful tools for understanding your AI models</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <!-- Feature 1 --> | |
| <div class="bg-gray-700/50 rounded-xl p-6 neuron-glow hover:transform hover:scale-105 transition duration-300"> | |
| <div class="w-12 h-12 bg-primary-600 rounded-lg flex items-center justify-center mb-4"> | |
| <i data-feather="layers" class="w-6 h-6"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-3">Layer Visualization</h3> | |
| <p class="text-gray-300"> | |
| Visualize every layer of your neural network with interactive 3D representations | |
| and comprehensive weight analysis. | |
| </p> | |
| </div> | |
| <!-- Feature 2 --> | |
| <div class="bg-gray-700/50 rounded-xl p-6 neuron-glow hover:transform hover:scale-105 transition duration-300"> | |
| <div class="w-12 h-12 bg-secondary-600 rounded-lg flex items-center justify-center mb-4"> | |
| <i data-feather="activity" class="w-6 h-6"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-3">Real-time Analytics</h3> | |
| <p class="text-gray-300"> | |
| Monitor model performance in real-time with detailed metrics, | |
| activation patterns, and gradient flow visualization. | |
| </p> | |
| </div> | |
| <!-- Feature 3 --> | |
| <div class="bg-gray-700/50 rounded-xl p-6 neuron-glow hover:transform hover:scale-105 transition duration-300"> | |
| <div class="w-12 h-12 bg-primary-600 rounded-lg flex items-center justify-center mb-4"> | |
| <i data-feather="code" class="w-6 h-6"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold mb-3">Code Integration</h3> | |
| <p class="text-gray-300"> | |
| Seamlessly integrate with your Python workflow. Load models directly from | |
| Hugging Face, PyTorch, or TensorFlow. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Model Showcase --> | |
| <section class="py-20 bg-gray-900"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center"> | |
| <div> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-6">Load & Analyze Any Model</h2> | |
| <p class="text-gray-400 text-lg mb-8"> | |
| Our platform supports multiple model formats including SafeTensors, | |
| PyTorch checkpoints, and Hugging Face models. Get detailed insights | |
| into model architecture and weights. | |
| </p> | |
| <div class="space-y-4"> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 bg-primary-600 rounded-full flex items-center justify-center mr-4"> | |
| <i data-feather="check" class="w-4 h-4"></i> | |
| </div> | |
| <span class="text-gray-300">Support for SafeTensors format</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 bg-primary-600 rounded-full flex items-center justify-center mr-4"> | |
| <i data-feather="check" class="w-4 h-4"></i> | |
| </div> | |
| <span class="text-gray-300">Hugging Face integration</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 bg-primary-600 rounded-full flex items-center justify-center mr-4"> | |
| <i data-feather="check" class="w-4 h-4"></i> | |
| </div> | |
| <span class="text-gray-300">PyTorch & TensorFlow support</span> | |
| </div> | |
| </div> | |
| <button class="mt-8 bg-secondary-600 hover:bg-secondary-700 px-6 py-3 rounded-lg font-semibold transition duration-300"> | |
| Try Demo Model | |
| </button> | |
| </div> | |
| <div class="bg-gray-800 rounded-2xl p-8 neuron-glow"> | |
| <div class="bg-gray-900 rounded-lg p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="w-3 h-3 bg-red-500 rounded-full mr-2"></div> | |
| <div class="w-3 h-3 bg-yellow-500 rounded-full mr-2"></div> | |
| <div class="w-3 h-3 bg-green-500 rounded-full"></div> | |
| </div> | |
| <pre class="text-sm text-gray-300 overflow-x-auto"> | |
| <span class="text-green-400">import</span> mmap | |
| <span class="text-green-400">import</span> torch | |
| <span class="text-green-400">from</span> huggingface_hub <span class="text-green-400">import</span> hf_hub_download | |
| <span class="text-blue-400">def</span> <span class="text-yellow-400">load_model</span>(): | |
| filename = hf_hub_download(<span class="text-orange-400">"gpt2"</span>, | |
| filename=<span class="text-orange-400">"model.safetensors"</span>) | |
| weights = load_file(filename, <span class="text-orange-400">"cpu"</span>) | |
| <span class="text-green-400">return</span> weights | |
| <span class="text-gray-600"># Model loaded successfully</span> | |
| <span class="text-gray-600"># Analyzing 124M parameters...</span></pre> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Stats Section --> | |
| <section class="py-20 bg-gray-800"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-8 text-center"> | |
| <div class="p-6"> | |
| <div class="text-3xl md:text-4xl font-bold text-primary-400 mb-2">124M+</div> | |
| <div class="text-gray-400">Parameters Analyzed</div> | |
| </div> | |
| <div class="p-6"> | |
| <div class="text-3xl md:text-4xl font-bold text-secondary-400 mb-2">50K+</div> | |
| <div class="text-gray-400">Models Processed</div> | |
| </div> | |
| <div class="p-6"> | |
| <div class="text-3xl md:text-4xl font-bold text-primary-400 mb-2">99.9%</div> | |
| <div class="text-gray-400">Uptime</div> | |
| </div> | |
| <div class="p-6"> | |
| <div class="text-3xl md:text-4xl font-bold text-secondary-400 mb-2">24/7</div> | |
| <div class="text-gray-400">Support</div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- CTA Section --> | |
| <section class="py-20 gradient-bg"> | |
| <div class="max-w-4xl mx-auto text-center px-4 sm:px-6 lg:px-8"> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-6">Ready to Explore Your Models?</h2> | |
| <p class="text-xl text-gray-300 mb-8"> | |
| Start analyzing your neural networks with our powerful visualization tools. | |
| No setup required - just upload and explore. | |
| </p> | |
| <div class="flex flex-col sm:flex-row gap-4 justify-center"> | |
| <button class="bg-white text-gray-900 hover:bg-gray-100 px-8 py-3 rounded-lg font-semibold text-lg transition duration-300"> | |
| Get Started Free | |
| </button> | |
| <button class="border border-white text-white hover:bg-white/10 px-8 py-3 rounded-lg font-semibold text-lg transition duration-300"> | |
| Schedule Demo | |
| </button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 border-t border-gray-800"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">NeuronNet Explorer</h3> | |
| <p class="text-gray-400"> | |
| Advanced neural network visualization and analysis platform for AI researchers and developers. | |
| </p> | |
| </div> | |
| <div> | |
| <h4 class="font-semibold mb-4">Product</h4> | |
| <ul class="space-y-2 text-gray-400"> | |
| <li><a href="#" class="hover:text-white">Features</a></li> | |
| <li><a href="#" class="hover:text-white">Pricing</a></li> | |
| <li><a href="#" class="hover:text-white">Documentation</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="font-semibold mb-4">Resources</h4> | |
| <ul class="space-y-2 text-gray-400"> | |
| <li><a href="#" class="hover:text-white">Blog</a></li> | |
| <li><a href="#" class="hover:text-white">Tutorials</a></li> | |
| <li><a href="#" class="hover:text-white">Support</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="font-semibold mb-4">Connect</h4> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="github" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="twitter" class="w-5 h-5"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="linkedin" class="w-5 h-5"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400"> | |
| <p>© 2024 NeuronNet Explorer. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| feather.replace(); | |
| // Simple animation for demo purposes | |
| document.addEventListener('DOMContentLoaded', function() { | |
| const elements = document.querySelectorAll('.neuron-glow'); | |
| elements.forEach((el, index) => { | |
| setTimeout(() => { | |
| el.classList.add('pulse-animation'); | |
| }, index * 200); | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> | |