Persian asr_xlsr_lm TFWav2Vec2ForCTC from manifoldix

Description

Pretrained Wav2vec2 pipeline, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.asr_xlsr_lm is a Persian model originally trained by manifoldix.

NOTE: This pipeline only works on a CPU, if you need to use this pipeline on a GPU device please use pipeline_asr_xlsr_lm_gpu

Download Copy S3 URI

How to use


    pipeline = PretrainedPipeline('pipeline_asr_xlsr_lm', lang = 'fa')
    annotations =  pipeline.transform(audioDF)
    

    val pipeline = new PretrainedPipeline("pipeline_asr_xlsr_lm", lang = "fa")
    val annotations = pipeline.transform(audioDF)
    

Model Information

Model Name: pipeline_asr_xlsr_lm
Type: pipeline
Compatibility: Spark NLP 4.2.0+
License: Open Source
Edition: Official
Language: fa
Size: 1.2 GB

Included Models

  • AudioAssembler
  • Wav2Vec2ForCTC