-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: update llava dataset for ignoring padding loss, and add llava instruct dataset designed for only apply losses to gpt responses * fix m3it ignore index * add m3it instruction dataset * minor fix and add comments * fix ignore index of japanese csv dataset, and add instruction tuning dataset of japanese csv * -100 to IGNORE_INDEX * refactor get_each_dataset function * remove redundant conversion to RGB * minor fix: change order of dataset_classes dict
- Loading branch information
Showing
17 changed files
with
840 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
dataset_type: japanese_csv_instruct | ||
dataset_root: "./" | ||
dataset_names: | ||
- coco | ||
- visual_genome |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dataset_type: llava | ||
dataset_root: ./ | ||
language: "both" | ||
jsonl_path: | ||
n_train: 157000 | ||
n_val: 712 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dataset_type: llava_instruct | ||
dataset_root: ./ | ||
jsonl_path: | ||
language: "both" | ||
n_train: 157000 | ||
n_val: 712 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
dataset_type: llava | ||
dataset_root: "./" | ||
dataset_root: ./ | ||
language: "en" | ||
jsonl_path: | ||
n_train: 157000 | ||
n_val: 712 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dataset_type: llava_instruct | ||
dataset_root: ./ | ||
jsonl_path: | ||
language: "en" | ||
n_train: 157000 | ||
n_val: 712 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
dataset_type: llava | ||
dataset_root: "./" | ||
dataset_root: ./ | ||
language: "ja" | ||
jsonl_path: | ||
n_train: 157000 | ||
n_val: 712 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dataset_type: llava_instruct | ||
dataset_root: ./ | ||
jsonl_path: | ||
language: "ja" | ||
n_train: 157000 | ||
n_val: 712 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
dataset_type: m3it | ||
dataset_names: | ||
- textcap | ||
- image-paragraph-captioning | ||
- coco-goi | ||
- coco-itm | ||
- vqa-v2 | ||
- shapes | ||
- docvqa | ||
- ocr-vqa | ||
- st-vqa | ||
- text-vqa | ||
- gqa | ||
- okvqa | ||
- a-okvqa | ||
- viquae | ||
- clevr | ||
- nlvr | ||
- vcr | ||
- visual-mrc | ||
- visual-dialog | ||
- multi30k |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
dataset_type: m3it_instruct | ||
dataset_names: | ||
- image-paragraph-captioning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.