You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PaddleSpeech/examples/iwslt2012/punc0
Zhao Yuting 9473b8468c
Create preprocess.py
2 years ago
..
conf Update default.yaml 2 years ago
local Create preprocess.py 2 years ago
README.md Update RESULTS.md. test=doc 3 years ago
RESULTS.md Update RESULTS.md. test=doc 3 years ago
path.sh refactor punc 3 years ago
run.sh update 3 years ago

README.md

Punctuation Restoration with IWLST2012-Zh

Get Started

Data Preprocessing

./run.sh --stage 0 --stop-stage 0

Model Training

./run.sh --stage 1 --stop-stage 1

Testing

./run.sh --stage 2 --stop-stage 2

Punctuation Restoration

./run.sh --stage 3 --stop-stage 3

Pretrained Model

The pretrained model can be downloaded here ernie_linear_p3_iwslt2012_zh_ckpt_0.1.1.zip.

Test Result

  • Ernie
    COMMA PERIOD QUESTION OVERALL
    Precision 0.510955 0.526462 0.820755 0.619391
    Recall 0.517433 0.564179 0.861386 0.647666
    F1 0.514173 0.544669 0.840580 0.633141