from encoder import Model
model = Model()
text = ['demo!', 'great!', 'fuck shit']
text_features = model.transform(text)
import matplotlib.pyplot as plt
for i in range(len(text)):
plt.plot(range(text_features[i].size), text_features[i], label=text[i])
plt.legend()
plt.show()
plt.scatter(text_features[1], text_features[2])
plt.xlabel(text[1])
plt.ylabel(text[2])
plt.show()
It is not obvious from simple visualizations