Update README.md
Browse files
README.md
CHANGED
@@ -3,7 +3,7 @@ license: apache-2.0
|
|
3 |
pipeline_tag: image-to-text
|
4 |
---
|
5 |
|
6 |
-
#
|
7 |
```python
|
8 |
from transformers import AutoTokenizer, VisionEncoderDecoderModel, AutoImageProcessor
|
9 |
from PIL import Image
|
@@ -21,16 +21,23 @@ print(tokenizer.decode(model.generate(feature_extractor(imgen, return_tensors="p
|
|
21 |
colab: https://colab.research.google.com/drive/1vj3GKTmHcVor7FRKyk254nXEi9Lu_dhL?usp=sharing
|
22 |
|
23 |
|
24 |
-
#
|
25 |
|
26 |

|
27 |
|
28 |

|
29 |
|
30 |
-
|
|
|
|
|
31 |
建议图片尺寸:大约 (400, 500), (H, W)。
|
32 |
建议输出字数:大约100-300个tokens。
|
33 |
Latex 环境:
|
|
|
|
|
|
|
|
|
|
|
34 |
```
|
35 |
\usepackage{amssymb}
|
36 |
\usepackage{amsmath}
|
|
|
3 |
pipeline_tag: image-to-text
|
4 |
---
|
5 |
|
6 |
+
# 使用方法 Usage instructions:
|
7 |
```python
|
8 |
from transformers import AutoTokenizer, VisionEncoderDecoderModel, AutoImageProcessor
|
9 |
from PIL import Image
|
|
|
21 |
colab: https://colab.research.google.com/drive/1vj3GKTmHcVor7FRKyk254nXEi9Lu_dhL?usp=sharing
|
22 |
|
23 |
|
24 |
+
# 样例 Dataset example:
|
25 |
|
26 |

|
27 |
|
28 |

|
29 |
|
30 |
+
I will release a small portion of the generated synthetic dataset and the data collection methods.
|
31 |
+
|
32 |
+
# 补充 Supplementary information:
|
33 |
建议图片尺寸:大约 (400, 500), (H, W)。
|
34 |
建议输出字数:大约100-300个tokens。
|
35 |
Latex 环境:
|
36 |
+
|
37 |
+
Suggested image dimensions: approximately (400, 500), (H, W).
|
38 |
+
Recommended output length: approximately 100-300 tokens.
|
39 |
+
LaTeX environment:
|
40 |
+
|
41 |
```
|
42 |
\usepackage{amssymb}
|
43 |
\usepackage{amsmath}
|