Flair Elmo Embeddings use in Pytorch model

后端 未结 0 1586
深忆病人
深忆病人 2020-12-31 06:49

I am trying to generate the elmo embeddings on a PyTorch model, on every batch iteration, like:

for batch in iterator:
        optimizer.zero_grad()
        e         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题