LLAVA#
Arguments#
Options
- --llava_model_namestr
Help: Name of the LLAVA model to use
Default:
llava-hf/llava-1.5-7b-hf
- --base_promptstr
Help: Base prompt for the LLAVA model
Default: ``USER: <image>
<prompt> ASSISTANT:`` --classification_prompt : str
Help: Prompt to use for classification. If <classnames> is present, it will be replaced with the class names. If <datasetname> is present, it will be replaced with the dataset name
Default:
What object is in the photo ? Pick only one and answer with the class name <classnames>
Classes#
- class models.llava.Llava(backbone, loss, args, transform, dataset=None)[source]#
Bases:
ContinualModel
STATIC Continual Learning with LLAVA.