ArneBinder / pytorch-ie

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

remove `is_training` parameter from `encode_input()` and `encode_inputs()` #371

Closed ArneBinder closed 1 year ago

ArneBinder commented 1 year ago

The parameter is_training is rather confusing, was not really used and undermines the separation of input and target encoding logic. If this is really required again in the future, this logic will be added in a manner of a state machine. Fixes #219.