#initalize embedding model embedding_model = SentenceTransformer('thenlper/gte-small') #calculate embeddings embeddings = embedding_model.encode(data['all_text'].tolist(), show_progress_bar=True)