luopeixiang / named_entity_recognition

中文命名实体识别(包括多种模型:HMM,CRF,BiLSTM,BiLSTM+CRF的具体实现)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

单词转换成向量用的什么

whao1011 opened this issue · comments

单词转向量是用的什么,word2vec吗,我看别的人写的是给单词一个word2id(唯一id)就行,不用训练词向量吗,这一块有些疑惑

词向量的是在bilstm的embedding层生成的,可以说embeding_size 就是每个词向量的维度。