Add image embedding task and test case
This commit is contained in:
@@ -67,7 +67,6 @@ def test_st():
|
|||||||
]
|
]
|
||||||
|
|
||||||
# Compute embeddings
|
# Compute embeddings
|
||||||
|
|
||||||
#embeddings = model.encode(sentences, convert_to_tensor=True)
|
#embeddings = model.encode(sentences, convert_to_tensor=True)
|
||||||
embeddings = model.encode(sentences)
|
embeddings = model.encode(sentences)
|
||||||
print("embeddings as follows: ")
|
print("embeddings as follows: ")
|
||||||
|
|||||||
Reference in New Issue
Block a user