alexandrainst / danlp

DaNLP is a repository for Natural Language Processing resources for the Danish Language.
BSD 3-Clause "New" or "Revised" License
199 stars 34 forks source link

Fix XLMR NED truncation strategy #160

Closed ophelielacroix closed 3 years ago

ophelielacroix commented 3 years ago

incompatibility with transformers v4.12.5: truncation strategy can not be longest_first set truncation strategy to only_second