AI prompts
base on Open Source Application for Advanced LLM Engineering: interact, train, fine-tune, and evaluate large language models on your own computer. <div align="center">
<a href="https://transformerlab.ai"><picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/transformerlab/transformerlab-app/refs/heads/main/assets/Transformer-Lab_Logo_Reverse.svg">
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/transformerlab/transformerlab-app/refs/heads/main/assets/Transformer-Lab_Logo.svg">
<img alt="transformer lab logo" src="https://raw.githubusercontent.com/transformerlab/transformerlab-app/refs/heads/main/assets/Transformer-Lab_Logo.svg" style="max-width: 650px">
</picture></a>
<p align="center">
100% Open Source Toolkit for Large Language Models: Train, Tune, Chat on your own Machine
<br />
<a href="https://transformerlab.ai/docs/download/"><strong>Download</strong></a>
·
<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 developed. 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
[![Download Icon]][Download URL]
## 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**:
- DeepSeek, Llama3, Qwen, Phi4, Gemma, Mistral, Mixtral, 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
- [![Electron][Electron]][Electron-url]
- [![React][React.js]][React-url]
- [![HuggingFace][HuggingFace]][HuggingFace-url]
## Developers
### Building from Scratch
To build the app yourself, pull this repo, and follow the steps below:
(Please note that the current build doesn't work on Node v23 but it works on v22)
```bash
npm install
```
```bash
npm start
```
## Packaging for Production
To package apps for the local platform:
```bash
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](https://twitter.com/aliasaria) - Ali Asasria
- [@dadmobile](https://github.com/dadmobile) - Tony Salomone
<!-- MARKDOWN LINKS & IMAGES -->
[product-screenshot]: https://transformerlab.ai/assets/images/screenshot01-53ecb8c52338db3c9246cf2ebbbdc40d.png
[React.js]: https://img.shields.io/badge/React-20232A?style=for-the-badge&logo=react&logoColor=61DAFB
[React-url]: https://reactjs.org/
[Electron]: https://img.shields.io/badge/Electron-20232A?style=for-the-badge&logo=electron&logoColor=61DAFB
[Electron-url]: https://www.electronjs.org/
[HuggingFace]: https://img.shields.io/badge/🤗_HuggingFace-20232A?style=for-the-badge
[HuggingFace-url]: https://huggingface.co/
[Download Icon]: https://img.shields.io/badge/Download-EF2D5E?style=for-the-badge&logoColor=white&logo=DocuSign
[Download URL]: https://transformerlab.ai/docs/download
", Assign "at most 3 tags" to the expected json: {"id":"12884","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"