Feat: add model support for penguinvl#1257
Merged
Luodian merged 2 commits intoMar 26, 2026
Merged
Conversation
Add support for Penguin-VL
Luodian
approved these changes
Mar 26, 2026
Contributor
Luodian
left a comment
There was a problem hiding this comment.
LGTM — clean model integration for Penguin-VL. Well-validated with benchmark results across image and video tasks.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Penguin-VLexposed as--model penguinvlinlmms-eval.penguinvlin the model registry and add an example launch script for multi-benchmark evaluation.In scope
lmms_eval/models/simple/penguinvl.py, register the model ID, provideexamples/models/penguin_vl.sh, and addpenguinvlprompt overrides formmmu_pro_standardandmmmu_pro_vision.Out of scope
Penguin-VL-specific prompt configuration.Validation
accelerate launch --num_processes=8 --main_process_port=12346 -m lmms_eval --model penguinvl --model_args=pretrained=tencent/Penguin-VL-8B,attn_implementation=flash_attention_2,dtype=bfloat16 --tasks "ai2d,mmmu_pro_standard,ocrbench" --batch_size 1 --log_samples --log_samples_suffix penguinvl --verbosity DEBUG --output_path ./logs/| sample size:N=3088+1730+1000| key metrics:ai2d exact_match=0.8491, mmmu_pro_standard mmmu_acc=0.32139, ocrbench_accuracy=0.8430| result:passaccelerate launch --num_processes=8 --main_process_port=12346 -m lmms_eval --model penguinvl --model_args=pretrained=tencent/Penguin-VL-8B,attn_implementation=flash_attention_2,dtype=bfloat16 --tasks "videomme,longvideobench_val_v" --batch_size 1 --log_samples --log_samples_suffix penguinvl --verbosity DEBUG --output_path ./logs/| sample size:N=2700+1337| key metrics:videomme_perception_score=66.30, longvideobench_val_v lvb_acc=0.64996| result:passRisk / Compatibility
Penguin-VLHugging Face implementation; this integration was evaluated withtransformers==4.51.3andattn_implementation=flash_attention_2.Type of Change