Data Science, Machine Learning, NLP, Transformers, Word Embeddings.
using PCA. from sklearn.decomposition import PCA pca = PCA(n_components=10) y = pca.fit_transform(masked_embs) from sklearn.manifold import TSNE y = TSNE(n_components=2).fit_transform(y) import plotly as py import plotly.graph_objs as go data = [ go.Scatter( x=[i[0] for i in y], y=[i[1] for i in