Skip to content

"Exception: stream did not contain valid UTF-8" request solution #3

Description

@hsupeter

Hi Guys,
I run Ch3 KantaiBERT.ipynb instruction, tokenizer.train(files=paths, vocab_size=52_000, min_frequency=2, special_tokens=[ "", "", "", "", "",] ) in step 3: Training a Tokenizer, and get the error "Exception: stream did not contain valid UTF-8". I try to search solution in web, some people got the similar problem as well, but don't solve it. Can anyone tell me how to resolve it?
I skip this trouble cell and run following cells, they can execute normally. So, are correct the outcomes of following cells?
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