-
Notifications
You must be signed in to change notification settings - Fork 46
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
Test PTB Dependency Parsing Model #47
Comments
I have just uploaded the ptb dataset on onedrive. For inference, you may make a file like this (add dummy tags in the 7,8,9-th column) and follow the instruction:
|
Hi Xinyu, Thanks for uploading the data! I created a folder named Run: But still got an error:
Do you know how to fix that? |
Have you checked whether the datasets is at the correct place? |
Hi Xinyu, So I guess the 0-th column is token id, is that right? |
after I change the data format, I also face the same problem. |
Have you ensured the path |
yes! I have done it! and I solve this problem, it also needs to have dev/test datasets in the target_dir. It shows me : Traceback (most recent call last): I try to set into sequence_output, pooled_output, hidden_states = self.model(input_ids.cuda(), attention_mask=mask.cuda(), inputs_embeds = inputs_embeds) it also shows me the same question. T T, |
You may try to uncomment these lines Lines 226 to 238 in 7033e91
|
hi Xinyu, I have resolved the problem, and applied ACE to my data parsing successfully, thanks for your help. |
Hi there!
I am trying to test with your pretrained dependency parsing model. However, I cannot find your processed PTB dataset. Can you share it with a link?
Also, I am wondering how to inference with my own data. For example, how can I feed one sentence and get its tagging result?
The text was updated successfully, but these errors were encountered: