This notebook shows you how to use one of the thousands of open source AI models hosted on Hugging Face. Use these examples to quickly test the behavior of the different models and validate your ideas.
The easiest way to run the notebook is via Google Colab, but you can run it in any Jupyter Notebook environment or copy/paste the code into a Python 3.8+ terminal.
- Go to https://colab.research.google.com/drive/
- Select File / Upload notebook and choose
hugging_face_samples.ipynb
- Add a secret
HF_TOKEN
with your Hugging Face token - Select Runtime / Change runtime type / T4 GPU (required when running a model locally)