huggingface / hmtl

🌊HMTL: Hierarchical Multi-Task Learning - A State-of-the-Art neural network model for several NLP tasks based on PyTorch and AllenNLP
MIT License
1.19k stars 145 forks source link

Undefined name 'layerRelation' #1

Closed cclauss closed 5 years ago

cclauss commented 5 years ago

flake8 testing of https://github.com/huggingface/hmtl on Python 3.7.1

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./hmtl/models/layerRelation.py:96:60: F821 undefined name 'layerRelation'
                    regularizer: RegularizerApplicator) -> "layerRelation":
                                                           ^
1     F821 undefined name 'layerRelation'
1
VictorSanh commented 5 years ago

That's right, thanks for pointing that out.