text-embedding
copied
Update
Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
@ -28,8 +28,8 @@ to generate a text embedding for the sentence "Hello, world.".
from towhee import dc
dc.stream(["Hello, world."])
.text_embedding.realm(model_name="google/realm-cc-news-pretrained-embedder")
dc.stream(["Hello, world."]) \
.text_embedding.realm(model_name="google/realm-cc-news-pretrained-embedder") \
.show()
```