alexandrainst / danlp

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

Fix XLMR NED truncation strategy #160

Closed ophelielacroix closed 2 years ago

ophelielacroix commented 2 years ago

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