from elmoformanylangs import Embedder
See original GitHub issuefrom elmoformanylangs import Embedder
in this line, i got error like this
TypeError: Highway.forward: input
must be present
Can anyone help me?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:9
Top Results From Across the Web
Why i getting Highway.forward: `input` must be present ...
I am trying to use ELMoForManyLangs programmatically, by using Embedder python object. from elmoformanylangs import Embedder e ...
Read more >simple-elmo
Simple_elmo is a Python library to work with pre-trained ELMo embeddings in TensorFlow. This is a significantly updated wrapper to the original ELMo ......
Read more >ELMoForManyLangs | ELMo representations trained on many ...
Implement ELMoForManyLangs with how-to, Q&A, fixes, code snippets. kandi ratings - Low support, No Bugs, ... from elmoformanylangs import Embedder e ...
Read more >kernel2fd6368435
import ELMoForManyLangs.elmoformanylangs as elmo ... Elmo menghasilkan embedding ala Word2Vec, tetapi embedding kata tersebut juga berdasarkan kata-kata di ...
Read more >Jsondecodeerror: expecting value: line 1 column 1 (char 0)
So i use ELMoForManyLangs for my NLP task. ... "valid_size": 0, "eval_steps": 10000}' import ELMoForManyLangs.elmoformanylangs as elmo
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
So this is how I managed to get it to work on Colab. Keep in mind that this is just a naive attempt to debug using informations from the traceback that I got. I am by no means experienced in
pytorch
, so I don’t really know any implications that this will cause. YMMVELMoForManyLangs/elmoformanylangs/modules/highway.py
47-48
:to
pip install -e ELMoForManyLangs/
Turns out the culprit is simpler than I thought; the addition of signature check in
overrides v5.0.0
. The fix is simply by addingcheck_signature=False
in line 46 ofELMoForManyLangs/elmoformanylangs/modules/highway.py
:I’ve opened PR #96 as a permanent fix, hopefully it gets merged.