Update README.md
Browse files
README.md
CHANGED
@@ -20,7 +20,7 @@ from llm2vec import LLM2Vec
|
|
20 |
|
21 |
def get_device() -> str:
|
22 |
if torch.backends.mps.is_available():
|
23 |
-
return "mps"
|
24 |
elif torch.cuda.is_available():
|
25 |
return "cuda"
|
26 |
else:
|
|
|
20 |
|
21 |
def get_device() -> str:
|
22 |
if torch.backends.mps.is_available():
|
23 |
+
return "mps"
|
24 |
elif torch.cuda.is_available():
|
25 |
return "cuda"
|
26 |
else:
|