| | |
| | | # This is an example that demonstrates how to configure a model file. |
| | | # You can modify the configuration according to your own requirements. |
| | | |
| | | # to print the register_table: |
| | | # from funasr.register import tables |
| | | # tables.print() |
| | | |
| | | # network architecture |
| | | #model: funasr.models.paraformer.model:Paraformer |
| | | model: Paraformer |
| | | model_conf: |
| | | ctc_weight: 0.0 |
| | |
| | | accum_grad: 1 |
| | | grad_clip: 5 |
| | | max_epoch: 150 |
| | | val_scheduler_criterion: |
| | | - valid |
| | | - acc |
| | | best_model_criterion: |
| | | - - valid |
| | | - acc |
| | | - max |
| | | keep_nbest_models: 10 |
| | | avg_nbest_model: 5 |
| | | log_interval: 50 |
| | | |
| | | optim: adam |
| | |
| | | split_with_space: true |
| | | |
| | | |
| | | input_size: 560 |
| | | ctc_conf: |
| | | dropout_rate: 0.0 |
| | | ctc_type: builtin |