PAIR-code / what-if-tool

Source code/webpage/demos for the What-If Tool
https://pair-code.github.io/what-if-tool
Apache License 2.0
907 stars 169 forks source link

How do I export "What-If-Tool" output? #204

Open tmbluth opened 2 years ago

tmbluth commented 2 years ago

I love what this tool allows and I'm wanting to extend its functionality to non-data scientists. Is there a way to send this to a manager or compliance team so that they could play around with it without having to execute code?

jameswex commented 2 years ago

If you run your instance of the tool inside a TensorBoard instead (as opposed to inside a jupyter or colab notebook) then you can send them to URL of your TensorBoard instance to use the What-If Tool.

Another option is to the use the LIT tool instead (https://pair-code.github.io/lit/) which can also be run as a server (just like TensorBoard) to share with other team members. LIT supports text, tabular, and image models and is more extensible than the What-If Tool. It's currently missing a few features that WIT has but that won't be the case eventually.

swaticolab commented 2 years ago

@jameswex , can you elaborate more on this? I am using colab for creating my Whatiftool notebook. Generated the report using "WitWidget". Now how do I export the report to users using LIT tool?

jameswex commented 2 years ago

LIT is a totally diffferent, newer tool with a different API and UI. But, any analysis you do in WIT you could do in LIT, and you could run LIT on some server and give the non-data scientists the URL to connect to to view and interact with the tool. Please see https://github.com/PAIR-code/lit/wiki for its documentation.