aws-samples / amazon-sagemaker-bert-pytorch

MIT No Attribution
64 stars 25 forks source link

Backward compatible #10

Closed hongshanli23 closed 3 years ago

hongshanli23 commented 3 years ago

Issue #, if available:

Description of changes: Updated the input_fn to be backward compatible with transformer < v3.0

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.