Shriti09 commited on
Commit
fa08907
·
verified ·
1 Parent(s): 025b757

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
8
 
9
  # Base model and adapter paths
10
  base_model_name = "microsoft/phi-2" # Pull from HF Hub directly
11
- adapter_path = "./phi2-qlora-adapter" # Your uploaded adapter folder in Space repo
12
 
13
  print("🔧 Loading base model...")
14
  base_model = AutoModelForCausalLM.from_pretrained(
 
8
 
9
  # Base model and adapter paths
10
  base_model_name = "microsoft/phi-2" # Pull from HF Hub directly
11
+ adapter_path = ".Shriti09/Microsoft-Phi-QLora" # Your uploaded adapter folder in Space repo
12
 
13
  print("🔧 Loading base model...")
14
  base_model = AutoModelForCausalLM.from_pretrained(