mirror of
https://github.com/BoardWare-Genius/jarvis-models.git
synced 2025-12-13 16:53:24 +00:00
@ -76,6 +76,8 @@ class VLMS(Blackbox):
|
|||||||
"top_k": self.top_k,
|
"top_k": self.top_k,
|
||||||
"ignore_eos": self.ignore_eos,
|
"ignore_eos": self.ignore_eos,
|
||||||
"skip_special_tokens": self.skip_special_tokens,
|
"skip_special_tokens": self.skip_special_tokens,
|
||||||
|
# "system_prompt":"",
|
||||||
|
# "vlm_model_name":" ",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -99,7 +101,7 @@ class VLMS(Blackbox):
|
|||||||
history: a list
|
history: a list
|
||||||
"""
|
"""
|
||||||
if settings:
|
if settings:
|
||||||
for k in settings:
|
for k in list(settings.keys()):
|
||||||
if k not in self.settings:
|
if k not in self.settings:
|
||||||
print("Warning: '{}' is not a support argument and ignore this argment, check the arguments {}".format(k,self.settings.keys()))
|
print("Warning: '{}' is not a support argument and ignore this argment, check the arguments {}".format(k,self.settings.keys()))
|
||||||
settings.pop(k)
|
settings.pop(k)
|
||||||
|
|||||||
Reference in New Issue
Block a user