-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add EU law example to dashboard #867
Conversation
@laurasootes, the dashboard tests are failing. |
@elboyran the dashboard tests pass again :) |
Unfortunately, I cannot make it run on my machine. I installed missing packages and still cannot find the trained model, despite me putting it there explicitly :-( I hope @cwmeijer will be able to review it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect! Thanks!
It worked for me. I ran: pip install -e .[dashboard,dev,text]
dianna-dashboard |
This PR adds the example from the EU law text classification notebook to the dashboard. The example is only available for LIME (as in the notebook). In the dashboard, the user can select one of the 5 example sentences that are also in the notebook.
Following the notebook, I added the functions that are specific to this example to the models utils. Adding this example also required two additional imports for the dashboard installation
Additionally, I added “number of samples” as an adjustable LIME parameter in the dashboard, as it is required by
Two comments on this example: