rachtibat / LRP-eXplains-Transformers

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

pip install ./lxt #6

Closed GeorgeRodinos closed 4 months ago

GeorgeRodinos commented 4 months ago

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

This doesn't work.

rachtibat commented 4 months ago

what is the error?

rachtibat commented 4 months ago

maybe cd LRP-for-Transformers first?

GeorgeRodinos commented 4 months ago

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

rachtibat commented 4 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