Skip to content

Package import issue for simple tokenizer #1

Description

@Seanyap90

Hi I tried to run your book. There are issues with

  • importing simple_tokenizer. No such module found when I run the import. When I last checked, the latest pytorch package has only tokenizer.py with the simple_tokenizer class
  • Hence in cell 7 where there is a line text = tokenize([image_text], dalle.text_seq_len).cuda().
    This line is not applicable is there is no such function as tokenize.

Any way forward with this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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