rllm.utils.download_google_url

class rllm.utils.download_google_url(id: str, folder: str, filename: str)[source]

Bases:

Download the content of a Google Drive file to a specific folder.

Parameters:
  • id (str) – The Google Drive file ID.

  • folder (str) – The destination folder.

  • filename (str) – The filename of the downloaded file.

Returns:

The local path to the downloaded file.

Return type:

str