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
在text_train.py文件中:
x_train, y_train = process_file(config.train_filename, word_to_id, cat_to_id, config.seq_length) x_val, y_val = process_file(config.val_filename, word_to_id, cat_to_id, config.seq_length)
训练数据使用的是:process_file方法,训练集x使用的是 word_to_id:get from def read_vocab(),是根据生成词表的位置索引。
请问如何使用训练好的Word2Vec向量?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在text_train.py文件中:
x_train, y_train = process_file(config.train_filename, word_to_id, cat_to_id, config.seq_length)
x_val, y_val = process_file(config.val_filename, word_to_id, cat_to_id, config.seq_length)
训练数据使用的是:process_file方法,训练集x使用的是 word_to_id:get from def read_vocab(),是根据生成词表的位置索引。
请问如何使用训练好的Word2Vec向量?
The text was updated successfully, but these errors were encountered: