当前位置: 首页 > 文档资料 > 机器学习 >

Wikipedia Word Embeddings

优质
小牛编辑
134浏览
2023-12-01

To train a set of embedded word vectors, run train.py:

$ python3 train.py

This will save your word embeddings into ./wikipedia/embeddings.npy

Unfortunately, at this time the sample code is only compatible with Python 3. We’re working on providing Python 2 translations of the code.

Refer tensorflowbook.