Skip to content

Unofficial langchain implementation of "Large Language Models as Optimizers".

License

Notifications You must be signed in to change notification settings

shirindehghani/OPRO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OPRO (Large Language Models as Optimizers)

image image

image

TODO :

For using this code in your project, you should modify configs.py and also extract_label() function in opro.py file.

Instalation :

pip install -r requirements.txt.

This project support Llama-3, GPT-4 and GPT-3.5 LLMs. The default mode is Llama-3.

Refrences

@article{yang2023large,
  title={Large language models as optimizers},
  author={Yang, Chengrun and Wang, Xuezhi and Lu, Yifeng and Liu, Hanxiao and Le, Quoc V and Zhou, Denny and Chen, Xinyun},
  journal={arXiv preprint arXiv:2309.03409},
  year={2023}
}

-Medium


-GitHub

About

Unofficial langchain implementation of "Large Language Models as Optimizers".

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages