James Wexler
James Wexler
The model and dataset code shouldn't change for notebooks. It's just that you create a LitWidget with the model and datasets, instead of a Server. Then you call render on...
For jupyter (not colab) notebooks, restart your jupyter kernel and try a notebook with just Facets Overview by itself. I believe this may be an issue with displaying both widgets...
The workaround is to display one, or both, inside an iframe so they don't interfere with each other. Note this issue doesn't happen in colab notebooks because colab already wraps...
Would it be reasonable to just have an npm package that contains the pre-compiled facets html file from the facets-dist directory? That html file contains the compiled polymer elements along...
The update from Polymer 1 to Polymer 2 didn't make using Facets Dive as a library any easier than it was before, unfortunately. It was just minimal updates to move...
You can load the webcomponents polyfill and then import facets and use it, as our facets.dev webpage does. The code for this webpage can be found here: https://github.com/PAIR-code/facets/blob/gh-pages/index.html See specifically...
Assuming you are working in a jupyter notebook, currently the best way to do that might be to take the two points you want to compare, put them each in...
I believe @jimbojw is taking a look at this PR. As far as UI changes, our visual designer is looking at making some changes to Facets Dive. Please refrain from...
client_root is defined in https://github.com/PAIR-code/lit/blob/main/lit_nlp/server_flags.py and should point to where the compiled front-end code lives (the default value should be correct in your use-case). Ensure you are passing the flags...
@terraformmachine thanks for the colab with the reproduction of the issue! One issue I noticed is that when you load your dataset, your 'label' field for each example is an...