NVIDIA / NeMo
- среда, 18 сентября 2019 г. в 00:21:22
Python
Neural Modules: a toolkit for conversational AI
Neural Modules (NeMo) is a framework-agnostic toolkit for building AI applications powered by Neural Modules. Current support is for PyTorch framework.
A "Neural Module" is a block of code that computes a set of outputs from a set of inputs.
Neural Modules’ inputs and outputs have Neural Type for semantic checking.
An application built with NeMo application is a Directed Acyclic Graph(DAG) of connected modules enabling researchers to define and build new speech and nlp networks easily through API Compatible modules.
Introduction
See this video for a walk-through.
Core Concepts and Features
Requirements
Documentation NeMo documentation
Getting started
If desired, you can start with NGC PyTorch container which already includes requirements above.
docker pull nvcr.io/nvidia/pytorch:19.08-py3nvidia-docker run -it --rm -v <nemo_github_folder>:/NeMo --shm-size=1g --ulimit memlock=-1 --ulimit stack=67108864 nvcr.io/nvidia/pytorch:19.08-py3and then continue with the following steps:
python setup.py installapt-get install libsndfile1python setup.py installpython setup.py installpython setup.py develop instead of python setup.py install in Step (3.2) aboveTutorials
Unittests
This command runs unittests:
./reinstall.sh
python -m unittest tests/*.py