take model as WordEmbeddingModel in Example