Skip to content

Tokenizer for ernie-layoutx-base-uncased #5

@maxjeblick

Description

@maxjeblick

Thanks for the port of ernie layout to torch!

I have two question regarding ernie-layoutx-base-uncased conversion:

  • How can I obtain the corresponding tokenizer files (as e.g. given in Norm/ERNIE-Layout-Pytorch)?
  • Do you know if ErnieLayoutTokenizer can be replaced by a fast tokenizer? E.g. use xlnet tokenizer (that uses sentencepiece tokenizer, as well) instead. For my current pipeline, I need some attributes/methods that are currently not supported by ErnieLayoutTokenizer.

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