The following steps need to be followed to install CAMEL-AI:
- Ensure that 64-bit Python version 3.10, 3.11 or 3.12 is installed on your system
- Create a virtual environment using conda:
conda create --name camel_env python=3.10
conda activate camel_env - Clone the CAMEL repository:
git clone https://github.com/camel-ai/camel.git
cd camel - Install dependencies:
conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia
pip install -r requirements.txt
pip install -e .
can be run for cases where model fine-tuning using QLoRA is required:bash scripts/train_camel_qlora.sh
Finally, verify the installation by running the test command:python -m camel_chat.serve.test_message --model-name /path/to/model
This answer comes from the articleCAMEL-AI: An Open Source Framework for Building Multi-Intelligent Collaborative SystemsThe
































