ur-whitelab / BO-LIFT

BayesOpt + LIFT
65 stars 12 forks source link

Support for Llama based LLMs (enhancement) #23

Open ajaymur91 opened 1 year ago

ajaymur91 commented 1 year ago

Capability to use alternative Llama based language models such as Alpaca/ Vicuna would be super nice. Not sure how much of a change the source code has to undergo to make this possible. For instance, would changing the embeddings from OpenAIEmbeddings to Llama-cpp embeddings (and editting a few more lines) do the trick for GPR (for eg in https://github.com/ur-whitelab/BO-LIFT/blob/main/bolift/asktellGPR.py)

PS: BO-LIFT is a super cool idea!