Coool2 commited on
Commit
21aeb6b
·
verified ·
1 Parent(s): 589ecc5

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -97,7 +97,7 @@ code_llm = HuggingFaceLLM(
97
  generate_kwargs={"temperature": 0.0, "do_sample": False}
98
  )
99
 
100
- model = HuggingFaceEmbedding(
101
  model_name="llamaindex/vdr-2b-multi-v1",
102
  device="cpu", # "mps" for mac, "cuda" for nvidia GPUs
103
  trust_remote_code=True,
 
97
  generate_kwargs={"temperature": 0.0, "do_sample": False}
98
  )
99
 
100
+ embed_model = HuggingFaceEmbedding(
101
  model_name="llamaindex/vdr-2b-multi-v1",
102
  device="cpu", # "mps" for mac, "cuda" for nvidia GPUs
103
  trust_remote_code=True,