Open OhadRubin opened 5 years ago
Hi! Looks like this is a small bug, which you can see here:
https://github.com/allenai/allennlp/blob/master/allennlp/data/fields/knowledge_graph_field.py#L90
where we don't catch whether the tokenizer is None
(it should be either non-optional or set to some default option). We'd appreciate a PR!
instances of KnowledgeGraphField are throwing AttributeError when using the method empty_field.
Steps to repreduce:
Output: