Skip to content

Commit

Permalink
Merge branch 'main' into GH-123
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffmaury authored Feb 2, 2024
2 parents bf8c327 + 9daccfe commit aa27cc5
Show file tree
Hide file tree
Showing 29 changed files with 1,342 additions and 388 deletions.
15 changes: 15 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
### What does this PR do?

### Screenshot / video of UI

<!-- If this PR is changing UI, please include
screenshots or screencasts showing the difference -->

### What issues does this PR fix or reference?

<!-- Include any related issues from Podman Desktop
repository (or from another issue tracker). -->

### How to test this PR?

<!-- Please explain steps to reproduce -->
2 changes: 2 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Default Owners
* @projectatomic/ai-studio-reviewers
41 changes: 24 additions & 17 deletions packages/backend/src/ai.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description" : "Chat bot application",
"name" : "ChatBot",
"repository": "https://github.com/redhat-et/locallm",
"ref": "bccd1c1",
"icon": "natural-language-processing",
"categories": [
"natural-language-processing"
Expand All @@ -13,8 +14,24 @@
"readme": "# Locallm\n\nThis repo contains artifacts that can be used to build and run LLM (Large Language Model) services locally on your Mac using podman. These containerized LLM services can be used to help developers quickly prototype new LLM based applications, without the need for relying on any other externally hosted services. Since they are already containerized, it also helps developers move from their prototype to production quicker. \n\n## Current Locallm Services: \n\n* [Chatbot](#chatbot)\n* [Text Summarization](#text-summarization)\n* [Fine-tuning](#fine-tuning)\n\n### Chatbot\n\nA simple chatbot using the gradio UI. Learn how to build and run this model service here: [Chatbot](/chatbot/).\n\n### Text Summarization\n\nAn LLM app that can summarize arbitrarily long text inputs. Learn how to build and run this model service here: [Text Summarization](/summarizer/).\n\n### Fine Tuning \n\nThis 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/).\n\n## Architecture\n![](https://raw.githubusercontent.com/MichaelClifford/locallm/main/assets/arch.jpg)\n\nThe diagram above indicates the general architecture for each of the individual model services contained in this repo. The core code available here is the \"LLM Task Service\" and the \"API Server\", bundled together under `model_services`. With an appropriately chosen model downloaded onto your host,`model_services/builds` contains the Containerfiles required to build an ARM or an x86 (with CUDA) image depending on your need. These model services are intended to be light-weight and run with smaller hardware footprints (given the Locallm name), but they can be run on any hardware that supports containers and scaled up if needed.\n\nWe also provide demo \"AI Applications\" under `ai_applications` for each model service to provide an example of how a developers could interact with the model service for their own needs. ",
"models": [
"llama-2-7b-chat.Q5_K_S",
"albedobase-xl-1.3",
"sdxl-turbo"
"mistral-7b-instruct-v0.1.Q4_K_M"
]
},
{
"id": "summarizer",
"description" : "Summarizer application",
"name" : "Summarizer",
"repository": "https://github.com/redhat-et/locallm",
"ref": "bccd1c1",
"icon": "natural-language-processing",
"categories": [
"natural-language-processing"
],
"config": "summarizer/ai-studio.yaml",
"readme": "# Summarizer\n\nThis model service is intended be be used for text summarization tasks. This service can ingest an arbitrarily long text input. If the input length is less than the models maximum context window it will summarize the input directly. If the input is longer than the maximum context window, the input will be divided into appropriately sized chunks. Each chunk will be summarized and a final \"summary of summaries\" will be the services final output. ",
"models": [
"llama-2-7b-chat.Q5_K_S",
"mistral-7b-instruct-v0.1.Q4_K_M"
]
}
],
Expand All @@ -30,24 +47,14 @@
"url": "https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGUF/resolve/main/llama-2-7b-chat.Q5_K_S.gguf"
},
{
"id": "albedobase-xl-1.3",
"name": "AlbedoBase XL 1.3",
"description": "Stable Diffusion XL has 6.6 billion parameters, which is about 6.6 times more than the SD v1.5 version. I believe that this is not just a number, but a number that can lead to a significant improvement in performance. It has been a while since we realized that the overall performance of SD v1.5 has improved beyond imagination thanks to the explosive contributions of our community. Therefore, I am working on completing this AlbedoBase XL model in order to optimally reproduce the performance improvement that occurred in v1.5 in this XL version as well. My goal is to directly test the performance of all Checkpoints and LoRAs that are publicly uploaded to Civitai, and merge only the resources that are judged to be optimal after passing through several filters. This will surpass the performance of image-generating AI of companies such as Midjourney. As of now, AlbedoBase XL v0.4 has merged exactly 55 selected checkpoints and 138 LoRAs.",
"hw": "CPU",
"registry": "Civital",
"popularity": 3,
"license": "openrail++",
"url": ""
},
{
"id": "sdxl-turbo",
"name": "SDXL Turbo",
"description": "SDXL Turbo achieves state-of-the-art performance with a new distillation technology, enabling single-step image generation with unprecedented quality, reducing the required step count from 50 to just one.",
"id": "mistral-7b-instruct-v0.1.Q4_K_M",
"name": "Mistral-7B-Instruct-v0.1-GGUF",
"description": "The Mistral-7B-Instruct-v0.1 Large Language Model (LLM) is a instruct fine-tuned version of the [Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) generative text model using a variety of publicly available conversation datasets. For full details of this model please read our [release blog post](https://mistral.ai/news/announcing-mistral-7b/)",
"hw": "CPU",
"registry": "Hugging Face",
"popularity": 3,
"license": "sai-c-community",
"url": ""
"license": "Apache-2.0",
"url": "https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.1-GGUF/resolve/main/mistral-7b-instruct-v0.1.Q4_K_M.gguf"
}
],
"categories": [
Expand Down
Loading

0 comments on commit aa27cc5

Please sign in to comment.