lucidrains / h-transformer-1d

Implementation of H-Transformer-1D, Hierarchical Attention for Sequence Learning
MIT License
154 stars 21 forks source link

ModuleNotFoundError: No module named 'rotary_embedding_torch' #5

Closed wajihullahbaig closed 3 years ago

wajihullahbaig commented 3 years ago

"/Personal/Codes/h-transformer-1d/h_transformer_1d/h_transformer_1d.py", line 6, in from rotary_embedding_torch import apply_rotary_emb, RotaryEmbedding"

Seems there is a module that was not committed to the repo.

lucidrains commented 3 years ago

make sure you run pip install h-transformer-1d first! or pip install rotary-embedding-torch