Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta name="description" content="AI-Powered Citation Verification with AI-Powered Full-Text Analysis and Evidence-Based Reasoning"> | |
| <title>SemanticCite - AI-Powered Citation Verification</title> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; | |
| line-height: 1.6; | |
| color: #333; | |
| background: linear-gradient(135deg, #fef3c7 0%, #c7d2fe 100%); | |
| min-height: 100vh; | |
| padding: 20px; | |
| } | |
| .container { | |
| max-width: 1000px; | |
| margin: 0 auto; | |
| background: white; | |
| padding: 40px; | |
| border-radius: 12px; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| } | |
| h1 { | |
| font-size: 2.5em; | |
| margin-bottom: 0.5em; | |
| color: #1f2937; | |
| } | |
| h2 { | |
| font-size: 1.8em; | |
| margin-top: 1.5em; | |
| margin-bottom: 0.8em; | |
| color: #374151; | |
| border-bottom: 2px solid #e5e7eb; | |
| padding-bottom: 0.3em; | |
| } | |
| h3 { | |
| font-size: 1.3em; | |
| margin-top: 1.2em; | |
| margin-bottom: 0.6em; | |
| color: #4b5563; | |
| } | |
| p { | |
| margin-bottom: 1em; | |
| color: #4b5563; | |
| } | |
| .subtitle { | |
| font-size: 1.3em; | |
| color: #6b7280; | |
| margin-bottom: 1.5em; | |
| font-weight: 500; | |
| } | |
| .links { | |
| display: flex; | |
| gap: 15px; | |
| flex-wrap: nowrap; | |
| margin-bottom: 2em; | |
| } | |
| .links a { | |
| display: inline-flex; | |
| align-items: center; | |
| padding: 10px 20px; | |
| background: #6b7280; | |
| color: white; | |
| text-decoration: none; | |
| border-radius: 6px; | |
| font-weight: 500; | |
| transition: background 0.3s; | |
| white-space: nowrap; | |
| } | |
| .links a:hover { | |
| background: #4b5563; | |
| } | |
| .image-container { | |
| text-align: center; | |
| margin: 2em 0; | |
| } | |
| .image-container img { | |
| max-width: 100%; | |
| height: auto; | |
| border-radius: 8px; | |
| box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| } | |
| ul { | |
| margin-left: 1.5em; | |
| margin-bottom: 1em; | |
| } | |
| li { | |
| margin-bottom: 0.5em; | |
| color: #4b5563; | |
| } | |
| strong { | |
| color: #1f2937; | |
| } | |
| code { | |
| background: #f3f4f6; | |
| padding: 2px 6px; | |
| border-radius: 3px; | |
| font-family: 'Courier New', Courier, monospace; | |
| font-size: 0.9em; | |
| color: #dc2626; | |
| } | |
| pre { | |
| background: #1f2937; | |
| color: #f3f4f6; | |
| padding: 20px; | |
| border-radius: 8px; | |
| overflow-x: auto; | |
| margin: 1em 0; | |
| font-family: 'Courier New', Courier, monospace; | |
| font-size: 0.9em; | |
| } | |
| pre code { | |
| background: none; | |
| padding: 0; | |
| color: #f3f4f6; | |
| } | |
| .features { | |
| background: #f9fafb; | |
| padding: 20px; | |
| border-radius: 8px; | |
| margin: 1em 0; | |
| } | |
| .badge { | |
| display: inline-block; | |
| background: #dbeafe; | |
| color: #1e40af; | |
| padding: 4px 12px; | |
| border-radius: 12px; | |
| font-size: 0.9em; | |
| margin-right: 8px; | |
| margin-bottom: 8px; | |
| } | |
| .footer { | |
| text-align: center; | |
| margin-top: 3em; | |
| padding-top: 2em; | |
| border-top: 1px solid #e5e7eb; | |
| color: #6b7280; | |
| font-weight: 500; | |
| } | |
| a { | |
| color: #4f46e5; | |
| text-decoration: none; | |
| } | |
| a:hover { | |
| text-decoration: underline; | |
| } | |
| @media (max-width: 768px) { | |
| .container { | |
| padding: 20px; | |
| } | |
| h1 { | |
| font-size: 2em; | |
| } | |
| h2 { | |
| font-size: 1.5em; | |
| } | |
| .links { | |
| flex-direction: column; | |
| } | |
| .links a { | |
| width: 100%; | |
| justify-content: center; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <h1>π SemanticCite</h1> | |
| <p class="subtitle">The first AI system for automated full-text citation verification</p> | |
| <div class="links"> | |
| <a href="https://arxiv.org/abs/2511.16198" target="_blank">π Paper</a> | |
| <a href="https://github.com/sebhaan/SemanticCite" target="_blank">π» GitHub Repository</a> | |
| <a href="https://semanticcite.com" target="_blank">π Project Homepage</a> | |
| </div> | |
| <p>This Hugging Face Space hosts the complete SemanticCite project, including fine-tuned models, training dataset, and interactive demo for AI-powered citation verification.</p> | |
| <div class="image-container"> | |
| <img src="assets/io.png" alt="SemanticCite Input/Output" /> | |
| </div> | |
| <p>SemanticCite transforms citation verification by analysing complete source documents and providing nuanced classification through four categories: Supported, Partially Supported, Unsupported, and Uncertain. Beyond simple validation, the system delivers detailed reasoning, confidence scores, and evidence reference snippets that show researchers exactly how their claims connect to the supporting literature.</p> | |
| <h2>β¨ Key Features</h2> | |
| <div class="features"> | |
| <ul> | |
| <li><strong>Deep Semantic Analysis:</strong> Full-text document analysis with 4-class classification (Supported, Partially Supported, Unsupported, Uncertain)</li> | |
| <li><strong>Lightweight AI Models:</strong> Fine-tuned Qwen3 models (1.7B & 4B parameters) with performance comparable to GPT-4</li> | |
| <li><strong>Triple Retrieval System:</strong> Dense vector search + sparse BM25 matching + neural reranking with FlashRank</li> | |
| <li><strong>Evidence-Based Reasoning:</strong> Ranked text snippets with transparent explanations and confidence scores</li> | |
| <li><strong>Multiple Deployment Options:</strong> Web interface, Python API, local/cloud deployment</li> | |
| </ul> | |
| </div> | |
| <h2>π€ Hugging Face Resources</h2> | |
| <h3>Models</h3> | |
| <ul> | |
| <li><strong><a href="https://huggingface.co/sebsigma/SemanticCite-Refiner-Qwen3-1B" target="_blank">SemanticCite-Refiner-Qwen3-1B</a></strong> - Claim extraction model (1.7B parameters)</li> | |
| <li><strong><a href="https://huggingface.co/sebsigma/SemanticCite-Checker-Qwen3-4B" target="_blank">SemanticCite-Checker-Qwen3-4B</a></strong> - Citation verification model (4B parameters)</li> | |
| </ul> | |
| <h3>Dataset</h3> | |
| <ul> | |
| <li><strong><a href="https://huggingface.co/datasets/sebsigma/SemanticCite-Dataset" target="_blank">SemanticCite-Dataset</a></strong> - 1,111 citation-reference pairs across 8 academic fields with expert annotations</li> | |
| </ul> | |
| <h2>π§ Technical Architecture</h2> | |
| <ul> | |
| <li><strong>Hybrid Retrieval:</strong> BM25 + Dense Vector Search</li> | |
| <li><strong>Reranking:</strong> FlashRank neural reranking</li> | |
| <li><strong>Classification:</strong> Fine-tuned Qwen3 models with structured output</li> | |
| <li><strong>Embeddings:</strong> Local SentenceTransformers or OpenAI embeddings</li> | |
| <li><strong>Storage:</strong> ChromaDB vector database</li> | |
| </ul> | |
| <h2>π¦ Installation</h2> | |
| <pre><code># Clone repository | |
| git clone https://github.com/sebhaan/SemanticCite | |
| cd SemanticCite | |
| # Setup environment | |
| conda env create -f environment.yaml | |
| conda activate cite | |
| # Run web interface | |
| streamlit run src/app.py</code></pre> | |
| <p>For local deployment with Ollama:</p> | |
| <pre><code># Install models | |
| ollama pull sebsigma/semanticcite-refiner-qwen3-1b | |
| ollama pull sebsigma/semanticcite-checker-qwen3-4b</code></pre> | |
| <p>Full documentation available in the <a href="https://github.com/sebhaan/SemanticCite" target="_blank">GitHub repository</a>.</p> | |
| <h2>πΌ Tailored Solutions</h2> | |
| <p>Need to verify entire documents automatically? Visit <a href="https://semanticcite.com" target="_blank">semanticcite.com</a> for:</p> | |
| <ul> | |
| <li>Complete citation system with automatic extraction and verification</li> | |
| <li>Batch processing for large-scale workflows</li> | |
| <li>API integration for editorial and publishing systems</li> | |
| <li>On-premise deployment with custom model training</li> | |
| </ul> | |
| <h2>π Citation</h2> | |
| <p>If you use SemanticCite in your research, please cite:</p> | |
| <pre><code>@article{semanticcite2025, | |
| title={SemanticCite: Citation Verification with AI-Powered Full-Text Analysis and Evidence-Based Reasoning}, | |
| author={Sebastian Haan}, | |
| journal={ArXiv Preprint}, | |
| year={2025}, | |
| url={https://arxiv.org/abs/2511.16198} | |
| }</code></pre> | |
| <div class="footer"> | |
| <p><strong>SemanticCite</strong> - Enhancing research quality through AI-powered citation verification</p> | |
| </div> | |
| </div> | |
| </body> | |
| </html> | |