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

No model_path exist check for the XLMRMultiClass class #160

Open
sanchit-ahuja opened this issue Sep 12, 2022 · 0 comments
Open

No model_path exist check for the XLMRMultiClass class #160

sanchit-ahuja opened this issue Sep 12, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@sanchit-ahuja
Copy link
Contributor

Describe the bug

There's no model_dir exist check in the XLMRMultiClass class in Dialogy. It creates an instance of the class thereby resulting in the creation of a NoneType object.

To Reproduce
Steps to reproduce the behavior:

  1. Instantiate the class with a random model_path

Expected behavior
Creates a NoneType object

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS, Ubuntu, Arch]
  • Python version [e.g. 3.8, 3.9]

Additional context
Add any other context about the problem here.

@sanchit-ahuja sanchit-ahuja added the bug Something isn't working label Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant