Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,9 +1,54 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-sa-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
| 4 |
|
| 5 |
-
# BOTHROS
|
| 6 |
|
| 7 |
-
|
|
|
|
|
|
|
| 8 |
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-sa-4.0
|
| 3 |
+
pipeline_tag: object-detection
|
| 4 |
+
language:
|
| 5 |
+
- gmy
|
| 6 |
+
tags:
|
| 7 |
+
- linear-a
|
| 8 |
+
- linear-b
|
| 9 |
+
- aegean-scripts
|
| 10 |
+
- epigraphy
|
| 11 |
+
- ancient-languages
|
| 12 |
+
- object-detection
|
| 13 |
+
- image-classification
|
| 14 |
+
- digital-humanities
|
| 15 |
+
- ocr
|
| 16 |
+
- yolo
|
| 17 |
+
- convnext
|
| 18 |
---
|
| 19 |
|
| 20 |
+
# BOTHROS — Aegean sign reading from photographs (Linear A + Linear B)
|
| 21 |
|
| 22 |
+
Weights for the [BOTHROS](https://github.com/jmacdonald263/bothros) pipeline:
|
| 23 |
+
photograph an ancient Aegean tablet, get the signs on it by catalogue code and
|
| 24 |
+
reading.
|
| 25 |
|
| 26 |
+
- **`yolo_aegean_unified.pt`** — one YOLO11s detector localising signs for *both*
|
| 27 |
+
scripts (sign detection is class-agnostic; Linear A and Linear B signs are
|
| 28 |
+
visually cognate).
|
| 29 |
+
- **`la_classifier.pth` / `lb_classifier.pth`** — ConvNeXt-Tiny classifiers
|
| 30 |
+
(AB-codes for Linear A; B-codes + readings for Linear B).
|
| 31 |
+
- **`lb_class_to_reading.json`** — Linear B B-code → phonetic reading map.
|
| 32 |
+
|
| 33 |
+
## Results (held-out, leak-free)
|
| 34 |
+
|
| 35 |
+
| metric | Linear A | Linear B | DeepScribe (cuneiform ref) |
|
| 36 |
+
|---|---|---|---|
|
| 37 |
+
| classifier oracle top-1 | 79.3% | 64.5% | 74% |
|
| 38 |
+
| pipeline E2E sign top-1 | 66.9% | 62.6% | 56.3% |
|
| 39 |
+
| pipeline per-line F1 | 64.9% | 76.5% | — |
|
| 40 |
+
| CER (lower better) | ~0.49 | 0.44 | 0.669 |
|
| 41 |
+
|
| 42 |
+
## Usage
|
| 43 |
+
```bash
|
| 44 |
+
pip install bothros # or: pip install -e . from the GitHub repo
|
| 45 |
+
python3 scripts/download_weights.py
|
| 46 |
+
python3 -m bothros read your_tablet.jpg --script la # or --script lb
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
## Licence
|
| 50 |
+
**CC BY-NC-SA 4.0** — derived from research-only corpora (GORILA, DĀMOS, SigLA).
|
| 51 |
+
The pipeline source code is MIT (see the GitHub repo). Non-commercial use only.
|
| 52 |
+
|
| 53 |
+
## Citation
|
| 54 |
+
See https://github.com/jmacdonald263/bothros (Zenodo DOI on release).
|