JohnSnowLabs / nlu

1 line for thousands of State of The Art NLP models in hundreds of languages The fastest and most accurate way to solve text problems.
Apache License 2.0
836 stars 128 forks source link

Elmo Not work #89

Open m3r3lin opened 2 years ago

m3r3lin commented 2 years ago

I install all package and run examples but Elmo not work image or image

please help me!

C-K-Loan commented 2 years ago

Hi @m3r3lin

NLU is dropping the elmo embeddings

you need to set

nlu.load('elmo').predict('Hello world', get_embeddings=True)

Let me know if you encounter any other issues :)