Skip to content

Commit 6e2cac8

Browse files
committed
Update README.md
1 parent d45864d commit 6e2cac8

File tree

1 file changed

+1
-1
lines changed
  • applications/information_extraction/document

1 file changed

+1
-1
lines changed

applications/information_extraction/document/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ from paddlenlp import Taskflow
256256
from paddlenlp.utils.doc_parser import DocParser
257257

258258
schema = ['开票日期', '名称', '纳税人识别号', '开户行及账号', '金额', '价税合计', 'No', '税率', '地址、电话', '税额']
259-
my_ie = Taskflow("information_extraction", schema=schema, task_path='./checkpoint/model_best', precison='fp16')
259+
my_ie = Taskflow("information_extraction", model="uie-x-base", schema=schema, task_path='./checkpoint/model_best', precison='fp16')
260260
```
261261

262262
我们可以根据设置的`schema`,对指定的`doc_path`文档进行信息抽取并进行可视化:

0 commit comments

Comments
 (0)