Adds PerceptionLM and PLM-VideoBench #638
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds,
Perception Language Model (PLM) is a state-of-the-art, fully open and reproducible MLLM for transparent research in image and video understanding. It was introduced in "PerceptionLM: Open-Access Data and Models for
Detailed Visual Understanding".
PLM-VideoBench is a collection of human-annotated resources for evaluating Vision Language models, focused on detailed video understanding. It was also introduced in the same paper.
PLM-VideoBench includes 5 evaluation tasks.
GitHub: https://github.com/facebookresearch/perception_models
Models: PLM weights are available in 1B, 3B and 8B size.
PLM Image and Video Benchmark Results
Please refer to Table # 3 and 4 on the PLM Paper for a detailed comparison with other MLLM baselines.
PLM VideoBench Results
Our implementation successfully reproduce the PLM-VideoBench results reported in the paper. We also provide detailed instructions for evaluating in PLM on PLM-VideoBench in at
lmms_eval/tasks/plm_videobench/README.md
.The PR also updates some task configs to add pre and post prompts for PLM. Additionally, it adds yerevann/coco-karpathy to lmms-eval as well.
Please refer to perception_models/apps/plm/docs/evaluation.md for instructions on evaluating PLM on multiple image and video benchmarks using lmms-eval.
The pull request does not break any existing functionality in lmms-eval.