MixTex commited on
Commit
92bc659
1 Parent(s): f19429b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -3
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
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/62dbaade36292040577d2d4f/eOAym7FZDsjic_8ptsC-H.png)
27
 
28
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/62dbaade36292040577d2d4f/m-oVg8dsQbQZ1fDWbwKtO.png)
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
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/62dbaade36292040577d2d4f/eOAym7FZDsjic_8ptsC-H.png)
27
 
28
  ![image/png](https://cdn-uploads.huggingface.co/production/uploads/62dbaade36292040577d2d4f/m-oVg8dsQbQZ1fDWbwKtO.png)
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}