Skip to content

Commit 89fc797

Browse files
committed
update comment
1 parent 0c62977 commit 89fc797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddlenlp/taskflow/information_extraction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ def __init__(self, task, model, schema=None, **kwargs):
403403
with open(config_file_path) as f:
404404
self._init_class = json.load(f)["architectures"].pop()
405405
else:
406-
# TODO: compatible with the model fine-tuned without PretrainedConfig
406+
# Compatible with the model fine-tuned without PretrainedConfig
407407
if os.path.exists(os.path.join(self._task_path, LEGACY_CONFIG_NAME)):
408408
if "config" in self.resource_files_names.keys():
409409
del self.resource_files_names["config"]

0 commit comments

Comments
 (0)