cheesyFishes
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -50,7 +50,7 @@ from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
|
50 |
|
51 |
model = HuggingFaceEmbedding(
|
52 |
model_name="llamaindex/vdr-2b-v1",
|
53 |
-
device="mps",
|
54 |
trust_remote_code=True,
|
55 |
)
|
56 |
|
|
|
50 |
|
51 |
model = HuggingFaceEmbedding(
|
52 |
model_name="llamaindex/vdr-2b-v1",
|
53 |
+
device="cpu", # "mps" for mac, "cuda" for nvidia GPUs
|
54 |
trust_remote_code=True,
|
55 |
)
|
56 |
|