Update README.md
Browse files
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"
|
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 = [
|