Model download function

celltypist.models.download_models(force_update: bool = False, model: str | list | tuple | None = None) None[source]

Download all the available or selected models.

Parameters:
  • force_update – Whether to fetch a latest JSON index for downloading all available or selected models. Set to True if you want to parallel the latest celltypist model releases. (Default: False)

  • model – Specific model(s) to download. By default, all available models are downloaded. Set to a specific model name or a list of model names to only download a subset of models. For example, set to [“ModelA.pkl”, “ModelB.pkl”] to only download ModelA and ModelB. To check all available models, use models_description().