Detect "vicuna" as llama model type (#772)
This commit is contained in:
parent
881dbc3d44
commit
ee4547cd34
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ def load_quantized(model_name):
|
|||
if not shared.args.model_type:
|
||||
# Try to determine model type from model name
|
||||
name = model_name.lower()
|
||||
if any((k in name for k in ['llama', 'alpaca'])):
|
||||
if any((k in name for k in ['llama', 'alpaca', 'vicuna'])):
|
||||
model_type = 'llama'
|
||||
elif any((k in name for k in ['opt-', 'galactica'])):
|
||||
model_type = 'opt'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue