add multimodal LLM BLIP-2 and InstructBLIP

This commit is contained in:
BUAADreamer
2024-04-23 18:45:43 +08:00
parent 5722ada12b
commit 4dcb11eab7
18 changed files with 4982 additions and 39 deletions

View File

@@ -165,6 +165,10 @@ class ModelArguments:
default=False,
metadata={"help": "For debugging purposes, print the status of the parameters in the model."},
)
use_qformer: bool = field(
default=False,
metadata={"help": "Whether use qformer for Multimodal LLM."},
)
def __post_init__(self):
self.compute_dtype = None