LLM Factory

A Specialized, Customizable, Secure self-service tool

LLM Factory, developed by the Center for Applied AI (CAAI), allows users to securely fine-tune their own Large Language Models (LLMs) and query the model on a platform controlled by the University of Kentucky. LLM Factory offers control, flexibility, and security.

Fine-tuning a model using LLM Factory enables users to develop specialized LLMs tailored to specific projects. With this platform, users can upload their own datasets, train models by layering data on a base model, privately configure and explore models, and expose models to external, OpenAI compatible API. For those concerned about the security of private data, LLM Factory offers a solution. Use LLM Factory as an alternative to public models and keep your data secure.

Use the API feature to embed the model (either the fine-tuned model or the base model) into your projects. LLM Factory’s base model is currently Meta’s LLaMA 3 8B (as of April 2024).

Citation

A paper detailing the development and usage of this tool can be found here:

Institutional Platform for Secure Self-Service Large Language Model Exploration

Please be sure to appropriately cite usage of LLM Factory in your research.

Why use LLM Factory?

Customization and Flexibility

LLM Factory allows users to fine-tune their own LLM. Develop specialized models tailored to a project’s specific needs. By leveraging cutting-edge AI advancements and the latest foundational pre-trained models, users can create models that meet their specific needs.

Security and Privacy

Unlike public platforms, your information and interactions are private on LLM Factory. Datasets uploaded to LLM Factory for adapter training are stored locally on a UK server, and only accessible by you and your team. Fine-tuned models are private, only accessible through a unique configuration ID and personal API Key. All API requests and chat conversations within LLM Factory’s interface are secure.

OpenAI Compatible API

LLM Factory’s API is OpenAI compatible, allowing users to expose their models to external APIs and integrate with a library of tools. This means a range of advanced features, including embeddings, transcriptions, function calling, and more can be easily supported.

Free Access

Mainstream tools like GPT-4 require subscriptions; LLM Factory is free to CAAI collaborators. CAAI can host models at a significantly lower cost because we use on-premises computational resources for inference. To use LLM Factory, simply reach out with a project idea to be granted access. Contact us via email or fill out our collaboration intake form if you’re interested in exploring the system on your own or working with the CAAI on a potential project.

A video explaining LLM Factory and how it is used can be found  here on CAAI’s YouTube Channel.

Mitchell Klusty presented LLM Factory, An Institutional Platform for Secure Self-Service LLM Exploration, at the March 2025 AMIA Informatics Summit in Pittsburgh, PA. 

Projects Supported by LLM Factory

How can this platform be applied to your ideas? Check out some of the applications below that were developed with, or are currently supported by, LLM Factory.

One Good Choice Nutrition LLM This decision-making tool is designed to help users make informed […]
IPH CANS: Conversational AI for Social Worker Training In collaboration with the University of Kentucky’s […]
AgriGuide: Agriculture AI development The Kentucky Agricultural Extension Program, part of the University of Kentucky […]
SpeakEZ In collaboration with the UK Nunn Center for Oral History and Dr. Doug Boyd […]
Optimal CT The Optimal CT project is a collaboration with the Cardiothoracic surgery department at […]
LLM Factory Vast possibilities to advance research via use of LLMs are restricted due to […]