stanford_alpaca icon indicating copy to clipboard operation
stanford_alpaca copied to clipboard

must I have a openai key to run the project ?

Open ucas010 opened this issue 1 year ago • 3 comments

hi,dear I see the "openai" in the requirements.txt , if I has no ID of openai ,could I run this project ?

ucas010 avatar Apr 07 '23 11:04 ucas010

if you are not generating the data and using the data provided in repo you do not need openai.

train.py does not use openai package in any case.

Ahtesham00 avatar Apr 07 '23 15:04 Ahtesham00

if you are not generating the data and using the data provided in repo you do not need openai.

train.py does not use openai package in any case.

But it does use utils.py, which seems to use openai

filippobistaffa avatar Nov 13 '23 08:11 filippobistaffa

Personally I avoided the openai dependency in train.py in the following way:

https://github.com/filippobistaffa/alpaca/commit/264462a52bf48e6a08b23499473b3da0b955f382

filippobistaffa avatar Nov 13 '23 08:11 filippobistaffa