From a994e5dc9cb9bfda29cbce5b05f26e21e8b552c2 Mon Sep 17 00:00:00 2001 From: Jael Gu Date: Wed, 1 Feb 2023 10:48:02 +0800 Subject: [PATCH] Update README Signed-off-by: Jael Gu --- README.md | 14 -------------- 1 file changed, 14 deletions(-) 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