Awesome
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/transformerlab/transformerlab-app"> <img src="https://transformerlab.ai/img/flask.svg" alt="Logo" width="80" height="80"> </a> <h1 align="center" style="color: rgb(68, 73, 80); letter-spacing: -1px">Transformer Lab</h1> <p align="center"> Download, interact, and finetune models locally. <br /> <a href="https://transformerlab.ai/docs/intro"><strong>Explore the docs »</strong></a> <br /> <br /> <a href="https://youtu.be/tY5TAvKviLo">View Demo</a> · <a href="https://github.com/transformerlab/transformerlab-app/issues">Report Bugs</a> · <a href="https://github.com/transformerlab/transformerlab-app/issues/new">Suggest Features</a> · <a href="https://discord.gg/transformerlab">Join Discord</a> · <a href="https://twitter.com/transformerlab">Follow on Twitter</a> </p> <p align="center"> Note: Transformer Lab is actively being worked on. Please join our Discord or follow us on Twitter for updates. Questions, feedback and contributions are highly valued!</p> </div> <!-- ABOUT THE PROJECT -->Download Now
About The Project
Transformer Lab is an app that allows anyone to experiment with Large Language Models.
Backed by Mozilla
Transformer Lab is proud to be supported by Mozilla through the <a href="https://future.mozilla.org/builders/">Mozilla Builders Program</a>
<a href="https://future.mozilla.org/builders/"> <img src="https://transformerlab.ai/img/mozilla-builders-2024.png" alt="Mozilla Builders Logo" width=300> </a>Features
Transformer Lab allows you to:
- 💕 One-click Download Hundreds of Popular Models:
- Llama3, Phi3, Mistral, Mixtral, Gemma, Command-R, and dozens more
- ⬇ Download any LLM from Huggingface
- 🎶 Finetune / Train Across Different Hardware
- Finetune using MLX on Apple Silicon
- Finetune using Huggingface on GPU
- ⚖️ RLHF and Preference Optimization
- DPO
- ORPO
- SIMPO
- Reward Modeling
- 💻 Work with LLMs Across Operating Systems:
- Windows App
- MacOS App
- Linux
- 💬 Chat with Models
- Chat
- Completions
- Preset (Templated) Prompts
- Chat History
- Tweak generation parameters
- Batched Inference
- Tool Use / Function Calling (in alpha)
- 🚂 Use Different Inference Engines
- MLX on Apple Silicon
- Huggingface Transformers
- vLLM
- Llama CPP
- 🧑🎓 Evaluate models
- 📖 RAG (Retreival Augmented Generation)
- Drag and Drop File UI
- Works on Apple MLX, Transformers, and other engines
- 📓 Build Datasets for Training
- Pull from hundreds of common datasets available on HuggingFace
- Provide your own dataset using drag and drop
- 🔢 Calculate Embeddings
- 💁 Full REST API
- 🌩 Run in the Cloud
- You can run the user interface on your desktop/laptop while the engine runs on a remote or cloud machine
- Or you can run everything locally on a single machine
- 🔀 Convert Models Across Platforms
- Convert from/to Huggingface, MLX, GGUF
- 🔌 Plugin Support
- Easily pull from a library of existing plugins
- Write your own plugins to extend functionality
- 🧑💻 Embedded Monaco Code Editor
- Edit plugins and view what's happening behind the scenes
- 📝 Prompt Editing
- Easily edit System Messages or Prompt Templates
- 📜 Inference Logs
- While doing inference or RAG, view a log of the raw queries sent to the LLM
And you can do the above, all through a simple cross-platform GUI.
<!-- GETTING STARTED -->Getting Started
<a href="https://transformerlab.ai/docs/download">Click here</a> to download Transformer Lab.
<a href="https://transformerlab.ai/docs/intro">Read this page</a> to learn how to install and use.
Built With
Developers
Building from Scratch
To build the app yourself, pull this repo, and follow the steps below:
npm install
npm start
Packaging for Production
To package apps for the local platform:
npm run package
<!-- LICENSE -->
License
Distributed under the AGPL V3 License. See LICENSE.txt
for more information.
Reference
If you found Transformer Lab useful in your research or applications, please cite using the following BibTeX:
@software{transformerlab,
author = {Asaria, Ali},
title = {Transformer Lab: Experiment with Large Language Models},
month = December,
year = 2023,
url = {https://github.com/transformerlab/transformerlab-app}
}
<!-- CONTACT -->
Contact
- @aliasaria - Ali Asasria
- @dadmobile - Tony Salomone