On this page
☰
安装 NeMo (mac)
Note: 需要 python 3.10 以上,否则部分代码会报错
# [optional] install mecab using Homebrew, to use sacrebleu for NLP collection
# you can install Homebrew here: https://brew.sh
brew install mecab
# [optional] install pynini using Conda, to use text normalization
conda install -c conda-forge pynini
# install Cython manually
pip install cython
# clone the repo and install in development mode
git clone https://github.com/NVIDIA/NeMo
cd NeMo
./reinstall.sh
pip install opencc-python-reimplemented==0.1.4
安装 Llama index
pip install llama-index
pip install accelerate
pip install -i https://test.pypi.org/simple/ bitsandbytes
pip install pypdf