Spaces:
Running
Running
Download index.html from thelamapi/Next-Trace: direct link, hf CLI and curl.
- Browser
- Download file 2.37 kB
-
https://huggingface.co/spaces/thelamapi/Next-Trace/resolve/main/index.html
- Command line
-
hf download hf://spaces/thelamapi/Next-Trace/index.html
-
curl -L -o index.html https://huggingface.co/spaces/thelamapi/Next-Trace/resolve/main/index.html
2.37 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="icon" href="data:,"> | |
| <title>Next Trace</title> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> | |
| <body> | |
| <main> | |
| <header> | |
| <h1>Next Trace</h1> | |
| <p>Ask a question about a Turkish or English document. Next Trace marks the sentences the answer rests on — or says plainly that the document does not contain enough evidence. Everything runs in your browser; nothing is sent anywhere.</p> | |
| <div class="badges"><span class="badge">Türkçe + English</span><span class="badge">Live in-browser</span><span class="badge">Trained on SQuAD 2.0 (CC BY-SA 4.0)</span><a class="badge" href="https://huggingface.co/thelamapi/Next-Trace">Model repo</a></div> | |
| </header> | |
| <div class="grid"> | |
| <section class="card"> | |
| <label for="ex">Example</label><select id="ex"></select> | |
| <p class="small muted" id="src"></p> | |
| <label for="doc">Document / Belge</label><textarea id="doc" style="min-height:180px"></textarea> | |
| <label for="q">Question / Soru</label><input type="text" id="q"> | |
| <div class="row" style="margin-top:8px"> | |
| <select id="mode" style="flex:1" aria-label="method"><option value="learned">Learned reranker (Next Trace)</option><option value="bm25">BM25 only (baseline)</option></select> | |
| <select id="lang" style="width:120px" aria-label="interface language"><option value="tr">Türkçe</option><option value="en">English</option></select> | |
| </div> | |
| </section> | |
| <section class="card"> | |
| <h2>Verdict</h2> | |
| <div id="verdict"></div> | |
| <h3>Document with evidence</h3> | |
| <div id="marked" style="line-height:1.8"></div> | |
| <h3>Top sentences</h3> | |
| <div class="scroll"><table id="tbl"></table></div> | |
| </section> | |
| </div> | |
| <section class="card" style="margin-top:12px"><h2>Recorded benchmark</h2><img src="preview.png" alt="Benchmark" style="width:100%;border-radius:8px"></section> | |
| <p class="status" id="status"></p> | |
| <footer>Next Trace selects evidence sentences; it does not generate answers. Example passages from SQuAD 2.0 and XQuAD are CC BY-SA 4.0; hand-written examples are original.</footer> | |
| </main> | |
| <script src="nlrt.js"></script> | |
| <script src="nlui.js"></script> | |
| <script src="core.js"></script> | |
| <script src="app.js"></script> | |
| </body> | |
| </html> | |