--- tags: - espnet - audio - self-supervised-learning language: en datasets: - librispeech license: cc-by-4.0 --- ## ESPnet2 SSL model ### `simpleoier/simpleoier_librispeech_hubert_iter1_train_ssl_torchaudiohubert_base_960h_pretrain_it1_raw` This model was trained by simpleoier using librispeech recipe in [espnet](https://github.com/espnet/espnet/). ### Demo: How to use in ESPnet2 Follow the [ESPnet installation instructions](https://espnet.github.io/espnet/installation.html) if you haven't done that already. ```bash cd espnet git checkout 753f40d61813436d4e76660904d02eaed7a6649e pip install -e . cd egs2/librispeech/ssl1 ./run.sh --skip_data_prep false --skip_train true --download_model simpleoier/simpleoier_librispeech_hubert_iter1_train_ssl_torchaudiohubert_base_960h_pretrain_it1_raw ``` ## SSL config
expand ``` config: conf/tuning/train_ssl_torchaudiohubert_base_960h_pretrain_it1.yaml print_config: false log_level: INFO dry_run: false iterator_type: sequence output_dir: exp/hubert_iter1_train_ssl_torchaudiohubert_base_960h_pretrain_it1_raw ngpu: 1 seed: 0 num_workers: 64 num_att_plot: 3 dist_backend: nccl dist_init_method: env:// dist_world_size: 8 dist_rank: 0 local_rank: 0 dist_master_addr: localhost dist_master_port: 49251 dist_launcher: null multiprocessing_distributed: true unused_parameters: true sharded_ddp: false cudnn_enabled: true cudnn_benchmark: false cudnn_deterministic: true collect_stats: false write_collected_feats: false max_epoch: 250 patience: null val_scheduler_criterion: - valid - loss early_stopping_criterion: - valid - loss - min best_model_criterion: - - valid - loss - min keep_nbest_models: 10 nbest_averaging_interval: 0 grad_clip: 5.0 grad_clip_type: 2.0 grad_noise: false accum_grad: 2 no_forward_run: false resume: true train_dtype: float32 use_amp: true log_interval: null use_matplotlib: true use_tensorboard: true create_graph_in_tensorboard: false use_wandb: false wandb_project: null wandb_id: null wandb_entity: null wandb_name: null wandb_model_log_interval: -1 detect_anomaly: false pretrain_path: null init_param: [] ignore_init_mismatch: false freeze_param: [] num_iters_per_epoch: null batch_size: 20 valid_batch_size: null batch_bins: 45000000 valid_batch_bins: null train_shape_file: - exp/hubert_iter1_stats_raw/train/speech_shape - exp/hubert_iter1_stats_raw/train/text_shape.word valid_shape_file: - exp/hubert_iter1_stats_raw/valid/speech_shape - exp/hubert_iter1_stats_raw/valid/text_shape.word batch_type: numel valid_batch_type: null fold_length: - 80000 - 400 sort_in_batch: descending sort_batch: descending multiple_iterator: false chunk_length: 500 chunk_shift_ratio: 0.5 num_cache_chunks: 1024 train_data_path_and_name_and_type: - - dump/raw/train_960/wav.scp - speech - sound - - dump/raw/train_960/text.km.kmeans_iter1_hubert_train_960_portion0.1 - text - text valid_data_path_and_name_and_type: - - dump/raw/dev/wav.scp - speech - sound - - dump/raw/dev/text.km.kmeans_iter1_hubert_train_960_portion0.1 - text - text allow_variable_data_keys: false max_cache_size: 0.0 max_cache_fd: 32 valid_max_cache_size: null optim: adam optim_conf: lr: 0.0005 scheduler: warmuplr scheduler_conf: warmup_steps: 32000 token_list: - '386' - '160' - '89' - '3' - '448' - '431' - '319' - '247' - '256' - '23' - '267' - '274' - '479' - '227' - '197' - '74' - '362' - '159' - '190' - '275' - '241' - '147' - '242' - '105' - '7' - '320' - '311' - '327' - '130' - '485' - '427' - '22' - '493' - '254' - '451' - '399' - '342' - '443' - '38' - '33' - '53' - '238' - '86' - '61' - '263' - '218' - '316' - '350' - '96' - '492' - '341' - '496' - '325' - '462' - '24' - '328' - '133' - '407' - '41' - '304' - '373' - '167' - '352' - '456' - '149' - '279' - '84' - '217' - '494' - '139' - '381' - '416' - '305' - '446' - '337' - '228' - '35' - '372' - '55' - '237' - '66' - '13' - '188' - '291' - '43' - '132' - '232' - '144' - '497' - '318' - '0' - '31' - '49' - '400' - '10' - '406' - '398' - '154' - '300' - '226' - '93' - '348' - '82' - '2' - '423' - '113' - '395' - '92' - '394' - '293' - '62' - '137' - '476' - '216' - '432' - '155' - '29' - '369' - '64' - '163' - '389' - '278' - '25' - '164' - '310' - '213' - '126' - '331' - '414' - '11' - '404' - '185' - '365' - '484' - '409' - '17' - '193' - '178' - '273' - '37' - '390' - '128' - '170' - '203' - '298' - '229' - '383' - '67' - '27' - '118' - '72' - '142' - '73' - '65' - '231' - '104' - '124' - '428' - '345' - '230' - '287' - '175' - '294' - '184' - '97' - '48' - '457' - '288' - '204' - '379' - '107' - '200' - '99' - '269' - '442' - '353' - '129' - '445' - '51' - '360' - '80' - '83' - '201' - '223' - '312' - '69' - '30' - '202' - '70' - '286' - '236' - '50' - '123' - '88' - '205' - '151' - '127' - '186' - '367' - '299' - '313' - '220' - '206' - '297' - '422' - '71' - '44' - '281' - '91' - '57' - '408' - '112' - '26' - '145' - '16' - '75' - '235' - '183' - '222' - '171' - '121' - '250' - '472' - '195' - '94' - '357' - '393' - '380' - '370' - '363' - '103' - '396' - '468' - '346' - '40' - '180' - '42' - '351' - '450' - '477' - '239' - '143' - '361' - '314' - '392' - '161' - '473' - '198' - '194' - '371' - '433' - '56' - '444' - '138' - '157' - '245' - '140' - '165' - '412' - '354' - '9' - '333' - '85' - '176' - '323' - '301' - '215' - '264' - '434' - '489' - '355' - '488' - '382' - '177' - '268' - '290' - '114' - '266' - '334' - '356' - '90' - '244' - '259' - '368' - '6' - '303' - '478' - '199' - '376' - '480' - '401' - '1' - '168' - '453' - '19' - '54' - '221' - '100' - '4' - '495' - '77' - '240' - '45' - '481' - '224' - '20' - '120' - '58' - '162' - '12' - '109' - '491' - '115' - '397' - '340' - '196' - '68' - '34' - '415' - '429' - '421' - '475' - '335' - '338' - '172' - '39' - '258' - '330' - '246' - '425' - '296' - '125' - '60' - '52' - '271' - '173' - '469' - '289' - '439' - '207' - '487' - '272' - '332' - '284' - '308' - '388' - '95' - '248' - '101' - '36' - '14' - '315' - '262' - '146' - '343' - '79' - '426' - '21' - '253' - '63' - '292' - '81' - '385' - '309' - '366' - '116' - '131' - '87' - '449' - '283' - '214' - '474' - '329' - '471' - '225' - '108' - '136' - '148' - '306' - '150' - '378' - '460' - '307' - '141' - '98' - '436' - '402' - '192' - '8' - '483' - '440' - '47' - '466' - '486' - '5' - '257' - '447' - '377' - '111' - '251' - '490' - '265' - '438' - '158' - '384' - '135' - '102' - '276' - '211' - '219' - '187' - '347' - '32' - '182' - '169' - '410' - '455' - '461' - '482' - '374' - '463' - '452' - '59' - '152' - '174' - '418' - '166' - '470' - '459' - '153' - '179' - '498' - '430' - '419' - '467' - '208' - '326' - '210' - '270' - '243' - '255' - '233' - '261' - '336' - '282' - '234' - '464' - '181' - '156' - '359' - '454' - '420' - '28' - '249' - '106' - '302' - '191' - '209' - '46' - '117' - '403' - '280' - '324' - '458' - '134' - '122' - '212' - '18' - '437' - '78' - '375' - '252' - '405' - '295' - '435' - '317' - '260' - '364' - '322' - '15' - '339' - '413' - '465' - '285' - '189' - '417' - '344' - '110' - '119' - '277' - '499' - '358' - '411' - '387' - '349' - '424' - '391' - '76' - '441' - '321' - - init: null collate_fn_conf: label_downsampling: 1 pad: false rand_crop: true input_size: 1 num_classes: 500 use_preprocessor: true token_type: word bpemodel: null non_linguistic_symbols: null cleaner: null g2p: null speech_volume_normalize: null rir_scp: null rir_apply_prob: 1.0 noise_scp: null noise_apply_prob: 1.0 noise_db_range: '13_15' pred_masked_weight: 1.0 pred_nomask_weight: 0.0 loss_weights: 0.0 frontend: null frontend_conf: {} specaug: null specaug_conf: {} normalize: null normalize_conf: {} preencoder: null preencoder_conf: {} encoder: torchaudio_hubert encoder_conf: encoder_projection_dropout: 0.1 encoder_attention_dropout: 0.1 encoder_ff_interm_dropout: 0.0 encoder_dropout: 0.1 encoder_layer_drop: 0.05 model: torchaudio model_conf: {} required: - output_dir - token_list version: '202209' distributed: true ```
### Citing ESPnet ```BibTex @inproceedings{watanabe2018espnet, author={Shinji Watanabe and Takaaki Hori and Shigeki Karita and Tomoki Hayashi and Jiro Nishitoba and Yuya Unno and Nelson Yalta and Jahn Heymann and Matthew Wiesner and Nanxin Chen and Adithya Renduchintala and Tsubasa Ochiai}, title={{ESPnet}: End-to-End Speech Processing Toolkit}, year={2018}, booktitle={Proceedings of Interspeech}, pages={2207--2211}, doi={10.21437/Interspeech.2018-1456}, url={http://dx.doi.org/10.21437/Interspeech.2018-1456} } ``` or arXiv: ```bibtex @misc{watanabe2018espnet, title={ESPnet: End-to-End Speech Processing Toolkit}, author={Shinji Watanabe and Takaaki Hori and Shigeki Karita and Tomoki Hayashi and Jiro Nishitoba and Yuya Unno and Nelson Yalta and Jahn Heymann and Matthew Wiesner and Nanxin Chen and Adithya Renduchintala and Tsubasa Ochiai}, year={2018}, eprint={1804.00015}, archivePrefix={arXiv}, primaryClass={cs.CL} } ```