Traceback (most recent call last):


 "reformerbug.py", line 20, in <module>

out = reformer(**seq)


 "/home/fabian/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 722, in _call_impl

result = self.forward(*input, **kwargs)


 "/home/fabian/.local/lib/python3.8/site-packages/transformers/modeling_reformer.py", line 2096, in forward

embedding_output = self.embeddings(


 "/home/fabian/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 722, in _call_impl

result = self.forward(*input, **kwargs)


 "/home/fabian/.local/lib/python3.8/site-packages/transformers/modeling_reformer.py", line 252, in forward

inputs_embeds = self.word_embeddings(input_ids)


 "/home/fabian/.local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 722, in _call_impl

result = self.forward(*input, **kwargs)


 "/home/fabian/.local/lib/python3.8/site-packages/torch/nn/modules/sparse.py", line 124, in forward

return F.embedding(


 "/home/fabian/.local/lib/python3.8/site-packages/torch/nn/functional.py", line 1814, in embedding

return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
IndexError: index out of range in self

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/home/ubuntu/pendulum/pendulum/parsing/__init__.py", line 74, in parse

return _normalize(_parse(text, **_options), **_options)


 "/home/ubuntu/pendulum/pendulum/parsing/__init__.py", line 115, in _parse

return _parse_iso8601_interval(text)


 "/home/ubuntu/pendulum/pendulum/parsing/__init__.py", line 221, in _parse_iso8601_interval

if first[0] == "P":
IndexError: string index out of range
