Skip to content

compile failed on src/embeddings.rs:72 .. this method takes 3 arguments #3

@WENPIN1

Description

@WENPIN1

Dear,

I compiled this crate with 'cargo b -r' but following error occurred.

error[E0061]: this method takes 3 arguments but 2 arguments were supplied
--> src/embeddings.rs:72:10
|
72 | .forward(&token_ids, &token_type_ids)
| ^^^^^^^----------------------------- argument #3 of type std::option::Option<&candle_core::Tensor> is missing

Image

Thank you very much!

-WENPIN

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions