from model2vec.distill import distill m2v_model = distill(model_name="./", pca_dims=384) m2v_model.save_pretrained("./m2v_model")