You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I found I cannot run the learned token pruning whether I install the transformers or not.
If I install transformer, it will raise the error of ValueError: Some specified arguments are not used by the HfArgumentParser: ['--masking_mode', 'soft', '--weight_decay_threshold', '0.0', '--lambda_threshold', '0.1', '--temperature', '0.0001']. I think it is because these arguments are customized in src/transformers.
If I go with an environment which doesn't install the transformer, it will have ModuleNotFoundError: No module named 'transformers'. It simply cannot import from /src .
If I force the code of run_glue_ltp with sys.path.insert(1, './src/'). It will have the error of pkg_resources.DistributionNotFound: The 'sacremoses' distribution was not found and is required by this application .
Can you tell me how to run the code properly? Thanks.
The text was updated successfully, but these errors were encountered:
Hi, I found I cannot run the learned token pruning whether I install the transformers or not.
If I install transformer, it will raise the error of
ValueError: Some specified arguments are not used by the HfArgumentParser: ['--masking_mode', 'soft', '--weight_decay_threshold', '0.0', '--lambda_threshold', '0.1', '--temperature', '0.0001']
. I think it is because these arguments are customized insrc/transformers
.If I go with an environment which doesn't install the transformer, it will have
ModuleNotFoundError: No module named 'transformers'
. It simply cannot import from /src .If I force the code of run_glue_ltp with
sys.path.insert(1, './src/')
. It will have the error ofpkg_resources.DistributionNotFound: The 'sacremoses' distribution was not found and is required by this application
.Can you tell me how to run the code properly? Thanks.
The text was updated successfully, but these errors were encountered: