logo
Browse Source

Update README

Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
Jael Gu 3 years ago
parent
commit
58a339c119
  1. 8
      README.md

8
README.md

@ -27,12 +27,10 @@ to generate a text embedding for the sentence "Hello, world.".
*Write the pipeline*:
```python
from towhee import dc
import towhee
dc.stream(["Hello, world."]) \
.text_embedding.realm(model_name="google/realm-cc-news-pretrained-embedder") \
.to_list()
towhee.dc(["Hello, world."]) \
.text_embedding.realm(model_name="google/realm-cc-news-pretrained-embedder")
```
<br />

Loading…
Cancel
Save