matplotlib.pyplot sentence_transformers sklearn.metrics.pairwise gradio