Explain, analyze, and visualize NLP language models. Ecco creates interactive visualizations directly in Jupyter notebooks explaining the behavior of Transformer-based language models (like GPT2, BERT, RoBERTA, T5, and T0).
My main motivation for this change was that I was failing to install this package as it depended on PyYaml 5.4.1 which has some problems - check here. But overall currently it's very hard to install this package because the dependencies are very strict (e.g. no torch 2 etc). They should be loosened up where possible.
I run tox in python 3.11 and the tests locally and with these versions' specs they seem to pass (after a minor fix in the top_k_top_p_filtering_fn). I need to see in the other Python versions with the tests from the GitHub workflows
+1 This PR resolves the problem of installing ecco on more modern install. (Workaround for anyone interested in using it for now: pip install git+https://github.com/joaonadkarni/ecco@update-dependencies)
My main motivation for this change was that I was failing to install this package as it depended on PyYaml 5.4.1 which has some problems - check here. But overall currently it's very hard to install this package because the dependencies are very strict (e.g. no torch 2 etc). They should be loosened up where possible.
I run tox in python 3.11 and the tests locally and with these versions' specs they seem to pass (after a minor fix in the top_k_top_p_filtering_fn). I need to see in the other Python versions with the tests from the GitHub workflows