From 0551e9c13226f133b6e2a127a70fa5384184d063 Mon Sep 17 00:00:00 2001 From: Yogesh Sharma Date: Tue, 27 May 2025 11:44:51 +0530 Subject: [PATCH] add functionality to be able to use gated models using hf token. --- tuned_lens/scripts/ingredients.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tuned_lens/scripts/ingredients.py b/tuned_lens/scripts/ingredients.py index 3adcfcc..e60495a 100644 --- a/tuned_lens/scripts/ingredients.py +++ b/tuned_lens/scripts/ingredients.py @@ -39,6 +39,8 @@ handle_name_conflicts, send_to_device, ) +from dotenv import load_dotenv +load_dotenv() logger = logging.getLogger(__name__)