Google Colab
To install and run Unsloth on Google Colab, follow the steps below:
Last updated
To install and run Unsloth on Google Colab, follow the steps below:
Last updated
If you have never used a Colab notebook, a quick primer on the notebook itself:
Play Button at each "cell". Click on this to run that cell's code. You must not skip any cells and you must run every cell in chronological order. If you encounter errors, simply rerun the cell you did not run. Another option is to click CTRL + ENTER if you don't want to click the play button.
Runtime Button in the top toolbar. You can also use this button and hit "Run all" to run the entire notebook in 1 go. This will skip all the customization steps, but is a good first try.
Connect / Reconnect T4 button. T4 is the free GPU Google is providing. It's quite powerful!
The first installation cell looks like below: Remember to click the PLAY button in the brackets [ ]. We grab our open source Github package, and install some other packages.