rachtibat / LRP-eXplains-Transformers

Layer-Wise Relevance Propagation for Large Language Models and Vision Transformers [ICML 2024]
https://lxt.readthedocs.io
Other
66 stars 7 forks source link

pip install ./lxt #6

Closed GeorgeRodinos closed 2 months ago

GeorgeRodinos commented 2 months ago

$ git clone https://github.com/rachtibat/LRP-for-Transformers $ pip install ./lxt

This doesn't work.

rachtibat commented 2 months ago

what is the error?

rachtibat commented 2 months ago

maybe cd LRP-for-Transformers first?

GeorgeRodinos commented 2 months ago

Screenshot from 2024-07-01 15-43-49

rachtibat commented 2 months ago
git clone https://github.com/rachtibat/LRP-for-Transformers
cd LRP-for-Transformers/
pip install .

But I think, in your case simply install the stable release with pip install lxt.

Best