ssmits commited on
Commit
0f958e1
1 Parent(s): f459b34

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -28,7 +28,7 @@ from sentence_transformers import SentenceTransformer
28
  import torch
29
 
30
  # 1. Load a pretrained Sentence Transformer model
31
- model = SentenceTransformer("ssmits/Qwen2-7B-embed-base", device = "cpu")
32
 
33
  # The sentences to encode
34
  sentences = [
 
28
  import torch
29
 
30
  # 1. Load a pretrained Sentence Transformer model
31
+ model = SentenceTransformer("ssmits/Qwen2-7B-embed-base") # device = "cpu" when <= 24 GB VRAM
32
 
33
  # The sentences to encode
34
  sentences = [