Protein generation with embedding learning for motif diversification