oborchers / Fast_Sentence_Embeddings

Compute Sentence Embeddings Fast!
GNU General Public License v3.0
616 stars 83 forks source link

Error in Colab Code #33

Closed JoraJora closed 3 years ago

JoraJora commented 3 years ago

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

oborchers commented 3 years ago

Thank you, that is correct. Has been fixed!