Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,8 +1,49 @@
|
|
| 1 |
---
|
| 2 |
-
license: mit
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
+
license: mit
|
| 5 |
+
tags:
|
| 6 |
+
- ner
|
| 7 |
+
- named-entity-recognition
|
| 8 |
+
- early-modern-english
|
| 9 |
+
- historical-texts
|
| 10 |
+
- lora
|
| 11 |
+
- peft
|
| 12 |
+
base_model: Qwen/Qwen3-4B-Instruct-2507
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# EarlyModernNER Adapters
|
| 16 |
+
|
| 17 |
+
LoRA adapters for Named Entity Recognition in Early Modern English documents (1500-1800).
|
| 18 |
+
|
| 19 |
+
## Adapters
|
| 20 |
+
|
| 21 |
+
| Adapter | Entity Type | Precision | Recall | F1 |
|
| 22 |
+
|---------|-------------|-----------|--------|-----|
|
| 23 |
+
| `toponym_lora` | Place names | 0.93 | 0.82 | 0.87 |
|
| 24 |
+
| `person_lora` | People | 0.93 | 0.69 | 0.80 |
|
| 25 |
+
| `organization_lora` | Institutions | 0.93 | 0.46 | 0.62 |
|
| 26 |
+
| `commodity_lora` | Trade goods | 0.85 | 0.80 | 0.83 |
|
| 27 |
+
|
| 28 |
+
## Usage
|
| 29 |
+
|
| 30 |
+
These adapters are used by the [EarlyModernNER](https://github.com/polayj/earlymodernner) package:
|
| 31 |
+
|
| 32 |
+
```bash
|
| 33 |
+
pip install earlymodernner
|
| 34 |
+
python -m earlymodernner --input your_docs/ --output results.jsonl
|
| 35 |
+
```
|
| 36 |
+
|
| 37 |
+
Adapters are automatically downloaded on first use.
|
| 38 |
+
|
| 39 |
+
## Base Model
|
| 40 |
+
|
| 41 |
+
All adapters are trained on **Qwen/Qwen3-4B-Instruct-2507** using QLoRA (4-bit quantization).
|
| 42 |
+
|
| 43 |
+
## License
|
| 44 |
+
|
| 45 |
+
MIT License
|
| 46 |
+
|
| 47 |
+
## Author
|
| 48 |
+
|
| 49 |
+
Jacob Polay, University of Saskatchewan
|