Skip to content

Commit

Permalink
Create MMS_ASR_Inference_Colab.ipynb (#5151)
Browse files Browse the repository at this point in the history
* Create MMS_ASR_Inference_Colab.ipynb

Added tutorial in Google Colab IPYNB fashion with small modification. Credit to epk2112 https://github.com/epk2112/fairseq_meta_mms_Google_Colab_implementation

* Add readme & ipynb

* Add readme & ipynb

* change colab hyperlink

---------

Co-authored-by: Andros Tjandra <androstj@fb.com>
  • Loading branch information
androstj and androstj committed May 25, 2023
1 parent 25c20e6 commit 478787b
Show file tree
Hide file tree
Showing 2 changed files with 353 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/mms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ cd /path/to/fairseq-py/
python examples/mms/asr/infer/mms_infer.py --model "/path/to/asr/model" --lang lang_code \
--audio "/path/to/audio_1.wav" "/path/to/audio_2.wav" "/path/to/audio_3.wav"
```
We also provide an Ipython notebook example in inside `asr/tutorial` folder [ipynb](https://github.com/facebookresearch/fairseq/blob/androstj-patch-1/examples/mms/asr/tutorial/MMS_ASR_Inference_Colab.ipynb) or [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/facebookresearch/fairseq/blob/main/examples/mms/asr/tutorial/MMS_ASR_Inference_Colab.ipynb)


For more advance configuration and calculate CER/WER, you could prepare manifest folder by creating a folder with this format:
```
Expand Down

0 comments on commit 478787b

Please sign in to comment.