readme: add initial version
Browse files
README.md
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
---
|
6 |
+
|
7 |
+
# hmByT5 - Preliminary Language Models
|
8 |
+
|
9 |
+
Preliminary Historic Multilingual and Monolingual ByT5 Models. Following languages are currently covered:
|
10 |
+
|
11 |
+
* English (British Library Corpus - Books)
|
12 |
+
|
13 |
+
More details can be found in [our GitHub repository](https://github.com/stefan-it/hmByT5).
|
14 |
+
|
15 |
+
# Pretraining
|
16 |
+
|
17 |
+
We use the official JAX/FLAX example in Hugging Face Transformers to pretrain a ByT5 model on a single v3-8 TPU.
|
18 |
+
Details about the training can be found [here](https://github.com/stefan-it/hmByT5/tree/main/hmbyt5-flax).
|
19 |
+
|
20 |
+
# Evaluation on Downstream Tasks (NER)
|
21 |
+
|
22 |
+
We evaluated the hmByT5 model on downstream tasks:
|
23 |
+
|
24 |
+
| Model | English AjMC | German AjMC | French AjMC | Finnish NewsEye | Swedish NewsEye | Dutch ICDAR | French ICDAR | Avg. |
|
25 |
+
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------|--------------|--------------|-----------------|-----------------|--------------|--------------|------|
|
26 |
+
| [`hmbyt5/byt5-small-english`](https://huggingface.co/hmbyt5/byt5-small-english) | 85.65 ± 1.21 | 87.27 ± 0.50 | 84.44 ± 0.79 | | | | | |
|
27 |
+
|
28 |
+
# Acknowledgements
|
29 |
+
|
30 |
+
Research supported with Cloud TPUs from Google's [TPU Research Cloud](https://sites.research.google/trc/about/) (TRC).
|
31 |
+
Many Thanks for providing access to the TPUs ❤️
|