Skip to content

Commit d0b6e7c

Browse files
committed
Adding documentation of Phi3v class.
1 parent 654ea7f commit d0b6e7c

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

lmms_eval/models/phi3v.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,18 @@
1717
@register_model("phi3v")
1818
class Phi3v(lmms):
1919
"""
20-
TODO(vifragos): Document me!
20+
This class implements inference for the microsoft/Phi-3-vision-128k-instruct model.
21+
To learn more about this model please visit the following links:
22+
1. https://huggingface.co/microsoft/Phi-3-vision-128k-instruct
23+
2. https://azure.microsoft.com/en-us/blog/new-models-added-to-the-phi-3-family-available-on-microsoft-azure/
24+
3. https://github.com/microsoft/Phi-3CookBook
25+
26+
NOTE: This class was adapted from quen_vl.py and llava_hf.py.
27+
28+
Example:
29+
30+
accelerate launch --num_processes=4 -m lmms_eval --model phi3v --tasks mmmu_val \
31+
--batch_size 1 --log_samples --log_samples_suffix phi3v_mmmu --output_path ./logs/
2132
"""
2233
def __init__(
2334
self,

0 commit comments

Comments
 (0)