Alpaca-CoT icon indicating copy to clipboard operation
Alpaca-CoT copied to clipboard

How to use other parameter-efficient methods? Such as Prefix-tuning?

Open oriCodesPorter opened this issue 1 year ago • 2 comments

Which file and parameters do I need to modify? to use such as prefix-tuning? Who can help give an example. Thanks!!!

oriCodesPorter avatar May 08 '23 13:05 oriCodesPorter

when i run pip install -e ./peft i got a problem Installing build dependencies ... error error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [7 lines of output] WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb72b4c4280>: Failed to establish a new connection: [Errno 101] 网络不可达')': /simple/setuptools/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb72b4c45b0>: Failed to establish a new connection: [Errno 101] 网络不可达')': /simple/setuptools/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb72b4c4820>: Failed to establish a new connection: [Errno 101] 网络不可达')': /simple/setuptools/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb72b4c49d0>: Failed to establish a new connection: [Errno 101] 网络不可达')': /simple/setuptools/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb72b4c4b80>: Failed to establish a new connection: [Errno 101] 网络不可达')': /simple/setuptools/ ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none) ERROR: No matching distribution found for setuptools>=40.8.0 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

oriCodesPorter avatar May 09 '23 08:05 oriCodesPorter

This may be a network problem, can you install other packages with pip?

GGG-c avatar May 19 '23 16:05 GGG-c