mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2026-01-02 12:10:34 +08:00
@@ -101,7 +101,7 @@ def patch_model(
|
|||||||
if model_args.resize_vocab:
|
if model_args.resize_vocab:
|
||||||
resize_embedding_layer(model, tokenizer)
|
resize_embedding_layer(model, tokenizer)
|
||||||
|
|
||||||
if model_args.visual_inputs and model_args.autocast_projector:
|
if model_args.visual_inputs:
|
||||||
autocast_projector_dtype(model, model_args)
|
autocast_projector_dtype(model, model_args)
|
||||||
|
|
||||||
if is_trainable:
|
if is_trainable:
|
||||||
|
|||||||
Reference in New Issue
Block a user