diff --git a/README.md b/README.md index bbff324..9e45edf 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,6 @@ to generate an embedding for the sentence "Hello, world.". *Write a same pipeline with explicit inputs/outputs name specifications:* -- **option 1 (towhee>=0.9.0):** ```python from towhee.dc2 import pipe, ops, DataCollection @@ -35,19 +34,6 @@ DataCollection(p('Hello, world.')).show() -- **option 2:** - -```python -import towhee - -( - towhee.dc['text'](['Hello, world.']) - .sentence_embedding.transformers['text', 'vec']( - model_name='sentence-transformers/paraphrase-albert-small-v2') - .show() -) -``` -
## Factory Constructor