ArneBinder / pytorch-ie

PyTorch-IE: State-of-the-art Information Extraction in PyTorch
MIT License
75 stars 7 forks source link

RegistrationError: TransformerSpanClassificationTaskModule is not a registered name for TaskModule. #416

Open ArneBinder opened 6 months ago

ArneBinder commented 6 months ago

Some of the code examples in the readme are broken, see here for more context and the fix: https://github.com/ArneBinder/pytorch-ie-hydra-template-1/issues/162

In general, the code snippets in the readme should follow the examples from the examples/predict/ folder since these are guaranteed to work because they are included in the tests.