Tera icon indicating copy to clipboard operation
Tera copied to clipboard

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

Open WENPIN1 opened this issue 10 months ago • 0 comments

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

WENPIN1 avatar Feb 21 '25 07:02 WENPIN1