de-Rodrigo
commited on
Commit
•
2123cfc
1
Parent(s):
e5a708b
Uploading additional files
Browse files- src/card/README.md +28 -0
src/card/README.md
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# DONUT Cord-v2
|
2 |
+
|
3 |
+
<a href="https://x.com/nearcyan/status/1706914605262684394">
|
4 |
+
<div style="text-align: center;">
|
5 |
+
<picture>
|
6 |
+
<source media="(prefers-color-scheme: dark)" srcset="assets/dragon_huggingface.png">
|
7 |
+
<source media="(prefers-color-scheme: light)" srcset="assets/dragon_huggingface.png">
|
8 |
+
<img alt="Descripción de la imagen" src="assets/dragon_huggingface.png" style="width: 200px;">
|
9 |
+
</picture>
|
10 |
+
</div>
|
11 |
+
</a>
|
12 |
+
|
13 |
+
|
14 |
+
## Model Architecture
|
15 |
+
**This model is based on the Donut architecture and fine-tuned on the Cord-v2 dataset for form understanding tasks.**
|
16 |
+
|
17 |
+
- Backbone: [Donut](https://huggingface.co/models)
|
18 |
+
- Training Data: [Cord-v2](https://huggingface.co/datasets/naver-clova-ix/cord-v2)
|
19 |
+
|
20 |
+
## Example Usage
|
21 |
+
|
22 |
+
```python
|
23 |
+
from transformers import AutoProcessor, AutoModel
|
24 |
+
|
25 |
+
processor = AutoProcessor.from_pretrained("de-Rodrigo/donut-merit")
|
26 |
+
model = AutoModel.from_pretrained("de-Rodrigo/donut-merit")
|
27 |
+
```
|
28 |
+
**WIP** 🛠️
|