Jump into building AI applications with CambioML
. This repository contains examples to help you kickstart your AI journey with CambioML
.
These are built using CambioML
's open-source libraries, including pykoi
and uniflow
.
This repository is a work in progress. We will be adding more examples and tutorials in the coming weeks.
These examples dive right into the code with little introduction, so you can get your hands dirty quickly. We recommend you read the documentation or the tutorials section to get a better understanding of the concepts and libraries used in these examples.
Example | CambioML Packages | Description |
---|---|---|
10K Agent | pykoi , uniflow |
Do you want to build an agent so that you can ask it anything about the annual report (10K)? In this example, we will show you how use uniflow and pykoi to extract knowledge from a unstructured annual report (10K) and then finetune an LLM on these knowledge. |
Research Agent | pykoi , uniflow |
Do you want to build an agent so that you can ask it anything about a research paper? In this example, we will show you how use uniflow and pykoi to extract knowledge from a research paper and then finetune an LLM on these knowledge. |
These tutorials are designed to help you get started with CambioML. They are written in a step-by-step fashion, and are accompanied by code snippets and explanations.
Tutorial | CambioML Packages | Description |
---|---|---|
Coming Soon! | pykoi , uniflow |
Coming Soon! |
To start cooking with CambioML
, you can install pykoi
and uniflow
using pip
in a conda
environment.
First, create a conda environment on your terminal using:
conda create -n cambio-cookbook python=3.10 -y
conda activate cambio-cookbook # some OS requires `source activate uniflow`
Then, install pykoi
and uniflow
:
pip3 install pykoi uniflow
Finally, install the compatible pytorch based on your OS.
- If you are on a GPU, install pytorch based on your cuda version. You can find your CUDA version via
nvcc -V
.pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121 # cu121 means cuda 12.1
- If you are on a CPU instance,
pip3 install torch
Now, when you go to run the example notebooks, make sure to use the cambio-cookbook
conda environment when selecting your kernel.
Congrats you have finished the installation!
If you are running anything using OpenAI flows, you will have to set up your OpenAI API key.
To do so, create a .env
file in your root cambio-cookbook
folder. Then add the following line to the .env
file:
OPENAI_API_KEY=YOUR_API_KEY