vision
This commit is contained in:
parent
81cd49d2e7
commit
d9f042d7e0
2 changed files with 35 additions and 2 deletions
|
|
@ -153,8 +153,9 @@ def get_model_name(model_name, load_in_4bit = True):
|
|||
if upgraded_model_name is not None:
|
||||
raise NotImplementedError(
|
||||
f"Unsloth: {model_name} is not supported in your current Unsloth version! Please update Unsloth via:\n\n"\
|
||||
'pip uninstall unsloth -y\n'\
|
||||
'pip install --upgrade --no-cache-dir "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"'
|
||||
'pip uninstall unsloth unsloth_zoo -y\n'\
|
||||
'pip install --upgrade --no-cache-dir "unsloth[colab-new] @ git+https://github.com/unslothai/unsloth.git"\n'\
|
||||
'pip install --upgrade --no-cache-dir "git+https://github.com/unslothai/unsloth-zoo.git"\n'\
|
||||
)
|
||||
pass
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -452,6 +452,38 @@ __INT_TO_FLOAT_MAPPER = \
|
|||
"unsloth/Llama-3.1-Nemotron-70B-Instruct",
|
||||
"nvidia/Llama-3.1-Nemotron-70B-Instruct-HF",
|
||||
),
|
||||
"unsloth/Qwen2-VL-2B-Instruct-bnb-4bit" : (
|
||||
"unsloth/Qwen2-VL-2B-Instruct",
|
||||
"Qwen/Qwen2-VL-2B-Instruct",
|
||||
),
|
||||
"unsloth/Qwen2-VL-7B-Instruct-bnb-4bit" : (
|
||||
"unsloth/Qwen2-VL-7B-Instruct",
|
||||
"Qwen/Qwen2-VL-7B-Instruct",
|
||||
),
|
||||
"unsloth/Llama-3.2-11B-Vision-Instruct-bnb-4bit" : (
|
||||
"unsloth/Llama-3.2-11B-Vision-Instruct",
|
||||
"meta-llama/Llama-3.2-11B-Vision-Instruct",
|
||||
),
|
||||
"unsloth/Llama-3.2-90B-Vision-Instruct-bnb-4bit" : (
|
||||
"unsloth/Llama-3.2-90B-Vision-Instruct",
|
||||
"meta-llama/Llama-3.2-90B-Vision-Instruct",
|
||||
),
|
||||
"unsloth/Llama-3.2-11B-Vision-bnb-4bit" : (
|
||||
"unsloth/Llama-3.2-11B-Vision",
|
||||
"meta-llama/Llama-3.2-11B-Vision",
|
||||
),
|
||||
"unsloth/Llama-3.2-90B-Vision-bnb-4bit" : (
|
||||
"unsloth/Llama-3.2-90B-Vision",
|
||||
"meta-llama/Llama-3.2-90B-Vision",
|
||||
),
|
||||
"unsloth/Pixtral-12B-2409-bnb-4bit" : (
|
||||
"unsloth/Pixtral-12B-2409",
|
||||
"mistralai/Pixtral-12B-2409",
|
||||
),
|
||||
"unsloth/Pixtral-12B-2409-Base-bnb-4bit" : (
|
||||
"unsloth/Pixtral-12B-Base-2409",
|
||||
"mistralai/Pixtral-12B-Base-2409",
|
||||
),
|
||||
}
|
||||
|
||||
INT_TO_FLOAT_MAPPER = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue