Skip to content

Instantly share code, notes, and snippets.

@ruslanmv
Last active April 5, 2024 14:15
Show Gist options
  • Save ruslanmv/537f09f886bd0bd719d10d5d8016a63a to your computer and use it in GitHub Desktop.
Save ruslanmv/537f09f886bd0bd719d10d5d8016a63a to your computer and use it in GitHub Desktop.
Download Files from Jupyter Notebook
from IPython.display import FileLink
!tar -czvf lm-evaluation-harness.tar.gz lm-evaluation-harness
def create_download_link(filename):
return FileLink(filename)
download_link = create_download_link("lm-evaluation-harness.tar.gz")
display(download_link)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment