Skip to content

Commit

Permalink
Merge pull request #2648 from dfinity/ai-docs
Browse files Browse the repository at this point in the history
Add DeAI > Overview
  • Loading branch information
jessiemongeon1 authored Mar 13, 2024
2 parents 4a1d068 + 7d104e8 commit a234067
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 0 deletions.
78 changes: 78 additions & 0 deletions docs/developer-docs/ai/overview.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
---
keywords: [intermediate, concept, AI, ai, deAI, deai]
---

import { MarkdownChipRow } from "/src/components/Chip/MarkdownChipRow";

# Overview

<MarkdownChipRow labels={["Intermediate", "Concept" ]} />

## What is decentralized AI?

Decentralized artificial intelligence (DeAI or decentralized AI) is a form of AI and machine learning that utilizes blockchain technologies and decentralized protocols such as ICP. ICP enables truly decentralized AI by running services on-chain, providing a permissionless and secure way to run machine learning applications.

Canisters can be used to host AI services and run machine learning algorithms using popular AI/ML frameworks and libraries. HTTPS outcalls can be used to make API calls to external AI APIs like OpenAI.

## ICP AI projects

Several community projects that showcase how to use AI on ICP are available:

- [ArcMind AI](https://github.com/arcmindai/arcmindai): An autonomous agent using Chain of Thoughts for reasoning and actions. Try the [app in-browser](https://arcmindai.app).

- [ArcMind Vector DB](https://github.com/arcmindai/arcmindvector): A vector database that supports text, image, and audio embedding.

- [DeVinci](https://github.com/patnorris/DecentralizedAIonIC): An AI chatbot that uses an open-source LLM. [Check out the canister yourself](https://x6occ-biaaa-aaaai-acqzq-cai.icp0.io/).

- [ICGPT](https://github.com/icppWorld/icgpt): A React frontend that uses a C/C++ backend running an LLM fully on-chain. [Check it out yourself](https://icgpt.icpp.world/).

- [ic-mnist](https://github.com/smallstepman/ic-mnist): A sort of machine learning 'Hello, world!' running on ICP. [Try it here](https://jsi2g-jyaaa-aaaam-abnia-cai.icp0.io/).

- [ELNA AI](https://github.com/elna-ai): A fully on-chain AI agent platform and marketplace. Supports both on-chain and off-chain LLMs. [Try it here](https://dapp.elna.ai/).

- [Tensorflow on ICP](https://github.com/carlosarturoceron/decentAI): An Azle example that uses a pre-trained model for making predictions.

- [MotokoLearn](https://github.com/ildefons/motokolearn): A Motoko package that enables on-chain machine learning.

- [Tract-IC-AI](https://github.com/jeshli/tract-ic-ai): An ICP variations of Tract.

- [Rust-Connect-Py-AI-to-IC](https://github.com/jeshli/rust-connect-py-ai-to-ic): Open-source tool for deploying Python AI models.

- [Juno + OpenAI](https://github.com/peterpeterparker/juno-openai): An example using Juno and OpenAI to generate images from prompts.

## AI resources

Machine learning programming:

- [C++ CDK](https://docs.icpp.world/index.html)

- [Rust Burn](https://github.com/Tracel-AI/burn)

- [Tinygrad (Python)](https://github.com/tinygrad/tinygrad)

Distributed AI compute:

- [RingAttention](https://arxiv.org/abs/2310.01889)

- [PetalsML](https://github.com/bigscience-workshop/petals)

- [Stable Horde](https://stablehorde.net/)


Lightweight AI models:

- [TinyLlama](https://github.com/jzhang38/TinyLlama)

- [Qwen 1.8B Chat](https://huggingface.co/Qwen/Qwen-1_8B-Chat)

- [SSD-1B](https://huggingface.co/segmind/SSD-1B)

- [Gorilla LLM](https://gorilla.cs.berkeley.edu/)


## Technical working group: DeAI

A technical working group dedicated to discussing decentralized AI and related projects meets bi-weekly on Thursdays at 5pm UTC. You can join via the [community Discord server](https://discord.gg/QnV6TNgV).

You can learn more about the group, review the notes from previous meetings, and ask questions on the [DFINITY forum](https://forum.dfinity.org/t/technical-working-group-deai/24621).

7 changes: 7 additions & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,13 @@ const sidebars = {
},
],
},
{
type: "category",
label: "DeAI",
items: [
"developer-docs/ai/overview"
],
},
{
type: "category",
label: "DeFi",
Expand Down

0 comments on commit a234067

Please sign in to comment.