Skip to content

tokenizer = T5Tokenizer.from_pretrained("t5-base"). Type of tokenizer object is NoneType #19

Description

@sreeramk28

When running the main function in CoLab, got the following error
AttributeError: 'NoneType' object has no attribute 'batch_encode_plus'
When I tried this,
tokenizer = T5Tokenizer.from_pretrained("t5-base")
print(type(tokenizer))

got,
<class 'NoneType'>

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions