This repository was archived by the owner on Sep 10, 2025. It is now read-only.
Commit dcc82b9
Added support for Multimodal eval (#1499)
* [wip] Added cli args and other changes to eval multi-modal models
* remove redundant comment
* Added Llama3VisionTransform in TokenizerArgs and other changes
* use kv caching and other minor fixes
* default batch size 1
* lint eval.py and builder.py
* lm-eval 0.4.2->0.4.7 in install_requirements.sh
* fixes from code review
* remove modality from builder args
* use custom prefix token
* move torchtune imports inside VLMEvalWrapper
* revert changes from builder.py
* instantiate transform in eval()
---------
Co-authored-by: anirudh <[email protected]>
Co-authored-by: Jack-Khuu <[email protected]>1 parent 4d8bab5 commit dcc82b9
File tree
6 files changed
+331
-17
lines changed- install
- torchchat
- cli
- usages
6 files changed
+331
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
794 | 794 | | |
795 | 795 | | |
796 | 796 | | |
797 | | - | |
| 797 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
435 | 443 | | |
436 | 444 | | |
437 | 445 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
611 | 617 | | |
612 | 618 | | |
613 | 619 | | |
| |||
0 commit comments