-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #128 from EvolvingLMMs-Lab/videomme
Update videomme task [w,w/o subtitle] and modified prompt for ablations
- Loading branch information
Showing
2 changed files
with
72 additions
and
2 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
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,43 @@ | ||
dataset_path: lmms-lab/Video-MME | ||
dataset_kwargs: | ||
token: True | ||
cache_dir: videomme | ||
video: True | ||
# From_YouTube: True | ||
task: videomme_subtitle | ||
test_split: test | ||
output_type: generate_until | ||
doc_to_visual: !function utils.videomme_doc_to_visual | ||
doc_to_text: !function utils.videomme_doc_to_text_subtitle | ||
doc_to_target: "answer" | ||
generation_kwargs: | ||
max_new_tokens: 16 | ||
temperature: 0 | ||
top_p: 1.0 | ||
num_beams: 1 | ||
do_sample: false | ||
# The return value of process_results will be used by metrics | ||
process_results: !function utils.videomme_process_results | ||
# Note that the metric name can be either a registed metric function (such as the case for GQA) or a key name returned by process_results | ||
metric_list: | ||
- metric: videomme_percetion_score | ||
aggregation: !function utils.videomme_aggregate_results | ||
higher_is_better: true | ||
model_specific_prompt_kwargs: | ||
default: | ||
pre_prompt: "" | ||
post_prompt: "" | ||
# gpt4v: | ||
# pre_prompt: "" | ||
# post_prompt: | ||
# # qwen_vl: | ||
# # pre_prompt: "" | ||
# # post_prompt: " Answer:" | ||
# # otterhd: | ||
# # pre_prompt: "" | ||
# # post_prompt: " Answer:" | ||
# xcomposer2_4khd: | ||
# pre_prompt: "[UNUSED_TOKEN_146]user\n" | ||
# post_prompt: " Answer this question with A, B, C, or D.[UNUSED_TOKEN_145]\n[UNUSED_TOKEN_146]assistant\n" | ||
metadata: | ||
- version: 0.0 |