dinhanhx commited on
Commit
4474cb4
1 Parent(s): 8a6a549
.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
+ *.json filter=lfs diff=lfs merge=lfs -text
56
+ *.jsonl filter=lfs diff=lfs merge=lfs -text
57
+ *.txt filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - vi
4
+ - en
5
+ pretty_name: OK-VQA in multilang
6
+ source-datasets:
7
+ - OK-VQA
8
+ - COCO
9
+ tags:
10
+ - OK-VQA
11
+ - OK-VQA-vi
12
+ license: unknown
13
+ task_categories:
14
+ - visual-question-answering
15
+ task_ids:
16
+ - visual-question-answering
17
+ ---
18
+ # OK-VQA in multilang
19
+
20
+ This is Google-translated versions of [OK-VQA](https://okvqa.allenai.org/index.html) in many languages. Each language version stays in each folder.
21
+
22
+ The process of building Vietnamese version as follows:
23
+ - In `en/` folder,
24
+ - From [OK-VQA](https://okvqa.allenai.org/index.html), obtain all json files: `mscoco_train2014_annotations.json`, `mscoco_val2014_annotations.json`, `OpenEnded_mscoco_train2014_questions.json`, `OpenEnded_mscoco_val2014_questions.json`.
25
+ - By using [set data structure](https://docs.python.org/3/tutorial/datastructures.html#sets), generate txt files of unique text: `train_answer_list.txt`, `train_question_list.txt`, `val_answer_list.txt`, `val_question_list.txt`.
26
+ - In `vi/` folder,
27
+ - By translating 4 `en/.txt` files, generate `train_answer_list.jsonl`, `train_question_list.jsonl`, `val_answer_list.jsonl`, `val_question_list.jsonl`. In each of entry of each file, the key is the original english text, the value is the translated text in vietnamese.
28
+
29
+ To load Vietnamese version in your code, you need original English version. Then just use English text as key to retrieve Vietnamese value from jsonl files. I provide both English and Vietnamese version.
30
+
31
+ Other languages (if added) shall follow the same process.
32
+
33
+ Current languages:
34
+ - en
35
+ - vi
36
+
37
+ There will be more if I have time.
en/OpenEnded_mscoco_train2014_questions.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5a851aa3e6e83dec02903fc378212b240eec5b2294d0df4c257bb92fdfb300f0
3
+ size 931923
en/OpenEnded_mscoco_val2014_questions.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0e0f7c86c83b4cefc435d1fd5276e1556d6751168c0a0fa3cf93f284e95cd1f
3
+ size 521744
en/mscoco_train2014_annotations.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:edbb1a1a36d732fff3419ca81527d3987526a855cbf42f1c665ee28976e5a203
3
+ size 15187276
en/mscoco_val2014_annotations.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45bb566bd33c738873a1a5dcabd3e0bb6657a0a9b3048786148a0151a5d29df8
3
+ size 8490544
en/train_answer_list.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:349f98490ab348e0175ed7aeaa33be1b272d7630ba425981e995fac5ea650dcf
3
+ size 36775
en/train_question_list.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5de94cfb724b9467a37362ff4191c405dc7a60b912075af45856c5fb8631c1e0
3
+ size 365248
en/val_answer_list.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b9c509b8c726a2e1cccf8a5cf73c9abb546e8b72ebc15838386606ba3f28e3f
3
+ size 20922
en/val_question_list.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e34c111aa9d89f3b216e98598d44e9738371c5eb59d36360ab7d2c78ff591cf
3
+ size 203283
vi/train_answer_ckpt.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f99b90e11b1e5221e17404a4053b15a327d726be2b5d433016e7e84b9c0d4fe5
3
+ size 4
vi/train_answer_list.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a9048f6ae7b4da6ff2f310f7232bc7a01bcf851a02c3b773605af17461a8679
3
+ size 124013
vi/train_question_ckpt.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:338db67f8c60690b8cb68e81804c2e68c8e887455bfeceb810b70eeee430325e
3
+ size 4
vi/train_question_list.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d37e4bf1e949d747146fb78f15d4cec5866ef6120cc0b9123fd91862b53d1fbf
3
+ size 918221
vi/val_answer_ckpt.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b4261f5afa3de11408ed91980e35e585292e46cc265cd41dad35487f815c93d
3
+ size 4
vi/val_answer_list.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:630d59bacaab09a9ce65c3211724ad49a9f4d422dcd8d1bfdf1158817c59589a
3
+ size 72126
vi/val_question_ckpt.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12269c796b58fb51020e17da59733d060552b37f7916e2f97df9f9bdc0e235a0
3
+ size 4
vi/val_question_list.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:382041579aaed69af23da6c9cb36c57eb368605cd8c7959c79e3ca81a6d15c48
3
+ size 510995