bertviz
bertviz copied to clipboard
Saving visualizations
Thanks for the great tool!
It would be nice to be able to save the visualizations for specific layers/heads as images. I have not been able to find a spot in the model/head/neuron_view.js file to add a saving function.
Do you maybe have a suggestion on how to save the visualizations as images?
Thanks!
Hi, thanks for the suggestion and question. I don't currently have a suggestion on how to do that, but would agree it would be a nice feature.
Re-ping on this! Would be very beneficial for my work as well!
Thanks for your feedback. Agreed that would be nice to have such a feature as opposed to taking a screenshot.
Hey, is this feature available yet? Would be really helpful for my work as well.
Hi @abhik-99, unfortunately still not available, but your feedback is duly noted. Thanks.
I tried to use "saveSvgAsPng" since the js uses SVG to create its content. However it is not supported by requirejs ( although on github it says so, but requirejs only return undefined obj ). And I am not sure how to make it load in jupyter notebook in the pre-output area x..x
Hi I have coded this enchantment and made a pull request ^ ^