Installation

To use BMCook, first install BMTrain.

From PyPI (Recommend)

$ pip install bmtrain

From Source

$ git clone https://github.com/OpenBMB/BMTrain.git
$ cd BMTrain
$ python3 setup.py install

Please refer to the installation guide of BMTrain for more details.

Then, clone the repository from our github page (don’t forget to star us!)

$ git clone git@github.com:OpenBMB/BMCook.git

In the future, we will support installation from PyPI and provide a one-line model compression API.