Skip to content

Conversation

@dimakarp1996
Copy link
Contributor

@dimakarp1996 dimakarp1996 commented Aug 25, 2021

  1. Added tqdm in trainer
  2. Added handling separate-class labels as float labels if specified
  3. Addled handling quotes while reading dataset if specified

@dimakarp1996 dimakarp1996 changed the title WIP Deeppavlov fixes Deeppavlov fixes Aug 25, 2021
@IgnatovFedor IgnatovFedor changed the base branch from master to dev February 15, 2022 14:32
"""
if isinstance(batch, str):
if isinstance(batch, str) or isinstance(batch, str) or isinstance(batch, int) or isinstance(batch, float):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Twice str is mentioned.
Consider replacing isinstance with type.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants