mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-04 12:42:51 +08:00
fix version
Former-commit-id: 47da742fc971520a697ed5ce611f8d6de61ab22b
This commit is contained in:
parent
cae66bce3d
commit
afa3c86391
@ -60,7 +60,7 @@ def load_model_and_tokenizer(
|
||||
|
||||
model = None
|
||||
if is_trainable and model_args.use_unsloth:
|
||||
require_version("unsloth==2023.12", "Follow the instructions at: https://github.com/unslothai/unsloth")
|
||||
require_version("unsloth", "Follow the instructions at: https://github.com/unslothai/unsloth")
|
||||
from unsloth import FastLlamaModel, FastMistralModel # type: ignore
|
||||
unsloth_kwargs = {
|
||||
"model_name": model_args.model_name_or_path,
|
||||
|
Loading…
x
Reference in New Issue
Block a user