Skip to content

Commit 12146d7

Browse files
committed
Improved example [skip ci]
1 parent 1443c3c commit 12146d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/sentence_transformers/example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
conn.execute('DROP TABLE IF EXISTS documents')
1111
conn.execute('CREATE TABLE documents (id bigserial PRIMARY KEY, content text, embedding vector(384))')
1212

13-
model = SentenceTransformer('all-MiniLM-L6-v2')
13+
model = SentenceTransformer('multi-qa-MiniLM-L6-cos-v1')
1414

1515
input = [
1616
'The dog is barking',

0 commit comments

Comments
 (0)