Skip to content

[Bug] fix an issue in Load and run an AutoModel. #201

@jedLahrim

Description

@jedLahrim
Screenshot 2023-07-19 at 23 22 22 bu the way there is an issue here exactly in this line:

let decoded = await tokenizer.decode (outputs[0][0], { skip special tokens: true z);
you enter the object index 0 in the outputs array and you reenter the object index 0 in the previous object that throws an issue until you change it like that:
let decoded = await tokenizer.decode (outputs[0], { skip special tokens: true z);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions