diff --git a/README.md b/README.md index 2cbf9b6..0ed6f12 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ import towhee ( towhee.dc['text'](['find max value', 'def max(a,b): if a>b: return a else return b']) - .code_search.codebert['text', 'embedding'](model_name='huggingface/CodeBERTa-small-v1') + .code_search.codebert['text', 'embedding']() .show() ) ```