Git Product home page Git Product logo

cambio-cookbook's Introduction

๐Ÿ‘ฉโ€๐Ÿณ CambioML Cookbook

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.

Examples

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.

Tutorials

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!

Installation

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!

API keys

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

cambio-cookbook's People

Contributors

cambioml avatar goldmermaid avatar jojortz avatar zhihanchen03 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.