File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1717@register_model ("phi3v" )
1818class 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 ,
You can’t perform that action at this time.
0 commit comments