Update loader.py
This commit is contained in:
parent
d41e5578e1
commit
186a2f6ee6
1 changed files with 4 additions and 4 deletions
|
|
@ -108,8 +108,8 @@ class FastLanguageModel(FastLlamaModel):
|
|||
use_gradient_checkpointing = use_gradient_checkpointing,
|
||||
resize_model_vocab = resize_model_vocab, # [TODO] No effect
|
||||
revision = revision,
|
||||
return_logits = return_logits, # Return logits
|
||||
fullgraph = fullgraph, # No graph breaks
|
||||
return_logits = False, # Return logits
|
||||
fullgraph = True, # No graph breaks
|
||||
use_exact_model_name = use_exact_model_name,
|
||||
*args, **kwargs,
|
||||
)
|
||||
|
|
@ -306,8 +306,8 @@ class FastLanguageModel(FastLlamaModel):
|
|||
use_gradient_checkpointing = use_gradient_checkpointing,
|
||||
resize_model_vocab = resize_model_vocab, # [TODO] No effect
|
||||
revision = revision,
|
||||
return_logits = return_logits, # Return logits
|
||||
fullgraph = fullgraph, # No graph breaks
|
||||
return_logits = False, # Return logits
|
||||
fullgraph = True, # No graph breaks
|
||||
use_exact_model_name = use_exact_model_name,
|
||||
*args, **kwargs,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue