Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
An LLM playground you can run on your laptop
| Date | Stars |
|---|---|
| 2026-07-31 | 6351 |
| 2026-08-02 | 6351 |
| 2026-08-05 | 6352 |
| 2026-08-13 | 6352 |
| 2026-08-19 | 6352 |
| 2026-08-20 | 6351 |
| 2026-08-29 | 6352 |
| 2026-08-30 | 6351 |
| 2026-09-05 | 6350 |
| 2026-09-08 | 6349 |
| 2026-09-14 | 6348 |
| 2026-09-15 | 6347 |
| 2026-09-16 | 6348 |
| 2026-09-17 | 6347 |
| 2026-09-18 | 6348 |
| 2026-09-19 | 6349 |
| 2026-09-20 | 6349 |
Today
— stars today
This week
— stars this week
This month
-2 stars this month
Momentum
0.0
growth rate 0.00%/day
# openplayground
An LLM playground you can run on your laptop.
https://user-images.githubusercontent.com/111631/227399583-39b23f48-9823-4571-a906-985dbe282b20.mp4
#### Features
- Use any model from [OpenAI](https://openai.com), [Anthropic](https://anthropic.com), [Cohere](https://cohere.com), [Forefront](https://forefront.ai), [HuggingFace](https://huggingface.co), [Aleph Alpha](https://aleph-alpha.com), [Replicate](https://replicate.com), [Banana](https://banana.dev) and [llama.cpp](https://github.com/ggerganov/llama.cpp).
- Full playground UI, including history, parameter tuning, keyboard shortcuts, and logprops.
- Compare models side-by-side with the same prompt, individually tune model parameters, and retry with different parameters.
- Automatically detects local models in your HuggingFace cache, and lets you install new ones.
- Works OK on your phone.
- Probably won't kill everyone.
## Try on nat.dev
Try the hosted version: [nat.dev](https://nat.dev).
## How to install and run
```sh
pip install openplayground
openplayground run
```
Alternatively, run it as a docker container:
```sh
docker run --name openplayground -p 5432:5432 -d --volume openplayground:/web/config natorg/openplayground
```
This runs a Flask process, so you can add the typical flags such as setting a different port `openplayground run -p 1235` and others.
## How to run for development
```sh
git clone https://github.com/nat/openplayground
cd app && npm install && npx parcel watch src/index.html --no-cache
cd server && pip3 install -r requirements.txt && cd .. && python3 -m server.app
```
## Docker
```sh
docker build . --tag "openplayground"
docker run --name openplayground -p 5432:5432 -d --volume openplayground:/web/config openplayground
```
First volume is optional. It's used to store API keys, models settings.
## Ideas for contributions
- Add a token counter to the playground
- Add a cost counter to the playground and the compare page
- Measure and display time to first token
- Setup automatic builds with GitHub Actions
- The default parameters for each model are configured in the `server/models.json` file. If you find better default parameters for a model, please submit a pull request!
- Someone can help us make a homebrew package, and a dockerfile
- Easier way to install open source models directly from openplayground, with `openplayground install <model>` or in the UI.
- Find and fix bugs
- ChatGPT UI, with turn-by-turn, markdown rendering, chatgpt plugin support, etc.
- We will probably need multimodal inputs and outputs at some point in 2023
### llama.cpp
## Adding models to openplayground
Models and providers have three types in openplayground:
- Searchable
- Local inference
- API
You can add models in `server/models.json` with the following schema:
#### Local inference
For models running locally on your device you can add them to openplayground like the following (a minimal example):
```json
"llama": {
"api_key" : false,
"models" : {
"llama-70b": {
"parameters": {
"temperature": {
"value": 0.5,
"range": [
0.1,
1.0
]
},
}
}
}
}
```
Keep in mind you will need to add a generation method for your model in `server/app.py`. Take a look at `local_text_generation()` as an example.
#### API Provider Inference
This is for model providers like OpenAI, cohere, forefront, and more. You can connect them easily into openplayground (a minimal example):
```json
"cohere": {
"api_key" : true,
"models" : {
"xlarge": {
"parameters": {
"temperature": {
"value": 0.5,
"range": [
0.1,
1.0
]
},
}
}
}
}
```
Keep in mind you will need to add a generation method for yoExcerpt of 4,776 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:c98f40b1568fa3c4, desc:playground