File size: 129 Bytes
13ca029
20c4f88
 
1
2
3
from model2vec.distill import distill
m2v_model = distill(model_name="./", pca_dims=384)
m2v_model.save_pretrained("./m2v_model")