fastNLP: A Modularized and Extensible NLP Framework. Currently still in incubation.
3.05k
stars
451
forks
source link
[bugfix] fix wrong num_embeddings when randomly initialize a StaticEmbedding with lower=True #361
Closed
LouChao98 closed 3 years ago
Description:use
len(lowered_vocab)
instead oflen(vocab)
when randomly initialize a StaticEmbeddingMention: @yhcc