dltjwl
commited on
Commit
•
5074dda
1
Parent(s):
1f5289b
ADD : Preprocessing
Browse files
README.md
CHANGED
@@ -14,8 +14,10 @@ deplot_kr은 google의 pix2struct 구조를 기반으로 한 한국어 image-to-
|
|
14 |
|
15 |
## How to use
|
16 |
|
17 |
-
You can run a prediction by input an image.
|
18 |
-
Model predict the data table of text form in the image.
|
|
|
|
|
19 |
|
20 |
```python
|
21 |
from transformers import Pix2StructForConditionalGeneration, Pix2StructImageProcessor, AutoTokenizer, Pix2StructProcessor
|
@@ -42,6 +44,14 @@ print(processor.batch_decode(deplot_generated_ids, skip_special_token=True)[0])
|
|
42 |
|
43 |
### Preprocessing
|
44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
### Train
|
46 |
|
47 |
The model was trained in a TPU environment.
|
|
|
14 |
|
15 |
## How to use
|
16 |
|
17 |
+
You can run a prediction by input an image.
|
18 |
+
Model predict the data table of text form in the image.
|
19 |
+
|
20 |
+
이미지를 모델에 입력하면 모델은 이미지로부터 표 형태의 데이터 테이블을 예측합니다.
|
21 |
|
22 |
```python
|
23 |
from transformers import Pix2StructForConditionalGeneration, Pix2StructImageProcessor, AutoTokenizer, Pix2StructProcessor
|
|
|
44 |
|
45 |
### Preprocessing
|
46 |
|
47 |
+
[Liu et al.(2023)](https://arxiv.org/pdf/2212.10505.pdf) 에 따라,
|
48 |
+
According to [Liu et al.(2023)](https://arxiv.org/pdf/2212.10505.pdf)...
|
49 |
+
|
50 |
+
- markdown format
|
51 |
+
- | : seperating cells (열 구분)
|
52 |
+
- \n : seperating rows (행 구분)
|
53 |
+
|
54 |
+
|
55 |
### Train
|
56 |
|
57 |
The model was trained in a TPU environment.
|