-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: sallyom <[email protected]> Co-authored-by: MichaelClifford <[email protected]>
- Loading branch information
1 parent
4a46194
commit 542f5ce
Showing
13 changed files
with
24 additions
and
382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,44 @@ | ||
# Locallm | ||
# AI Lab Recipes | ||
|
||
This repo contains recipes for building and running containerized AI and LLM Applications locally with podman. | ||
|
||
These containerized AI recipes can be used to help developers quickly prototype new AI and LLM based applications, without the need for relying on any other externally hosted services. Since they are already containerized, it also helps developers move quickly from prototype to production. | ||
These containerized AI recipes can be used to help developers quickly prototype new AI and LLM based applications, without the need for relying | ||
on any other externally hosted services. Since they are already containerized, it also helps developers move quickly from prototype to production. | ||
|
||
## Current Recipes: | ||
|
||
* [Model Service](#model-service) | ||
* [Chatbot](#chatbot) | ||
* [Text Summarization](#text-summarization) | ||
* [Code Generation](#code-generation) | ||
* [RAG](#rag-application) (Retrieval Augmented Generation) | ||
* [Fine-tuning](#fine-tuning) | ||
## Model services | ||
|
||
### Model service | ||
[model servers examples](./model_servers) | ||
|
||
A model service that can be used for various applications with various models is included in this repository. | ||
Learn how to build and run the model service here: [Llamacpp_python model service](/model_servers/llamacpp_python/README.md). | ||
#### What's a model server? | ||
|
||
### Chatbot | ||
A model server is a program that serves machine-learning models and makes their functions available via API so that | ||
applications can incorporate AI. This repository provides descriptions and files for building several model servers. | ||
|
||
A simple chatbot using the [Streamlit UI](https://docs.streamlit.io/). Learn how to build and run this application here: [Chatbot](/chatbot-langchain/). | ||
Many of the sample applications rely on the `llamacpp_python` model server by default. This server can be used for various applications with various models. | ||
However, each sample application can be paired with a variety of model servers. | ||
|
||
### Text Summarization | ||
Learn how to build and run the llamacpp_python model by following the [llamacpp_python model server README.](/model_servers/llamacpp_python/README.md). | ||
|
||
An LLM app that can summarize arbitrarily long text inputs with the [Streamlit UI](https://docs.streamlit.io/). Learn how to build and run this application here: | ||
[Text Summarization](/summarizer-langchain/). | ||
## Current Recipes: | ||
|
||
### Code generation | ||
There are several sample applications in this repository. They live in the [recipes](./recipes) folder. | ||
They fall under the categories: | ||
|
||
A simple chatbot using the [Streamlit UI](https://docs.streamlit.io/). Learn how to build and run this application here: [Code Generation](/code-generation/). | ||
* [audio](./recipes/audio) | ||
* [computer-vision](./recipes/computer_vision) | ||
* [multimodal](./recipes/multimodal) | ||
* [natural language processing](./recipes/natural_language_processing) | ||
|
||
### RAG | ||
|
||
A chatbot using the [Streamlit UI](https://docs.streamlit.io/) and Retrieval Augmented Generation. Learn how to build and run this application here: [RAG](/rag-langchain/). | ||
Most of the sample applications follow a similar pattern that includes a model-server and an inference application. | ||
Many sample applications utilize the [Streamlit UI](https://docs.streamlit.io/). | ||
|
||
### Fine Tuning | ||
Learn how to build and run each application by visiting each of the categories above. For example | ||
the [chatbot recipe](./recipes/natural_language_processing/chatbot). | ||
|
||
This application allows a user to select a model and a data set they'd like to fine-tune that model on. | ||
Once the application finishes, it outputs a new fine-tuned model for the user to apply to other LLM services. | ||
Learn how to build and run this model training job here: [Fine-tuning](/finetune/). | ||
|
||
## Current Locallm Images built from this repository | ||
|
||
Images for all sample applications and models are tracked in [locallm-images.md](./locallm-images.md) | ||
Images for many sample applications and models are available in `quay.io`. All currently built images are tracked in | ||
[ai-lab-recipes-images.md](./ai-lab-recipes-images.md) | ||
|
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
embed-workloads/quadlets/ai-codegenerator/codegen.kube.example
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
embed-workloads/quadlets/ai-summarizer/summarizer.kube.example
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.