As I do not have access to Ontonotes dataset, I tried to reproduce results for NER probing task using a different NER dataset. I changed its format to the one you use for probing tasks and replaced the rel_path in edges-ner-ontonotes task with the address to point to where I saved my dataset (after retokenizing and populating it with labels.txt file).
But when I run it I get following error:
"RuntimeError: No dimension to distribute: torch.Size([768])"
This is an example from my train.json file:
{"text": "The Commonwealth Bank Tennis Classic is a tennis tournament on the WTA Tour held in Bali , Indonesia .", "targets": [{"span1": [1, 5], "label": "I-MISC"}, {"span1": [11, 12], "label": "I-ORG"}, {"span1": [15, 16], "label": "I-LOC"}, {"span1": [17, 18], "label": "I-LOC"}]}
Issue by mahsash Friday Feb 21, 2020 at 13:09 GMT Originally opened as https://github.com/nyu-mll/jiant/issues/1010
Hi.
As I do not have access to Ontonotes dataset, I tried to reproduce results for NER probing task using a different NER dataset. I changed its format to the one you use for probing tasks and replaced the rel_path in edges-ner-ontonotes task with the address to point to where I saved my dataset (after retokenizing and populating it with labels.txt file). But when I run it I get following error: "RuntimeError: No dimension to distribute: torch.Size([768])"
This is an example from my train.json file: {"text": "The Commonwealth Bank Tennis Classic is a tennis tournament on the WTA Tour held in Bali , Indonesia .", "targets": [{"span1": [1, 5], "label": "I-MISC"}, {"span1": [11, 12], "label": "I-ORG"}, {"span1": [15, 16], "label": "I-LOC"}, {"span1": [17, 18], "label": "I-LOC"}]}
Can you help me to resolve this error?