add upcast_lmhead option
This commit is contained in:
1 parent
0ff9a1fb4f
commit
8cbe4e9609
2 files changed
+5
-1
No files matched your search
@@ -70,6 +70,10 @@ class ModelArguments:
|
||||
default=False,
|
||||
metadata={"help": "Whether or not to upcast the layernorm weights in fp32."}
|
||||
)
|
||||
upcast_lmhead_output: Optional[bool] = field(
|
||||
default=False,
|
||||
metadata={"help": "Whether or not to upcast the output of lm_head in fp32."}
|
||||
)
|
||||
hf_hub_token: Optional[str] = field(
|
||||
default=None,
|
||||
metadata={"help": "Auth token to log in with Hugging Face Hub."}
|
||||
|
||||
Reference in new issue
Block a user