CrossLingualContextualEmb
CrossLingualContextualEmb copied to clipboard
Code for generating embedding visualization
Thank you for the nice work. I read your paper and saw a few embedding visualizations that look very nice, but I can't seem to find the code for generating those in the repo here.
I'm also trying to visualize contextualized embeddings (for BERT). How did you manage to do that? Thank you so much for your help.
Hi, Thanks for your feedback.
The visualizations were done using a dimensionality reduction via PCA. The PCA was computed over the anchor space and then applied on the displayed embeddings. I'll try to clean that code and to add it soon.