Skip to content

Commit e802f5f

Browse files
committed
Make style
1 parent adbaa23 commit e802f5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/language-modeling/run_clm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ def main():
487487
# workaraund for https://github.com/huggingface/transformers/issues/36258
488488
# TODO: remove after fix is avalible in a release version of `transformers``
489489
if torch_dtype is None:
490-
torch_dtype = getattr(config, 'torch_dtype', None)
490+
torch_dtype = getattr(config, "torch_dtype", None)
491491

492492
model = AutoModelForCausalLM.from_pretrained(
493493
model_args.model_name_or_path,

0 commit comments

Comments
 (0)