cheesyFishes commited on
Commit
601588d
·
verified ·
1 Parent(s): cfef054

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
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