README / README.md
OmarEmam99's picture
Add Dathr organization card
336e0bd verified
|
Raw History Blame Contribute Delete
4.65 kB
---
title: README
emoji: 🛡️
colorFrom: green
colorTo: gray
sdk: static
pinned: false
license: other
---
<style>
.dathr-card { font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif; line-height: 1.55; color: #33483D; }
.dathr-card h1 { color: #004C2E; font-size: 1.75rem; margin: 0 0 0.35rem; }
.dathr-card .ar { color: #007A45; font-size: 1.35rem; margin: 0 0 0.75rem; }
.dathr-card .tagline { font-style: italic; color: #004C2E; margin: 0 0 1.25rem; }
.dathr-card a { color: #007A45; text-decoration: underline; }
.dathr-card .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0; }
@media (max-width: 720px) { .dathr-card .grid { grid-template-columns: 1fr; } }
.dathr-card .box { border: 1px solid #78BA9C55; border-radius: 10px; padding: 1rem 1.1rem; background: #ffffff; }
.dathr-card .box h3 { margin: 0 0 0.4rem; color: #004C2E; font-size: 1.05rem; }
.dathr-card .box p { margin: 0; font-size: 0.95rem; }
.dathr-card ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.dathr-card .muted { color: #33483D99; font-size: 0.9rem; }
.dathr-card .pill { display: inline-block; background: #007A45; color: #fff; border-radius: 999px; padding: 0.15rem 0.65rem; font-size: 0.8rem; margin-right: 0.35rem; margin-bottom: 0.35rem; }
.dathr-card .pill.alt { background: #004C2E; }
.dathr-card .pill.mint { background: #78BA9C; color: #004C2E; }
</style>
<div class="dathr-card">
# DATHR
<p class="ar" dir="rtl">دثر</p>
<p class="tagline">Protecting Data. Enabling Intelligence.</p>
<p>
<span class="pill">Saudi PII</span>
<span class="pill alt">Arabic · English</span>
<span class="pill mint">Offline-first</span>
<span class="pill alt">PDPL-minded</span>
</p>
<p>
<strong>DATHR</strong> (Arabic <em>دثر</em> — to cover and protect) builds tools that detect and mask
personally identifiable information in Saudi-context documents, so organizations can safely
prepare protected, AI-ready knowledge without sending sensitive text to the cloud.
</p>
<p class="muted">
Website: <a href="https://dathr.sa">dathr.sa</a>
</p>
## What we publish here
<div class="grid">
<div class="box">
<h3>Models</h3>
<p>
Fine-tuned GLiNER checkpoints for bilingual Saudi PII span detection
(national ID, Iqama, IBAN, CR, mobile, names, addresses, and the full
42-label taxonomy).
</p>
<ul>
<li><a href="https://huggingface.co/Dathr/dathr-gliner-saudi-pii-v2"><code>Dathr/dathr-gliner-saudi-pii-v2</code></a> (private)</li>
</ul>
</div>
<div class="box">
<h3>Datasets &amp; eval</h3>
<p>
Versioned training corpora and benchmark artifacts used to train and
measure the Saudi PII engine (synthetic + LLM + public-mapped sources).
</p>
<ul>
<li><a href="https://huggingface.co/datasets/Dathr/dathr-saudi-pii-v1"><code>Dathr/dathr-saudi-pii-v1</code></a> (private)</li>
<li><a href="https://huggingface.co/datasets/Dathr/dathr-saudi-pii-eval"><code>Dathr/dathr-saudi-pii-eval</code></a> (private)</li>
</ul>
</div>
</div>
## Product &amp; research
<div class="grid">
<div class="box">
<h3>DATHR desktop</h3>
<p>
Offline desktop app (Tauri + React + Rust AI sidecar) for import, Arabic OCR,
regex / GLiNER / SLM detection, human review, and masked export of legal and
enterprise documents — on-device by default.
</p>
</div>
<div class="box">
<h3>dathr-lab</h3>
<p>
Research &amp; data lab: canonical PII taxonomy, Arabic normalization with offset
maps, synthetic / LLM data generation, hard negatives, leakage-safe splits,
and span-level evaluation (precision, recall, risk-weighted leakage).
</p>
</div>
</div>
## Focus areas
- **Saudi / Gulf PII coverage** — IDs, banking, telecom, government, healthcare labels grounded in local formats
- **Bilingual pipelines** — Arabic (incl. dialectal surface forms) and English, with digit / punctuation normalization
- **Privacy by design** — offline-first product path; lab datasets are synthetic / public-mapped, not live customer PDPL data
- **Measurable detection** — published private baselines (e.g. GLiNER F1 ≈ 0.80 on the remeshed Saudi test set)
## Load a private model
```python
from gliner import GLiNER
model = GLiNER.from_pretrained("Dathr/dathr-gliner-saudi-pii-v2", token=True)
preds = model.predict_entities(
"IBAN SA0380000000608010167519",
["iban"],
threshold=0.4,
)
```
<p class="muted">
Private repos require a Hugging Face token with access to the <strong>Dathr</strong> organization.
</p>
</div>