logo
Browse Source

Update README

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

8
README.md

@ -20,12 +20,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.transformers(model_name="distilbert-base-cased") \
.to_list()
towhee.dc(["Hello, world."]) \
.text_embedding.transformers(model_name="distilbert-base-cased")
```
<br />

Loading…
Cancel
Save