GithubHelp home page GithubHelp logo

artfabrique / olagpt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chachalin/olagpt

0.0 0.0 0.0 4.89 MB

Official implementation for "OlaGPT: Empowering LLMs With Human-like Problem-Solving Abilities" (keep updating)

License: Apache License 2.0

Shell 4.04% Python 95.96%

olagpt's Introduction

OlaGPT: Empowering LLMs With Human-like Problem-Solving Abilities

OlaGPT carefully studied a cognitive architecture framework, and propose to simulate certain aspects of human cognition. Check out our paper for more information.

model

Requirements

python3.8
openai
langchain
datasets
faiss-cpu

Usage

Several important parameters:

  • is_eval: whether it is evaluation mode
  • question: valid when is_eval is False, suitable for testing a single question
  • eval_full: whether to evaluate all data
  • eval_num: valid when eval_full is False, can specify how many data to evaluate
  • is_random: valid when eval_full is False, controls whether to randomly select eval_num data
  • n_split: parallelism during evaluation, the higher the value, the higher the parallelism, but be aware of API concurrency limits
  • model_name: controls the output path in prediction.

Quick Start

OlaGPT

python agents/multi_actions_agent.py --is_eval=True --dataset=aqua --model_name=cos --eval_full=True --n_split=30

Single Template

python agents/single_action_agent.py --is_eval=True --dataset=aqua --model_name=st --eval_full=True --n_split=30

More details

Citing OlaGPT

@article{xie2023olagpt,
  title={OlaGPT: Empowering LLMs With Human-like Problem-Solving Abilities}, 
  author={Yuanzhen Xie and Tao Xie and Mingxiong Lin and WenTao Wei and Chenglin Li and Beibei Kong and Lei Chen and Chengxiang Zhuo and Bo Hu and Zang Li},
  journal={arXiv preprint arXiv:2305.16334},
  year={2023}
}

License

This project is licensed under the Apache-2.0 License.

olagpt's People

Contributors

oladata-team avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.