Open RuixiangXue opened 1 month ago
When I run the encode.py to conduct eval, the error comes:
from transformers.activations import ACT2FN ModuleNotFoundError: No module named 'transformers'".
I wonder is this a package ? because I did not found relevant file named "transformer.py"
Oh, I forgot to put it in the requirements.txt. It is a library from HuggingFace. You can directly install it by pip install transformers.
pip install transformers
When I run the encode.py to conduct eval, the error comes:
from transformers.activations import ACT2FN ModuleNotFoundError: No module named 'transformers'".
I wonder is this a package ? because I did not found relevant file named "transformer.py"