We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我构造了一份中文的词向量文件,每行是分词后得到的词语、单字或者短语,以及对应的向量。在使用过程中,出现了段错误 (core dumped)。想请问一下这个用法是否支持,还是我构造的词向量文件有问题。
The text was updated successfully, but these errors were encountered:
另外,建议提供一份word_embeddings 的示例文件。
Sorry, something went wrong.
支持的,假设有一共有2个单字,每个单字是3维的向量,格式如下: 2 3 你 1 0 1 好 0 0 1
没看懂楼上的例子,希望能再解释下,多谢!
embedding的格式其实就是gensim的word2vec的模型输出格式,调用的函数就是model.save_word2vec_format(output_path, binary=False)
No branches or pull requests
我构造了一份中文的词向量文件,每行是分词后得到的词语、单字或者短语,以及对应的向量。在使用过程中,出现了段错误 (core dumped)。想请问一下这个用法是否支持,还是我构造的词向量文件有问题。
The text was updated successfully, but these errors were encountered: