This post will guide you to install Gentopia, follow the easy steps to set it up.
Published on June 20, 2023 by TheDevsLot
how to setup
2 min READ
Please follow the instructions below to set up Gentopia and GentPool on your system. We recommend using a virtual environment.
conda create --name gentenv python=3.10
conda activate gentenv
To install the basic framework,
pip install gentopia
Additionally, if you want to use open LLMs like llama
on huggingface, together with 8-bit/4-bit quantization tricks, install with
pip install gentopia[huggingface]
NOTE: We are still in early development (gentopia v0.x.x
is considered early access), you may want to frequently
pip install --upgrade gentopia
Alternatively, if you are a true hacker who modifies the source code frequently, we recommend installing from source.
git clone git@github.com:Gentopia-AI/Gentopia.git
cd Gentopia
pip install -e .
We recommend using GentPool as a space to build your agent because you can easily call other public agents for interaction, and access our unique benchmark eval to test your agent.
git clone git@github.com:Gentopia-AI/GentPool.git
Create a .env file under GentPool (ignored by git) and put your API Keys inside. They will be registered as environmental variables at run time.
cd GentPool
touch .env
echo "OPENAI_API_KEY=<your_openai_api_key>" >> .env
echo "WOLFRAM_ALPHA_APPID=<your_wolfram_alpha_api_key>" >> .env
… and so on if you plan to use other service keys.
GentBench is our unique benchmark eval for agents. It tests a wide range of agent capability beyond vanilla LLMs. See here for more details.
GentBench is half-public and half-private (both will be updated and expanded). You have full access to the public data for testing, fine-tuning or so, but private benchmark will only be used to evaluate agents registered in GentPool. This prevents overfitting and gives you a sense of generalizability. To download the public benchmark, make sure you’ve installed Git-LFS and GentPool, then
cd GentPool
git lfs fetch --all
git lfs pull
Then you will see downloaded tasks under GentPool/benchmark/
.