dengxiuqi / ELMoNER

基于ELMo, tensorflow的中文命名实体标注 Chinese Named Entity Recognition Based on ELMo
22 stars 10 forks source link

能提取词语或者句子表示向量吗 #1

Open SeekPoint opened 5 years ago

dengxiuqi commented 5 years ago

词语的表示向量就是elmo.py中ELMo.elmo()的输出, train.py的36行elmo_vector = elmo.elmo(X, length, dropout)得到的elmo_vector就是词向量