-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
May you provide some example about conllu format ? #7
Comments
Please refer the readme for an example.
|
I will close this issue. If there is a further question, please reopen it. |
You might find this helpful: https://github.com/EmilStenstrom/conllu |
Hi Yijia @Oneplus, Could you give an example of running elmoformanylangs to compute ELMo representations for a conllu file and loading the vectors in a python file? I have tried something similar to #9 but I cannot "get" the vector for a specific sentence. Using the allennlp module, I am able to get a sentence based on the sentence index, like so:
However, when I use elmoformanylangs to compute the ELMo representations, when I try get the vector it always returns a None value. I have even tried providing the full tab-separated sentence but I can never find the sentence in my program, e.g.
The command I am running is:
The output of such a command gives rather unusual looking output. E.g.
So my question is, does something look erroneous with my output/command or how do I load a particular sentence embedding when using a conllu file? Thanks! |
No description provided.
The text was updated successfully, but these errors were encountered: