PRATIK C
PRATIK C
@jameswex second question is, how to get gradient visulaization in salience maps. In the above code?
When I change to PCA viz its gives `TypeError: (-0.7481077572209469+0j) is not JSON serializable.`
> To run in a notebook, in your jupyter notebook, create your dataset and model classes and then create a LitWidget object with those objects and call render on it....
> 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...
> Can you print the contents of `batched_outputs`, including types? > > The error above: > > ``` > TypeError: (-0.7481077572209469+0j) is not JSON serializable. > ``` > > Looks...
> > Correct that the input will be a list of dictionaries of {'text": ..., 'label': ...}. That list wont contain all examples in the data corpus. LIT splits the...
is align=("tokens", "tokens")) changed to this: lit_types.AttentionHeads(align_in="tokens", align_out="tokens") ?
Hi @jameswex any end to end code to add custom model and dataset for Roberta classification task. Or, are you planning to have one notebook(.ipynb) to get started with custom...
> Hi, I run a code like the example in `lit_nlp/examples/sst_pytorch_demo.py.py` for a costum model and dataset and It doesn't show the Attentions box in the explanations part. What should...
Hi @dennlinger , any help please?