Unofficial snowflake notebooks created by me
This is an unofficial repo. If you need the latest and greatest, check out the snowflake documentation or Snowflake Developers or Snowflake labs repo.
As of November 2024, I no longer work at Snowflake and will not be updating the notebooks
Basics of Snowflake ML using Diabetes Dataset
Basics of Snowflake ML with Forecasting Chicago Bus Ridership
-
Simple RAG Example using Cortex functions with Streamlit App
-
Evaluating RAG using Cortex by Generating Question / Answer Synthetic Pairs and a Model as Judge
-
Fine Tune Llama using Hugging Face TRL - Container Services Setup Notebook, dockerfile, and Training Notebook using TRL
-
Use Nemo GuardRails with Snowflake Cortex - based on this example, see folder
For connecting to snowflake, the notebooks use a creds.json file. You will want to create this JSON file with the following structure. My newer notebook also include code for using a private key (I typically use private key and 2 factor).
{
"account":"MY SNOWFLAKE ACCOUNT",
"user": "MY USER",
"password":"MY PASSWORD",
"warehouse":"MY WH",
}