oborchers / Fast_Sentence_Embeddings

Compute Sentence Embeddings Fast!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in Colab Code

JoraJora opened this issue · comments

Hi Dear Oliver.

In the Colab https://colab.research.google.com/drive/1qq9GBgEosG7YSRn7r6e02T9snJb04OEi In the last chunk must be.

from fse.models import Average
from fse import IndexedList
model = Average(w2v)
model.train(IndexedList(sentences))
model.sv.similarity(0,1)

A
Captura
n error currently appears

Thank you, that is correct. Has been fixed!