title: NLP function in Standford NLP returning dtype error
body: <p>Beginner in NLP and I am trying to run the below code and it is giving the following error.</p>
  <p>doc = nlp(&quot;Barack obama in Hawaii&quot;)</p>
  <p>doc.sentences[0].print_dependencies()</p>
  <p>Error:</p>
  <p>File &quot;C:\Users\anaconda3\lib\site-packages\stanfordnlp\models\common\seq2seq_model.py&quot;, line 193, in update_state
  s.data.copy_(s.data.index_select(0, positions))</p>
  <p>RuntimeError: index_select(): Expected dtype int64 for index</p>