axiong commited on
Commit
16fd3b1
1 Parent(s): 982bc6b
Files changed (6) hide show
  1. .gitattributes +3 -0
  2. README.md +39 -3
  3. README.zh.md +38 -0
  4. test.jsonl +3 -0
  5. train.jsonl +3 -0
  6. valid.jsonl +3 -0
.gitattributes CHANGED
@@ -52,3 +52,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
52
  *.jpg filter=lfs diff=lfs merge=lfs -text
53
  *.jpeg filter=lfs diff=lfs merge=lfs -text
54
  *.webp filter=lfs diff=lfs merge=lfs -text
 
 
 
 
52
  *.jpg filter=lfs diff=lfs merge=lfs -text
53
  *.jpeg filter=lfs diff=lfs merge=lfs -text
54
  *.webp filter=lfs diff=lfs merge=lfs -text
55
+ test.jsonl filter=lfs diff=lfs merge=lfs -text
56
+ train.jsonl filter=lfs diff=lfs merge=lfs -text
57
+ valid.jsonl filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,39 @@
1
- ---
2
- license: cc0-1.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PMC-OA Dataset
2
+
3
+ [中文文档](./README.zh.md)
4
+
5
+ - [PMC-OA Dataset](#pmc-oa-dataset)
6
+ - [Daraset Structure](#daraset-structure)
7
+ - [Sample](#sample)
8
+
9
+ ## Daraset Structure
10
+
11
+ **PMC-OA** (seperated images, separated caption).
12
+ - `train.jsonl`: metafile of train set
13
+ - `valid.jsonl`: metafile of valid set
14
+ - `test.jsonl`: metafile of test set
15
+ - `images.zip`: images folder
16
+
17
+ **PMC-OA Beta** is dataset of (seperated images, whole caption). And it's structure is the same as PMC-OA.
18
+
19
+
20
+ ## Sample
21
+
22
+ A row in `train.jsonl` is shown bellow,
23
+
24
+ ```python
25
+ {
26
+ "image": "PMC212319_Fig3_4.jpg",
27
+ "caption": "A. Real time image of the translocation of ARF1-GFP to the plasma membrane ...",
28
+ "pmcid": "PMC212319",
29
+ "url_name": "1471-2121-4-13-3.jpg"
30
+ }
31
+ ```
32
+
33
+ Explanation to each key
34
+
35
+ - image: path to the image
36
+ - caption: corresponding to the image
37
+ - pmcid: source paper's PMCID of the image
38
+ - url_name: image name in the web link
39
+
README.zh.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PMC-OA 数据集
2
+
3
+ [English Documentation](./README.zh.md)
4
+
5
+ - [PMC-OA 数据集](#pmc-oa-数据集)
6
+ - [数据集结构](#数据集结构)
7
+ - [样本](#样本)
8
+
9
+ ## 数据集结构
10
+
11
+ **PMC-OA** (分开的子图, 子图对应的文本).
12
+ - `train.jsonl`: 训练集
13
+ - `valid.jsonl`: 验证集
14
+ - `test.jsonl`: 测试集
15
+ - `images.zip`: 图像文件夹
16
+
17
+ **PMC-OA Beta** 数据集中包含的图像文本对是 (分开的子图, 复合图对应的文本).
18
+
19
+ ## 样本
20
+
21
+ `train.jsonl` 中的某一行为:
22
+
23
+ ```python
24
+ {
25
+ "image": "PMC212319_Fig3_4.jpg",
26
+ "caption": "A. Real time image of the translocation of ARF1-GFP to the plasma membrane ...",
27
+ "pmcid": "PMC212319",
28
+ "url_name": "1471-2121-4-13-3.jpg"
29
+ }
30
+ ```
31
+
32
+ 每个字段的解释
33
+
34
+ - image: 图片路径
35
+ - caption: 对应文本
36
+ - pmcid: 图片出处文章的 PMCID
37
+ - url_name: 图片在网页链接中的名字
38
+
test.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:140d97740adefae166894de7c4c3755888de74e116df1faf0e39e7780c085ca9
3
+ size 130407258
train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb3dc9859478835e181502edb9fb08a6ab464740c52a876d8603eb45149fdbf3
3
+ size 1042512432
valid.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8552ce67f8eb4ef6c582706a972c0071c26997fd5dc746110ee62a2dc80a1e7
3
+ size 130031316