fix conf and readme

pull/752/head
Hui Zhang 3 years ago
parent 25c07e3f3d
commit 4c0ee8d354

@ -0,0 +1,15 @@
unset GREP_OPTIONS
# https://zhuanlan.zhihu.com/p/33050965
alias nvs='nvidia-smi'
alias his='history'
alias jobs='jobs -l'
alias ports='netstat -tulanp'
alias wget='wget -c'
## Colorize the grep command output for ease of use (good for log files)##
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'

1
.gitignore vendored

@ -10,6 +10,7 @@
.ipynb_checkpoints .ipynb_checkpoints
*.npz *.npz
*.done *.done
*.whl
tools/venv tools/venv
tools/kenlm tools/kenlm

@ -16,7 +16,7 @@
## Setup ## Setup
* python>=3.7 * python>=3.7
* paddlepaddle>=2.1.0 * paddlepaddle>=2.1.2
Please see [install](doc/src/install.md). Please see [install](doc/src/install.md).

@ -17,7 +17,7 @@
## 安装 ## 安装
* python>=3.7 * python>=3.7
* paddlepaddle>=2.1.0 * paddlepaddle>=2.1.2
参看 [安装](doc/src/install.md)。 参看 [安装](doc/src/install.md)。

@ -32,7 +32,7 @@ collator:
keep_transcription_text: False keep_transcription_text: False
sortagrad: True sortagrad: True
shuffle_method: batch_shuffle shuffle_method: batch_shuffle
num_workers: 0 num_workers: 2
model: model:
num_conv_layers: 2 num_conv_layers: 2

@ -32,7 +32,7 @@ collator:
keep_transcription_text: False keep_transcription_text: False
sortagrad: True sortagrad: True
shuffle_method: batch_shuffle shuffle_method: batch_shuffle
num_workers: 0 num_workers: 2
model: model:
num_conv_layers: 2 num_conv_layers: 2

@ -16,7 +16,7 @@ collator:
spm_model_prefix: 'data/bpe_unigram_5000' spm_model_prefix: 'data/bpe_unigram_5000'
mean_std_filepath: "" mean_std_filepath: ""
augmentation_config: conf/augmentation.json augmentation_config: conf/augmentation.json
batch_size: 16 batch_size: 32
raw_wav: True # use raw_wav or kaldi feature raw_wav: True # use raw_wav or kaldi feature
specgram_type: fbank #linear, mfcc, fbank specgram_type: fbank #linear, mfcc, fbank
feat_dim: 80 feat_dim: 80
@ -78,7 +78,7 @@ model:
training: training:
n_epoch: 120 n_epoch: 120
accum_grad: 8 accum_grad: 4
global_grad_clip: 3.0 global_grad_clip: 3.0
optim: adam optim: adam
optim_conf: optim_conf:

@ -16,7 +16,7 @@ collator:
spm_model_prefix: 'data/bpe_unigram_5000' spm_model_prefix: 'data/bpe_unigram_5000'
mean_std_filepath: "" mean_std_filepath: ""
augmentation_config: conf/augmentation.json augmentation_config: conf/augmentation.json
batch_size: 32 batch_size: 64
raw_wav: True # use raw_wav or kaldi feature raw_wav: True # use raw_wav or kaldi feature
specgram_type: fbank #linear, mfcc, fbank specgram_type: fbank #linear, mfcc, fbank
feat_dim: 80 feat_dim: 80
@ -73,7 +73,7 @@ model:
training: training:
n_epoch: 120 n_epoch: 120
accum_grad: 4 accum_grad: 2
global_grad_clip: 5.0 global_grad_clip: 5.0
optim: adam optim: adam
optim_conf: optim_conf:

@ -32,7 +32,7 @@ collator:
keep_transcription_text: False keep_transcription_text: False
sortagrad: True sortagrad: True
shuffle_method: batch_shuffle shuffle_method: batch_shuffle
num_workers: 0 num_workers: 2
batch_size: 4 batch_size: 4
model: model:

@ -14,7 +14,7 @@ collator:
mean_std_filepath: "" mean_std_filepath: ""
vocab_filepath: data/vocab.txt vocab_filepath: data/vocab.txt
unit_type: 'spm' unit_type: 'spm'
spm_model_prefix: 'data/bpe_unigram_202' spm_model_prefix: 'data/bpe_unigram_200'
augmentation_config: conf/augmentation.json augmentation_config: conf/augmentation.json
batch_size: 4 batch_size: 4
raw_wav: True # use raw_wav or kaldi feature raw_wav: True # use raw_wav or kaldi feature

Loading…
Cancel
Save