Apr 1, 2021
Thank you for this very useful article—I am new to Torch so this is a nice starting place for doing some impressively performant sentiment analysis with high-level tools.
I know this is a basic approach, but it doesn't seem to work out of the box if your input documents are longer than 512 tokens. Is there a simple way to make sure it truncates to 512 tokens?