walidsobhie-code commited on
Commit
3c29912
·
1 Parent(s): 40b1cc9

Use local model instead of HF for faster loading

Browse files
Files changed (1) hide show
  1. chat.py +1 -1
chat.py CHANGED
@@ -9,7 +9,7 @@ SYSTEM_PROMPT = """You are Stack 2.9, an expert AI coding assistant.
9
  - Be concise and practical
10
  - If asked to search the internet, use the search: command"""
11
 
12
- MODEL_NAME = "my-ai-stack/stack-2-9-finetuned"
13
 
14
  print(f"Loading {MODEL_NAME} from HuggingFace...")
15
  model = AutoModelForCausalLM.from_pretrained(
 
9
  - Be concise and practical
10
  - If asked to search the internet, use the search: command"""
11
 
12
+ MODEL_NAME = "/Users/walidsobhi/stack-2-9-final-model"
13
 
14
  print(f"Loading {MODEL_NAME} from HuggingFace...")
15
  model = AutoModelForCausalLM.from_pretrained(