NVIDIA / NeMo

A scalable generative AI framework built for researchers and developers working on Large Language Models, Multimodal, and Speech AI (Automatic Speech Recognition and Text-to-Speech)
https://docs.nvidia.com/nemo-framework/user-guide/latest/overview.html
Apache License 2.0
11.95k stars 2.48k forks source link

Which version of nemo to install in order to reduce dependencies? #4345

Closed dunky11 closed 2 years ago

dunky11 commented 2 years ago

I'm currently using nemo only for text normalization - I only import nemo_text_processing.text_normalization.normalize.Normalizer.

I install nemo toolkit using nemo-toolkit[all]==1.8.2. Is there any way to reduce the number of dependencies, for example by not installing [all]? I haven't found anything in the docs.

Thanks for any help in advance.

titu1994 commented 2 years ago

@yzhang123

yzhang123 commented 2 years ago

@dunky11 you can directly install nemo-toolkit[nemo_text_processing] (as in here https://github.com/NVIDIA/NeMo/blob/main/tutorials/text_processing/WFST_Tutorial.ipynb)

this is the most lean version, it does not support the optional feature --punct_post_process which requires nemo-toolkit[nlp] or audio based normalization with audio data which requires nemo-toolkit[asr]

I will add this to documentation! thanks!

dunky11 commented 2 years ago

Thanks, that clarified it!