Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- sv
|
4 |
+
---
|
5 |
+
|
6 |
+
:construction_worker: This model card is under construction!
|
7 |
+
|
8 |
+
# Swedish OCR correction
|
9 |
+
|
10 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
11 |
+
|
12 |
+
This model corrects OCR errors in Swedish text.
|
13 |
+
|
14 |
+
## Model Description
|
15 |
+
|
16 |
+
This model is a fine-tuned version of [byt5-small](https://huggingface.co/google/byt5-small), a character-level multilingual transformer. It is fine-tuned on OCR samples from Swedish newspapers and historical text.
|
17 |
+
|
18 |
+
<!-- ### Model Description-->
|
19 |
+
|
20 |
+
<!-- Provide a longer summary of what this model is.
|
21 |
+
|
22 |
+
- **Developed by:** [More Information Needed]
|
23 |
+
- **Funded by [optional]:** [More Information Needed]
|
24 |
+
- **Shared by [optional]:** [More Information Needed]
|
25 |
+
- **Model type:** [More Information Needed]
|
26 |
+
- **Language(s) (NLP):** [More Information Needed]
|
27 |
+
- **License:** [More Information Needed]
|
28 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
29 |
+
|
30 |
+
### Model Sources [optional]
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]-->
|
35 |
+
|
36 |
+
## Training Data
|
37 |
+
|
38 |
+
The base model byt5 is pre-trained on [mc4](https://huggingface.co/datasets/mc4). This fine-tuned version is further trained on:
|
39 |
+
|
40 |
+
- Swedish newspapers from 1818 to 2018. Parts of the dataset are available from Språkbanken Text: [Swedish newspapers 1818-1870](https://spraakbanken.gu.se/en/resources/svenska-tidningar-1818-1870), [Swedish newspapers 1871-1906](https://spraakbanken.gu.se/resurser/svenska-tidningar-1871-1906).
|
41 |
+
- Swedish blackletter documents from 1626 to 1816, available from Språkbaknen Text: [Swedish fraktur 1626-1816](https://spraakbanken.gu.se/resurser/svensk-fraktur-1626-1816)
|
42 |
+
|
43 |
+
## Usage
|
44 |
+
The model accepts input sequences of at most 128 UTF-8 bytes. Use the code below to get started with the model.
|
45 |
+
|
46 |
+
[Demo code here]
|
47 |
+
|
48 |
+
|