Skip to content

Deeppavlov fixes#1481

Open
dimakarp1996 wants to merge 11 commits intodevfrom
fixes/tqdm_floatsep
Open

Deeppavlov fixes#1481
dimakarp1996 wants to merge 11 commits intodevfrom
fixes/tqdm_floatsep

Conversation

@dimakarp1996
Copy link
Copy Markdown
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
Comment thread deeppavlov/core/data/utils.py Outdated

"""
if isinstance(batch, str):
if isinstance(batch, str) or isinstance(batch, str) or isinstance(batch, int) or isinstance(batch, float):
Copy link
Copy Markdown
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.

3 participants