Spaces:
Running
Running
Download index.html from samehelmalt/ai-bio: direct link, hf CLI and curl.
- Browser
- Download file 51.8 kB
-
https://huggingface.co/spaces/samehelmalt/ai-bio/resolve/main/index.html
- Command line
-
hf download hf://spaces/samehelmalt/ai-bio/index.html
-
curl -L -o index.html https://huggingface.co/spaces/samehelmalt/ai-bio/resolve/main/index.html
51.8 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>SciReviewAI - Customizing LLMs for Scientific Literature Review</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> | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #1e3a8a 0%, #0284c7 100%); | |
| } | |
| .paper-card { | |
| transition: all 0.3s ease; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| } | |
| .paper-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); | |
| } | |
| .citation-highlight { | |
| background-color: rgba(254, 240, 138, 0.5); | |
| padding: 0.1rem 0.2rem; | |
| border-radius: 0.2rem; | |
| } | |
| .domain-tag { | |
| font-size: 0.75rem; | |
| padding: 0.2rem 0.5rem; | |
| border-radius: 1rem; | |
| } | |
| .summary-text { | |
| line-height: 1.6; | |
| } | |
| .loading-pulse { | |
| animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; | |
| } | |
| @keyframes pulse { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0.5; } | |
| } | |
| .scrollbar-hide::-webkit-scrollbar { | |
| display: none; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 min-h-screen"> | |
| <!-- Navigation --> | |
| <nav class="gradient-bg text-white shadow-lg"> | |
| <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"> | |
| <i class="fas fa-microscope text-2xl"></i> | |
| </div> | |
| <div class="hidden md:block"> | |
| <div class="ml-10 flex items-baseline space-x-4"> | |
| <a href="#" class="px-3 py-2 rounded-md text-sm font-medium bg-blue-900 text-white">Dashboard</a> | |
| <a href="#" class="px-3 py-2 rounded-md text-sm font-medium text-blue-200 hover:text-white">Literature Review</a> | |
| <a href="#" class="px-3 py-2 rounded-md text-sm font-medium text-blue-200 hover:text-white">Methodology</a> | |
| <a href="#" class="px-3 py-2 rounded-md text-sm font-medium text-blue-200 hover:text-white">Experiments</a> | |
| <a href="#" class="px-3 py-2 rounded-md text-sm font-medium text-blue-200 hover:text-white">Feedback</a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="hidden md:block"> | |
| <div class="ml-4 flex items-center md:ml-6"> | |
| <button class="p-1 rounded-full text-blue-200 hover:text-white focus:outline-none"> | |
| <i class="fas fa-bell"></i> | |
| </button> | |
| <div class="ml-3 relative"> | |
| <div> | |
| <button class="max-w-xs flex items-center text-sm rounded-full focus:outline-none"> | |
| <img class="h-8 w-8 rounded-full" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt=""> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="-mr-2 flex md:hidden"> | |
| <button class="inline-flex items-center justify-center p-2 rounded-md text-blue-200 hover:text-white focus:outline-none"> | |
| <i class="fas fa-bars"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Header --> | |
| <header class="gradient-bg shadow"> | |
| <div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8"> | |
| <div class="flex items-center justify-between"> | |
| <h1 class="text-3xl font-bold text-white"> | |
| SciReviewAI: LLM-RAG for Literature Review | |
| </h1> | |
| <div class="flex space-x-3"> | |
| <button class="flex items-center px-4 py-2 bg-white text-blue-800 rounded-md hover:bg-blue-50"> | |
| <i class="fas fa-file-export mr-2"></i> Export to Zotero | |
| </button> | |
| <button class="flex items-center px-4 py-2 bg-blue-800 text-white rounded-md hover:bg-blue-700"> | |
| <i class="fas fa-plus mr-2"></i> New Review | |
| </button> | |
| </div> | |
| </div> | |
| <p class="mt-2 text-blue-200 max-w-3xl"> | |
| A refined approach to customizing Large Language Models with Retrieval-Augmented Generation for multi-domain scientific literature review. | |
| </p> | |
| </div> | |
| </header> | |
| <main class="max-w-7xl mx-auto py-6 sm:px-6 lg:px-8"> | |
| <!-- Search and Filters --> | |
| <div class="px-4 sm:px-0 mb-8"> | |
| <div class="bg-white shadow rounded-lg p-6"> | |
| <div class="flex flex-col md:flex-row md:items-end md:space-x-4"> | |
| <div class="flex-1"> | |
| <label for="search" class="block text-sm font-medium text-gray-700">Literature Search</label> | |
| <div class="mt-1 relative rounded-md shadow-sm"> | |
| <div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"> | |
| <i class="fas fa-search text-gray-400"></i> | |
| </div> | |
| <input type="text" name="search" id="search" class="focus:ring-blue-500 focus:border-blue-500 block w-full pl-10 sm:text-sm border-gray-300 rounded-md p-3 border" placeholder="Enter your research question or keywords..."> | |
| </div> | |
| </div> | |
| <div class="mt-4 md:mt-0"> | |
| <label for="database" class="block text-sm font-medium text-gray-700">Database</label> | |
| <select id="database" name="database" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md"> | |
| <option selected>All Databases</option> | |
| <option>PubMed</option> | |
| <option>arXiv</option> | |
| <option>IEEE Xplore</option> | |
| <option>Google Scholar</option> | |
| </select> | |
| </div> | |
| <div class="mt-4 md:mt-0"> | |
| <label for="timeframe" class="block text-sm font-medium text-gray-700">Timeframe</label> | |
| <select id="timeframe" name="timeframe" class="mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md"> | |
| <option selected>All Years</option> | |
| <option>Last 5 Years</option> | |
| <option>Last 3 Years</option> | |
| <option>Last Year</option> | |
| </select> | |
| </div> | |
| <button type="button" class="mt-4 md:mt-0 inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500"> | |
| Search | |
| </button> | |
| </div> | |
| <div class="mt-4 flex flex-wrap gap-2"> | |
| <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800"> | |
| <i class="fas fa-dna mr-1"></i> Biomedical | |
| </span> | |
| <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800"> | |
| <i class="fas fa-robot mr-1"></i> AI/ML | |
| </span> | |
| <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-purple-100 text-purple-800"> | |
| <i class="fas fa-bolt mr-1"></i> Engineering | |
| </span> | |
| <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800"> | |
| <i class="fas fa-atom mr-1"></i> Physics | |
| </span> | |
| <span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-red-100 text-red-800"> | |
| <i class="fas fa-square-root-alt mr-1"></i> Math | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="flex flex-col lg:flex-row gap-6 px-4 sm:px-0"> | |
| <!-- Left Column - Search Results --> | |
| <div class="lg:w-2/3"> | |
| <div class="bg-white shadow rounded-lg overflow-hidden"> | |
| <div class="px-4 py-5 sm:px-6 border-b border-gray-200"> | |
| <div class="flex items-center justify-between"> | |
| <h3 class="text-lg leading-6 font-medium text-gray-900"> | |
| <i class="fas fa-book-open mr-2 text-blue-500"></i> Retrieved Papers | |
| </h3> | |
| <span class="text-sm text-gray-500">42 results</span> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 px-4 py-4 flex items-center justify-between border-b border-gray-200"> | |
| <div class="flex-1 flex"> | |
| <div class="relative w-full max-w-xs"> | |
| <label for="sort" class="sr-only">Sort</label> | |
| <select id="sort" name="sort" class="block w-full pl-3 pr-10 py-2 text-base border-gray-300 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm rounded-md"> | |
| <option selected>Sort by Relevance</option> | |
| <option>Sort by Date (Newest)</option> | |
| <option>Sort by Date (Oldest)</option> | |
| <option>Sort by Citations</option> | |
| </select> | |
| </div> | |
| </div> | |
| <div class="ml-4 flex items-center"> | |
| <button type="button" class="p-2 text-gray-400 hover:text-gray-500"> | |
| <i class="fas fa-th-large"></i> | |
| </button> | |
| <button type="button" class="ml-2 p-2 text-gray-400 hover:text-gray-500"> | |
| <i class="fas fa-list"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="divide-y divide-gray-200 max-h-[600px] overflow-y-auto scrollbar-hide"> | |
| <!-- Paper Card 1 --> | |
| <div class="paper-card p-4 hover:bg-blue-50 cursor-pointer"> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 pt-1"> | |
| <div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center"> | |
| <i class="fas fa-file-alt text-blue-600"></i> | |
| </div> | |
| </div> | |
| <div class="ml-3 flex-1"> | |
| <div class="flex items-center justify-between"> | |
| <h4 class="text-sm font-medium text-blue-600">Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks</h4> | |
| <span class="text-xs text-gray-500">arXiv 2020</span> | |
| </div> | |
| <p class="mt-1 text-sm text-gray-600">Lewis et al. propose RAG models that combine pre-trained parametric and non-parametric memory for language generation.</p> | |
| <div class="mt-2 flex flex-wrap gap-1"> | |
| <span class="domain-tag bg-blue-100 text-blue-800"><i class="fas fa-brain mr-1"></i> NLP</span> | |
| <span class="domain-tag bg-purple-100 text-purple-800"><i class="fas fa-network-wired mr-1"></i> RAG</span> | |
| <span class="domain-tag bg-green-100 text-green-800"><i class="fas fa-project-diagram mr-1"></i> Architecture</span> | |
| </div> | |
| <div class="mt-2 flex items-center text-xs text-gray-500"> | |
| <span class="flex items-center mr-3"> | |
| <i class="fas fa-quote-right mr-1"></i> 124 citations | |
| </span> | |
| <span class="flex items-center"> | |
| <i class="fas fa-download mr-1"></i> PDF available | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Paper Card 2 --> | |
| <div class="paper-card p-4 hover:bg-blue-50 cursor-pointer"> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 pt-1"> | |
| <div class="w-8 h-8 rounded-full bg-green-100 flex items-center justify-center"> | |
| <i class="fas fa-dna text-green-600"></i> | |
| </div> | |
| </div> | |
| <div class="ml-3 flex-1"> | |
| <div class="flex items-center justify-between"> | |
| <h4 class="text-sm font-medium text-blue-600">BioBERT: a pre-trained biomedical language representation model for biomedical text mining</h4> | |
| <span class="text-xs text-gray-500">Bioinformatics 2020</span> | |
| </div> | |
| <p class="mt-1 text-sm text-gray-600">Lee et al. present BioBERT, a domain-specific language representation model pre-trained on large-scale biomedical corpora.</p> | |
| <div class="mt-2 flex flex-wrap gap-1"> | |
| <span class="domain-tag bg-blue-100 text-blue-800"><i class="fas fa-dna mr-1"></i> Biomedical</span> | |
| <span class="domain-tag bg-red-100 text-red-800"><i class="fas fa-language mr-1"></i> BERT</span> | |
| <span class="domain-tag bg-yellow-100 text-yellow-800"><i class="fas fa-flask mr-1"></i> Text Mining</span> | |
| </div> | |
| <div class="mt-2 flex items-center text-xs text-gray-500"> | |
| <span class="flex items-center mr-3"> | |
| <i class="fas fa-quote-right mr-1"></i> 892 citations | |
| </span> | |
| <span class="flex items-center"> | |
| <i class="fas fa-download mr-1"></i> PDF available | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Paper Card 3 --> | |
| <div class="paper-card p-4 hover:bg-blue-50 cursor-pointer"> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 pt-1"> | |
| <div class="w-8 h-8 rounded-full bg-purple-100 flex items-center justify-center"> | |
| <i class="fas fa-chart-line text-purple-600"></i> | |
| </div> | |
| </div> | |
| <div class="ml-3 flex-1"> | |
| <div class="flex items-center justify-between"> | |
| <h4 class="text-sm font-medium text-blue-600">Domain-Specific Language Model Pretraining for Biomedical Natural Language Processing</h4> | |
| <span class="text-xs text-gray-500">ACM 2021</span> | |
| </div> | |
| <p class="mt-1 text-sm text-gray-600">Gu et al. investigate different strategies for pretraining language models in the biomedical domain and evaluate them on biomedical NLP tasks.</p> | |
| <div class="mt-2 flex flex-wrap gap-1"> | |
| <span class="domain-tag bg-blue-100 text-blue-800"><i class="fas fa-dna mr-1"></i> Biomedical</span> | |
| <span class="domain-tag bg-green-100 text-green-800"><i class="fas fa-language mr-1"></i> Pretraining</span> | |
| <span class="domain-tag bg-purple-100 text-purple-800"><i class="fas fa-tasks mr-1"></i> Evaluation</span> | |
| </div> | |
| <div class="mt-2 flex items-center text-xs text-gray-500"> | |
| <span class="flex items-center mr-3"> | |
| <i class="fas fa-quote-right mr-1"></i> 256 citations | |
| </span> | |
| <span class="flex items-center"> | |
| <i class="fas fa-download mr-1"></i> PDF available | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Paper Card 4 --> | |
| <div class="paper-card p-4 hover:bg-blue-50 cursor-pointer"> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 pt-1"> | |
| <div class="w-8 h-8 rounded-full bg-yellow-100 flex items-center justify-center"> | |
| <i class="fas fa-cogs text-yellow-600"></i> | |
| </div> | |
| </div> | |
| <div class="ml-3 flex-1"> | |
| <div class="flex items-center justify-between"> | |
| <h4 class="text-sm font-medium text-blue-600">Efficient Retrieval-Augmented Generation for Scientific Literature Review</h4> | |
| <span class="text-xs text-gray-500">Nature Methods 2022</span> | |
| </div> | |
| <p class="mt-1 text-sm text-gray-600">Zhang et al. propose a hybrid retrieval-generation framework specifically optimized for scientific literature review tasks.</p> | |
| <div class="mt-2 flex flex-wrap gap-1"> | |
| <span class="domain-tag bg-blue-100 text-blue-800"><i class="fas fa-book-reader mr-1"></i> Literature Review</span> | |
| <span class="domain-tag bg-green-100 text-green-800"><i class="fas fa-search mr-1"></i> Retrieval</span> | |
| <span class="domain-tag bg-purple-100 text-purple-800"><i class="fas fa-robot mr-1"></i> Generation</span> | |
| </div> | |
| <div class="mt-2 flex items-center text-xs text-gray-500"> | |
| <span class="flex items-center mr-3"> | |
| <i class="fas fa-quote-right mr-1"></i> 78 citations | |
| </span> | |
| <span class="flex items-center"> | |
| <i class="fas fa-download mr-1"></i> PDF available | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Paper Card 5 --> | |
| <div class="paper-card p-4 hover:bg-blue-50 cursor-pointer"> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 pt-1"> | |
| <div class="w-8 h-8 rounded-full bg-red-100 flex items-center justify-center"> | |
| <i class="fas fa-project-diagram text-red-600"></i> | |
| </div> | |
| </div> | |
| <div class="ml-3 flex-1"> | |
| <div class="flex items-center justify-between"> | |
| <h4 class="text-sm font-medium text-blue-600">Multi-Domain Adaptation for Scientific Literature Summarization</h4> | |
| <span class="text-xs text-gray-500">AAAI 2023</span> | |
| </div> | |
| <p class="mt-1 text-sm text-gray-600">Wang et al. present a novel approach for adapting summarization models across multiple scientific domains with minimal retraining.</p> | |
| <div class="mt-2 flex flex-wrap gap-1"> | |
| <span class="domain-tag bg-blue-100 text-blue-800"><i class="fas fa-globe mr-1"></i> Multi-Domain</span> | |
| <span class="domain-tag bg-green-100 text-green-800"><i class="fas fa-random mr-1"></i> Adaptation</span> | |
| <span class="domain-tag bg-purple-100 text-purple-800"><i class="fas fa-file-contract mr-1"></i> Summarization</span> | |
| </div> | |
| <div class="mt-2 flex items-center text-xs text-gray-500"> | |
| <span class="flex items-center mr-3"> | |
| <i class="fas fa-quote-right mr-1"></i> 42 citations | |
| </span> | |
| <span class="flex items-center"> | |
| <i class="fas fa-download mr-1"></i> PDF available | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Right Column - Summary and Tools --> | |
| <div class="lg:w-1/3"> | |
| <!-- Summary Panel --> | |
| <div class="bg-white shadow rounded-lg mb-6"> | |
| <div class="px-4 py-5 sm:px-6 border-b border-gray-200"> | |
| <h3 class="text-lg leading-6 font-medium text-gray-900"> | |
| <i class="fas fa-file-signature mr-2 text-blue-500"></i> AI-Generated Summary | |
| </h3> | |
| <p class="mt-1 text-sm text-gray-500"> | |
| Generated by our fine-tuned BioBERT-RoBERTa hybrid model with RAG | |
| </p> | |
| </div> | |
| <div class="px-4 py-5 sm:p-6"> | |
| <div class="summary-text text-sm text-gray-700"> | |
| <p class="mb-4">The literature review reveals several key approaches to customizing LLMs for scientific literature review:</p> | |
| <p class="mb-4"><span class="citation-highlight">(Lewis et al., 2020)</span> introduced Retrieval-Augmented Generation (RAG) models that combine parametric memory (a pre-trained seq2seq model) with non-parametric memory (a dense vector index of Wikipedia). This approach shows promise for knowledge-intensive tasks.</p> | |
| <p class="mb-4">For biomedical applications, <span class="citation-highlight">(Lee et al., 2020)</span> demonstrated the effectiveness of domain-specific pretraining with BioBERT, achieving state-of-the-art results on biomedical NLP tasks. Their work highlights the importance of domain adaptation.</p> | |
| <p class="mb-4"><span class="citation-highlight">(Zhang et al., 2022)</span> optimized RAG specifically for scientific literature review, implementing a hybrid retrieval-generation framework with improved efficiency for large document collections.</p> | |
| <p>Recent work by <span class="citation-highlight">(Wang et al., 2023)</span> addresses multi-domain challenges, proposing adaptation techniques that enable a single model to handle diverse scientific literature with minimal retraining.</p> | |
| </div> | |
| <div class="mt-6 flex items-center justify-between"> | |
| <div class="flex items-center space-x-2"> | |
| <span class="text-xs text-gray-500">Confidence: </span> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5"> | |
| <div class="bg-green-600 h-2.5 rounded-full" style="width: 85%"></div> | |
| </div> | |
| <span class="text-xs font-medium text-gray-700">85%</span> | |
| </div> | |
| <button class="text-xs text-blue-600 hover:text-blue-800"> | |
| <i class="fas fa-redo mr-1"></i> Regenerate | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Citation Analysis --> | |
| <div class="bg-white shadow rounded-lg mb-6"> | |
| <div class="px-4 py-5 sm:px-6 border-b border-gray-200"> | |
| <h3 class="text-lg leading-6 font-medium text-gray-900"> | |
| <i class="fas fa-quote-right mr-2 text-blue-500"></i> Citation Analysis | |
| </h3> | |
| </div> | |
| <div class="px-4 py-5 sm:p-6"> | |
| <div class="mb-4"> | |
| <h4 class="text-sm font-medium text-gray-700 mb-2">Citation Accuracy</h4> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5"> | |
| <div class="bg-blue-600 h-2.5 rounded-full" style="width: 92%"></div> | |
| </div> | |
| <div class="mt-1 flex justify-between text-xs text-gray-500"> | |
| <span>92% verified</span> | |
| <span>8% potential issues</span> | |
| </div> | |
| </div> | |
| <div class="mb-4"> | |
| <h4 class="text-sm font-medium text-gray-700 mb-2">Citation Distribution</h4> | |
| <div class="flex items-center justify-between text-xs mb-1"> | |
| <span class="text-gray-500">PubMed</span> | |
| <span class="font-medium">12</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5"> | |
| <div class="bg-green-600 h-2.5 rounded-full" style="width: 60%"></div> | |
| </div> | |
| <div class="flex items-center justify-between text-xs mt-1"> | |
| <span class="text-gray-500">arXiv</span> | |
| <span class="font-medium">5</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5"> | |
| <div class="bg-blue-600 h-2.5 rounded-full" style="width: 25%"></div> | |
| </div> | |
| <div class="flex items-center justify-between text-xs mt-1"> | |
| <span class="text-gray-500">IEEE</span> | |
| <span class="font-medium">3</span> | |
| </div> | |
| <div class="w-full bg-gray-200 rounded-full h-2.5"> | |
| <div class="bg-purple-600 h-2.5 rounded-full" style="width: 15%"></div> | |
| </div> | |
| </div> | |
| <div> | |
| <h4 class="text-sm font-medium text-gray-700 mb-2">Potential Issues</h4> | |
| <div class="space-y-2"> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 pt-0.5"> | |
| <i class="fas fa-exclamation-triangle text-yellow-500"></i> | |
| </div> | |
| <div class="ml-2"> | |
| <p class="text-xs text-gray-600">Citation to "Zhang et al., 2022" may refer to multiple papers - verify context.</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="flex-shrink-0 pt-0.5"> | |
| <i class="fas fa-question-circle text-blue-500"></i> | |
| </div> | |
| <div class="ml-2"> | |
| <p class="text-xs text-gray-600">"Wang et al., 2023" preprint - consider peer-reviewed alternatives.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Feedback Panel --> | |
| <div class="bg-white shadow rounded-lg"> | |
| <div class="px-4 py-5 sm:px-6 border-b border-gray-200"> | |
| <h3 class="text-lg leading-6 font-medium text-gray-900"> | |
| <i class="fas fa-comment-dots mr-2 text-blue-500"></i> Provide Feedback | |
| </h3> | |
| <p class="mt-1 text-sm text-gray-500"> | |
| Help improve our model by rating this summary | |
| </p> | |
| </div> | |
| <div class="px-4 py-5 sm:p-6"> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700 mb-2">Summary Quality</label> | |
| <div class="flex items-center space-x-2"> | |
| <button class="p-1 text-gray-400 hover:text-yellow-500"> | |
| <i class="fas fa-star"></i> | |
| </button> | |
| <button class="p-1 text-gray-400 hover:text-yellow-500"> | |
| <i class="fas fa-star"></i> | |
| </button> | |
| <button class="p-1 text-gray-400 hover:text-yellow-500"> | |
| <i class="fas fa-star"></i> | |
| </button> | |
| <button class="p-1 text-gray-400 hover:text-yellow-500"> | |
| <i class="fas fa-star"></i> | |
| </button> | |
| <button class="p-1 text-gray-400 hover:text-yellow-500"> | |
| <i class="fas fa-star"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="mb-4"> | |
| <label for="feedback" class="block text-sm font-medium text-gray-700 mb-2">Specific Feedback</label> | |
| <textarea id="feedback" name="feedback" rows="3" class="shadow-sm focus:ring-blue-500 focus:border-blue-500 block w-full sm:text-sm border border-gray-300 rounded-md p-2" placeholder="What was good or needs improvement?"></textarea> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-sm font-medium text-gray-700 mb-2">Citation Accuracy</label> | |
| <div class="space-y-2"> | |
| <div class="flex items-center"> | |
| <input id="citation-accurate" name="citation-accuracy" type="radio" class="focus:ring-blue-500 h-4 w-4 text-blue-600 border-gray-300"> | |
| <label for="citation-accurate" class="ml-2 block text-sm text-gray-700">All citations accurate</label> | |
| </div> | |
| <div class="flex items-center"> | |
| <input id="citation-minor" name="citation-accuracy" type="radio" class="focus:ring-blue-500 h-4 w-4 text-blue-600 border-gray-300"> | |
| <label for="citation-minor" class="ml-2 block text-sm text-gray-700">Minor issues</label> | |
| </div> | |
| <div class="flex items-center"> | |
| <input id="citation-major" name="citation-accuracy" type="radio" class="focus:ring-blue-500 h-4 w-4 text-blue-600 border-gray-300"> | |
| <label for="citation-major" class="ml-2 block text-sm text-gray-700">Major issues</label> | |
| </div> | |
| </div> | |
| </div> | |
| <button type="button" class="w-full inline-flex justify-center rounded-md border border-transparent shadow-sm px-4 py-2 bg-blue-600 text-base font-medium text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 sm:text-sm"> | |
| Submit Feedback | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Methodology Section --> | |
| <div class="px-4 sm:px-0 mt-10"> | |
| <div class="bg-white shadow rounded-lg overflow-hidden"> | |
| <div class="px-4 py-5 sm:px-6 border-b border-gray-200"> | |
| <h3 class="text-lg leading-6 font-medium text-gray-900"> | |
| <i class="fas fa-project-diagram mr-2 text-blue-500"></i> Methodology Overview | |
| </h3> | |
| </div> | |
| <div class="px-4 py-5 sm:p-6"> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6"> | |
| <!-- Data Collection --> | |
| <div class="border border-gray-200 rounded-lg p-4"> | |
| <div class="flex items-center mb-3"> | |
| <div class="flex-shrink-0 bg-blue-100 p-2 rounded-md"> | |
| <i class="fas fa-database text-blue-600"></i> | |
| </div> | |
| <h4 class="ml-3 text-sm font-medium text-gray-900">Data Collection</h4> | |
| </div> | |
| <ul class="space-y-2 text-sm text-gray-600"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mr-2 mt-0.5"></i> | |
| <span>PubMed for biomedical research</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mr-2 mt-0.5"></i> | |
| <span>arXiv for CS/physics/math preprints</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mr-2 mt-0.5"></i> | |
| <span>IEEE Xplore for engineering</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mr-2 mt-0.5"></i> | |
| <span>Google Scholar for benchmarking</span> | |
| </li> | |
| </ul> | |
| </div> | |
| <!-- Model Architecture --> | |
| <div class="border border-gray-200 rounded-lg p-4"> | |
| <div class="flex items-center mb-3"> | |
| <div class="flex-shrink-0 bg-purple-100 p-2 rounded-md"> | |
| <i class="fas fa-network-wired text-purple-600"></i> | |
| </div> | |
| <h4 class="ml-3 text-sm font-medium text-gray-900">Model Architecture</h4> | |
| </div> | |
| <ul class="space-y-2 text-sm text-gray-600"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mr-2 mt-0.5"></i> | |
| <span>BioBERT for biomedical domains</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mr-2 mt-0.5"></i> | |
| <span>RoBERTa for general science</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mr-2 mt-0.5"></i> | |
| <span>DPR with FAISS indexing</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mr-2 mt-0.5"></i> | |
| <span>End-to-end RAG training</span> | |
| </li> | |
| </ul> | |
| </div> | |
| <!-- Evaluation --> | |
| <div class="border border-gray-200 rounded-lg p-4"> | |
| <div class="flex items-center mb-3"> | |
| <div class="flex-shrink-0 bg-green-100 p-2 rounded-md"> | |
| <i class="fas fa-chart-bar text-green-600"></i> | |
| </div> | |
| <h4 class="ml-3 text-sm font-medium text-gray-900">Evaluation Metrics</h4> | |
| </div> | |
| <ul class="space-y-2 text-sm text-gray-600"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mr-2 mt-0.5"></i> | |
| <span>ROUGE-L, BLEU for summaries</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mr-2 mt-0.5"></i> | |
| <span>Citation accuracy percentage</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mr-2 mt-0.5"></i> | |
| <span>User satisfaction surveys</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check text-green-500 mr-2 mt-0.5"></i> | |
| <span>Comparison with Elicit/Scispace</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="mt-6"> | |
| <h4 class="text-sm font-medium text-gray-900 mb-3">RAG Training Pipeline</h4> | |
| <div class="relative"> | |
| <div class="absolute top-0 left-0 h-full w-6 flex items-center justify-center"> | |
| <div class="h-full w-0.5 bg-gray-200"></div> | |
| </div> | |
| <div class="relative pl-8 space-y-4"> | |
| <!-- Step 1 --> | |
| <div class="flex items-start group"> | |
| <div class="absolute left-0 h-6 w-6 rounded-full bg-blue-100 border-4 border-white flex items-center justify-center"> | |
| <span class="text-xs font-bold text-blue-800">1</span> | |
| </div> | |
| <div class="bg-blue-50 p-4 rounded-lg flex-1"> | |
| <h5 class="text-sm font-medium text-blue-800">Data Preprocessing</h5> | |
| <p class="mt-1 text-xs text-gray-600">GROBID for PDF parsing, text normalization, SciBERT tokenization</p> | |
| </div> | |
| </div> | |
| <!-- Step 2 --> | |
| <div class="flex items-start group"> | |
| <div class="absolute left-0 h-6 w-6 rounded-full bg-blue-100 border-4 border-white flex items-center justify-center"> | |
| <span class="text-xs font-bold text-blue-800">2</span> | |
| </div> | |
| <div class="bg-blue-50 p-4 rounded-lg flex-1"> | |
| <h5 class="text-sm font-medium text-blue-800">Supervised Fine-Tuning</h5> | |
| <p class="mt-1 text-xs text-gray-600">Train on S2ORC for summary generation with embedded citations</p> | |
| </div> | |
| </div> | |
| <!-- Step 3 --> | |
| <div class="flex items-start group"> | |
| <div class="absolute left-0 h-6 w-6 rounded-full bg-blue-100 border-4 border-white flex items-center justify-center"> | |
| <span class="text-xs font-bold text-blue-800">3</span> | |
| </div> | |
| <div class="bg-blue-50 p-4 rounded-lg flex-1"> | |
| <h5 class="text-sm font-medium text-blue-800">RLHF Refinement</h5> | |
| <p class="mt-1 text-xs text-gray-600">Researcher feedback on citation relevance and clarity</p> | |
| </div> | |
| </div> | |
| <!-- Step 4 --> | |
| <div class="flex items-start group"> | |
| <div class="absolute left-0 h-6 w-6 rounded-full bg-blue-100 border-4 border-white flex items-center justify-center"> | |
| <span class="text-xs font-bold text-blue-800">4</span> | |
| </div> | |
| <div class="bg-blue-50 p-4 rounded-lg flex-1"> | |
| <h5 class="text-sm font-medium text-blue-800">End-to-End Training</h5> | |
| <p class="mt-1 text-xs text-gray-600">Contrastive loss to align retriever-generator outputs</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Footer --> | |
| <footer class="gradient-bg mt-12"> | |
| <div class="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8"> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div> | |
| <h3 class="text-white text-lg font-medium mb-4">SciReviewAI</h3> | |
| <p class="text-blue-200 text-sm"> | |
| A refined approach to customizing Large Language Models with Retrieval-Augmented Generation for multi-domain scientific literature review. | |
| </p> | |
| </div> | |
| <div> | |
| <h3 class="text-white text-lg font-medium mb-4">Quick Links</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-blue-200 hover:text-white text-sm">Documentation</a></li> | |
| <li><a href="#" class="text-blue-200 hover:text-white text-sm">API Reference</a></li> | |
| <li><a href="#" class="text-blue-200 hover:text-white text-sm">GitHub Repository</a></li> | |
| <li><a href="#" class="text-blue-200 hover:text-white text-sm">Research Paper</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-white text-lg font-medium mb-4">Contact</h3> | |
| <ul class="space-y-2"> | |
| <li class="flex items-center text-blue-200 text-sm"> | |
| <i class="fas fa-envelope mr-2"></i> contact@scireviewai.org | |
| </li> | |
| <li class="flex items-center text-blue-200 text-sm"> | |
| <i class="fas fa-university mr-2"></i> AI Research Lab, University | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="mt-8 pt-8 border-t border-blue-700"> | |
| <p class="text-blue-200 text-sm text-center"> | |
| © 2023 SciReviewAI. All rights reserved. | |
| </p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Simple interactivity for the UI | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Paper card selection | |
| const paperCards = document.querySelectorAll('.paper-card'); | |
| paperCards.forEach(card => { | |
| card.addEventListener('click', function() { | |
| // Remove active class from all cards | |
| paperCards.forEach(c => c.classList.remove('bg-blue-50', 'border-blue-300', 'border')); | |
| // Add active class to clicked card | |
| this.classList.add('bg-blue-50', 'border-blue-300', 'border'); | |
| // Simulate loading new summary | |
| const summaryText = document.querySelector('.summary-text'); | |
| const confidenceBar = document.querySelector('.bg-green-600'); | |
| summaryText.innerHTML = ` | |
| <div class="loading-pulse h-4 bg-gray-200 rounded mb-2"></div> | |
| <div class="loading-pulse h-4 bg-gray-200 rounded mb-2 w-5/6"></div> | |
| <div class="loading-pulse h-4 bg-gray-200 rounded mb-2 w-3/4"></div> | |
| <div class="loading-pulse h-4 bg-gray-200 rounded mb-2 w-4/6"></div> | |
| `; | |
| confidenceBar.style.width = '0%'; | |
| // Simulate API call delay | |
| setTimeout(() => { | |
| // Replace with actual summary based on selected paper | |
| summaryText.innerHTML = ` | |
| <p class="mb-4">The selected paper introduces novel approaches to scientific literature analysis:</p> | |
| <p class="mb-4"><span class="citation-highlight">(Author et al., Year)</span> presents a breakthrough in domain-specific adaptation techniques, achieving 15% improvement over baseline models.</p> | |
| <p>The methodology combines <span class="citation-highlight">(Reference 1)</span> and <span class="citation-highlight">(Reference 2)</span> with innovative preprocessing steps that reduce computational overhead by 30%.</p> | |
| `; | |
| // Animate confidence bar | |
| let width = 0; | |
| const interval = setInterval(() => { | |
| if (width >= 88) { | |
| clearInterval(interval); | |
| } else { | |
| width += 2; | |
| confidenceBar.style.width = width + '%'; | |
| document.querySelector('.text-xs.font-medium.text-gray-700').textContent = width + '%'; | |
| } | |
| }, 30); | |
| }, 1500); | |
| }); | |
| }); | |
| // Star rating | |
| const stars = document.querySelectorAll('[class*="fa-star"]'); | |
| stars.forEach((star, index) => { | |
| star.addEventListener('click', function() { | |
| // Reset all stars | |
| stars.forEach(s => s.classList.remove('text-yellow-500')); | |
| // Color stars up to clicked one | |
| for (let i = 0; i <= index; i++) { | |
| stars[i].classList.add('text-yellow-500'); | |
| } | |
| }); | |
| }); | |
| }); | |
| </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=samehelmalt/ai-bio" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |