Skip to content

Commit df48dea

Browse files
authored
fix typos (#1609)
1 parent 2986c93 commit df48dea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

paddlenlp/taskflow/knowledge_mining.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class WordTagTask(Task):
157157
"""
158158

159159
resource_files_names = {
160-
"model_state": "model_state.pdparms",
160+
"model_state": "model_state.pdparams",
161161
"model_config": "model_config.json",
162162
"termtree_schema": "termtree_type.csv",
163163
"termtree_data": "termtree_data",

paddlenlp/taskflow/named_entity_recognition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class NERTask(WordTagTask):
5555
"""
5656

5757
resource_files_names = {
58-
"model_state": "model_state.pdparms",
58+
"model_state": "model_state.pdparams",
5959
"model_config": "model_config.json",
6060
"tags": "tags.txt",
6161
}

0 commit comments

Comments
 (0)