From 6337854add727c7386d7377975dadc067a246edb Mon Sep 17 00:00:00 2001 From: Aaron V Date: Wed, 12 Jun 2024 07:01:42 -0400 Subject: [PATCH] Update comment in modeling_utils.py (#31299) --- src/transformers/modeling_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/modeling_utils.py b/src/transformers/modeling_utils.py index 34324560ae35cf..263b24d81551a7 100755 --- a/src/transformers/modeling_utils.py +++ b/src/transformers/modeling_utils.py @@ -3570,7 +3570,7 @@ def from_pretrained( # We'll need to download and cache each checkpoint shard if the checkpoint is sharded. if is_sharded: - # rsolved_archive_file becomes a list of files that point to the different checkpoint shards in this case. + # resolved_archive_file becomes a list of files that point to the different checkpoint shards in this case. resolved_archive_file, sharded_metadata = get_checkpoint_shard_files( pretrained_model_name_or_path, resolved_archive_file,