Download index.html from EasyOctopus/german-support-redactor: direct link, hf CLI and curl.
- Browser
- Download file 5 kB
-
https://huggingface.co/spaces/EasyOctopus/german-support-redactor/resolve/main/index.html
- Command line
-
hf download hf://spaces/EasyOctopus/german-support-redactor/index.html
-
curl -L -o index.html https://huggingface.co/spaces/EasyOctopus/german-support-redactor/resolve/main/index.html
5 kB
| <html lang="de"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <meta name="color-scheme" content="light" /> | |
| <title>Deutscher PII-Redaktor · Mahir Isikli</title> | |
| <link rel="stylesheet" href="./style.css" /> | |
| </head> | |
| <body> | |
| <main> | |
| <header> | |
| <div class="identity"> | |
| <span class="monogram" aria-hidden="true">mi</span | |
| ><a | |
| href="https://huggingface.co/EasyOctopus" | |
| target="_blank" | |
| rel="noreferrer" | |
| >Mahir Isikli</a | |
| > | |
| </div> | |
| <a | |
| class="headerlink" | |
| href="https://huggingface.co/EasyOctopus/german-support-pii-model" | |
| target="_blank" | |
| rel="noreferrer" | |
| >Basismodell auf Hugging Face</a | |
| > | |
| </header> | |
| <h1>Personendaten schwärzen</h1> | |
| <p class="lead"> | |
| Prüfe eine deutsche Supportnachricht. Das Modell läuft auf deinem Gerät. | |
| Dein Text bleibt im Browser. | |
| </p> | |
| <section class="examples" aria-label="Beispiel einsetzen"> | |
| <strong>Beispiele</strong | |
| ><button type="button" data-example="mail">E-Mail-Adresse</button | |
| ><button type="button" data-example="city">Gewöhnlicher Text</button | |
| ><button type="button" data-example="book">Buchtitel</button> | |
| <button type="button" data-example="guest">Faust als Gast</button> | |
| <button type="button" data-example="play">Faust als Stück</button> | |
| <button type="button" data-example="surname">Antwort auf Namensfrage</button> | |
| <button type="button" data-example="bookreply">Antwort auf Titelfrage</button> | |
| </section> | |
| <div class="previous"> | |
| <label for="context">Vorherige Supportfrage (optional)</label> | |
| <input id="context" type="text" maxlength="512" autocomplete="off" spellcheck="false" placeholder="Wie lautet Ihr Nachname?" /> | |
| </div> | |
| <div class="editors"> | |
| <section class="panel"> | |
| <label for="input">Original</label | |
| ><textarea | |
| id="input" | |
| rows="6" | |
| maxlength="12000" | |
| spellcheck="false" | |
| autocomplete="off" | |
| > | |
| Bitte schicken Sie die Bestätigung an lea.beispiel@example.org. Vielen Dank!</textarea | |
| > | |
| <div class="footer"> | |
| <button class="primary" id="run">Text prüfen</button | |
| ><span id="size"></span> | |
| </div> | |
| </section> | |
| <section class="panel output"> | |
| <h2>Geschwärzter Text</h2> | |
| <div id="out" aria-live="polite"> | |
| Das Ergebnis erscheint nach der Prüfung. | |
| </div> | |
| <div class="footer"> | |
| <button disabled id="copy">Text kopieren</button | |
| ><button disabled id="json">JSON kopieren</button> | |
| </div> | |
| </section> | |
| </div> | |
| <div id="status" role="status"> | |
| Beim ersten Prüfen lädt der Browser das Modell und die Rechenbibliothek. | |
| </div> | |
| <section class="threshold"> | |
| <div class="settings"> | |
| <label for="threshold">Schwelle für die Schwärzung</label | |
| ><output for="threshold" id="value">0,00</output> | |
| </div> | |
| <input | |
| type="range" | |
| id="threshold" | |
| min="0" | |
| max="1" | |
| step="0.01" | |
| value="0" | |
| disabled | |
| /> | |
| <div class="scale"> | |
| <span>Mehr Stellen schwärzen</span><span>Nur höhere Modellwerte</span> | |
| </div> | |
| <p> | |
| Eine höhere Schwelle lässt mehr Text sichtbar. Auch vertrauliche | |
| Angaben können sichtbar bleiben. Prüfe das Ergebnis vor der | |
| Weitergabe. | |
| </p> | |
| <p>Bei Schwelle 0 markierte das Modell in einem Test mit öffentlichen Bezeichnungen und gewöhnlichen Sätzen 62 von 98 unkritischen Nachrichten. <a href="./evaluation.json">Testergebnisse</a></p> | |
| </section> | |
| <section id="findings" hidden> | |
| <h2>Erkannte Stellen</h2> | |
| <p> | |
| Der Modellwert ist der Mittelwert der Wortteil-Scores. Er ist keine | |
| geprüfte Wahrscheinlichkeit. | |
| </p> | |
| <div class="tablewrap"> | |
| <table> | |
| <thead> | |
| <tr> | |
| <th>Typ</th> | |
| <th>Zeichenbereich¹</th> | |
| <th>Modellwert</th> | |
| <th>Ausgabe</th> | |
| </tr> | |
| </thead> | |
| <tbody></tbody> | |
| </table> | |
| </div> | |
| <small | |
| >¹ Unicode-Codepunkte, ab 0 gezählt. Das Ende gehört nicht mehr zur | |
| Stelle.</small | |
| > | |
| </section> | |
| <footer> | |
| <a | |
| href="https://huggingface.co/datasets/EasyOctopus/german-support-pii-data" | |
| target="_blank" | |
| rel="noreferrer" | |
| >Synthetischer deutscher Datensatz</a | |
| ><span id="version"></span> | |
| </footer> | |
| </main> | |
| <script type="module" src="./app.mjs"></script> | |
| </body> | |
| </html> | |