Closed Ancrilin closed 1 year ago
And I can not install all the dependencies by running pip install -r requirements.txt
.
The differences are:
Hi~ Thank you so much for your open-source platform. I want to run MSP method in intent detection. I run this commonds sh examples/run_ADB.sh and sh examples/run_MAP.sh. The platform would first run methods/init.py, but in methods/ADB/pretrain.py that cannot import name 'sigmoid_rampup' and 'linear_rampup'. I found that 'sigmoid_rampup' and 'linear_rampup' not in utils/functions.py. What should I do to run the method (MSP, ADB, etc.) in the examples ?
We don't use the two functions and have deleted them in methods/ADB/pretrain.py. It should work now. Thanks for your mentioning.
And I can not install all the dependencies by running pip install -r requirements.txt. The differences are:
- mkl_random==1.2.2
- torch==1.7.1+cu110
- Pillow==8.4.0
- transformers==4.23.1 In order to be more user-friendly, please clean and update the reqiurements.txt
We have updated the requirements.txt and you can download the newest version and try again.
Hi~ Thank you so much for your open-source platform. I want to run MSP method in intent detection. I run this commonds
sh examples/run_ADB.sh
andsh examples/run_MAP.sh
. The platform would first runmethods/__init__.py
, but inmethods/ADB/pretrain.py
that cannot import name 'sigmoid_rampup' and 'linear_rampup'. I found that 'sigmoid_rampup' and 'linear_rampup' not inutils/functions.py
. What should I do to run the method (MSP, ADB, etc.) in theexamples
?