Skip to main content

pb.adapters.download

pb.adapters.download

Download the adapter weights of an existing adapter

Parameters:

   adapter_id: str
String containing the repo name followed by the version number

   dest: os.PathLike, default None
Path to download the adapter weights

Returns:

   None

Example:

pb.adapters.download("news-summarizer-model/1")

#pb.adapters.download("news-summarizer-model/1", dest="/path/to/folder")