Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in train.py #10

Open
albertovilla opened this issue Jun 8, 2021 · 0 comments
Open

Error in train.py #10

albertovilla opened this issue Jun 8, 2021 · 0 comments

Comments

@albertovilla
Copy link

Hi, I think there is a bug in the train.py file, just when the main function starts the variable punctuation_enc is defined twice as you can see below. The second definition needs to be commented out in order to use train the model with LREC dataset.

   punctuation_enc = {
        'O': 0,
        'COMMA': 1,
        'PERIOD': 2,
        'QUESTION': 3
    }

    punctuation_enc = {
        'O': 0,
        'PERIOD': 1,
    }
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

No branches or pull requests

1 participant