Machlovi commited on
Commit
b2d76ae
·
verified ·
1 Parent(s): a40b704

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -5,7 +5,7 @@ from peft import AutoPeftModelForCausalLM
5
  from unsloth import FastLanguageModel # FastVisionModel for LLMs
6
 
7
  MODEL_NAME = "unsloth/Phi-4-unsloth-bnb-4bit" # Base model name (e.g., mistralai/Mistral-7B)
8
- LORA_ADAPTER = "Machlovi/Safe_Phi4" # Your LoRA fine-tuned adapter
9
 
10
  def load_model():
11
  """Loads the base model and LoRA adapter using Unsloth."""
 
5
  from unsloth import FastLanguageModel # FastVisionModel for LLMs
6
 
7
  MODEL_NAME = "unsloth/Phi-4-unsloth-bnb-4bit" # Base model name (e.g., mistralai/Mistral-7B)
8
+ model_id = "Machlovi/Safe_Phi4" # Your LoRA fine-tuned adapter
9
 
10
  def load_model():
11
  """Loads the base model and LoRA adapter using Unsloth."""