Skip to content

prompt parameters cannot be used? #123

@Huangouzm

Description

@Huangouzm

On website: https://www.sbert.net/docs/sentence_transformer/pretrained_models.html, we can see the function "model.encode" use parameter "prompt". However, I didn't see that "prompt" parameter were mentioned in model card ("https://huggingface.co/hkunlp/instructor-large"). And I asked ChatGPT to describe the code for me, it said that the SentenceTransformer's function "encode" doesn't accept "prompt" parameter. Therefore, I wonder whether the website do update or not. Or models do not accept the "prompt" parameter any more. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions