Spaces:
Configuration error
Configuration error
oremaz
commited on
Commit
·
66b4076
1
Parent(s):
04c81d5
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -97,7 +97,7 @@ code_llm = HuggingFaceLLM(
|
|
| 97 |
generate_kwargs={"temperature": 0.0, "do_sample": False}
|
| 98 |
)
|
| 99 |
|
| 100 |
-
|
| 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,
|