Modelbit Clone
Your Modelbit workspace is backed by a git repository that supports large binary files like .pkl
and .joblib
.
Supporting those large binary files requires some extra configuration in your local clone
of the repository. The Modelbit
Python package takes care of cloning your local repository and configuring it for those large files.
If you haven't already, install Modelbit:
pip install modelbit
Then clone your Modelbit workspace's repository:
modelbit clone [target directory]
The clone
command will display a link for you to click, just like when using modelbit.login()
in a notebook. Click the link to authenticate with Modelbit.
If you have configured GitHub or Gitlab as your git remote, the clone
command will ask you to choose between GitHub/Gitlab and Modelbit's git host. Both will work equally well. We recommend choosing Modelbit's git host if you've already uploaded an SSH key to Modelbit.
From here on you can use all the standard git commands like git push
and git pull
.
Empty Binary Files
If you use git clone
instead of modelbit clone
to create a local repository, you'll see "stubs" in place of the .pkl
and other binary files stored in git.
Re-clone the repository with modelbit clone
to correct this situation.