Text Generation
GGUF
English
flatbuild
language-model
conversational
flatseek
flatrun
trained-from-scratch
rope
rmsnorm
swiglu
gqa
Instructions to use flatseek/flatbot-micro-4M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use flatseek/flatbot-micro-4M with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf flatseek/flatbot-micro-4M # Run inference directly in the terminal: llama cli -hf flatseek/flatbot-micro-4M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf flatseek/flatbot-micro-4M # Run inference directly in the terminal: llama cli -hf flatseek/flatbot-micro-4M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf flatseek/flatbot-micro-4M # Run inference directly in the terminal: ./build/bin/llama cli -hf flatseek/flatbot-micro-4M
Use Docker
docker model run hf.co/flatseek/flatbot-micro-4M
- Llama new
- LM Studio
- Jan
- vLLM
How to use flatseek/flatbot-micro-4M with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "flatseek/flatbot-micro-4M" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "flatseek/flatbot-micro-4M", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/flatseek/flatbot-micro-4M
- Ollama
How to use flatseek/flatbot-micro-4M with Ollama:
ollama run hf.co/flatseek/flatbot-micro-4M
- Unsloth Desktop
- Docker Model Runner
How to use flatseek/flatbot-micro-4M with Docker Model Runner:
docker model run hf.co/flatseek/flatbot-micro-4M
- Lemonade
How to use flatseek/flatbot-micro-4M with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull flatseek/flatbot-micro-4M
Run and chat with the model
lemonade run user.flatbot-micro-4M-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,7 +6,7 @@ library_name: flatbuild
|
|
| 6 |
tags:
|
| 7 |
- language-model
|
| 8 |
- conversational
|
| 9 |
-
-
|
| 10 |
- flatbuild
|
| 11 |
- flatrun
|
| 12 |
- trained-from-scratch
|
|
@@ -19,9 +19,9 @@ pipeline_tag: text-generation
|
|
| 19 |
|
| 20 |
# Flatbot-micro-4M
|
| 21 |
|
| 22 |
-
Flatbot-micro-4M is the flagship demonstration model for **
|
| 23 |
|
| 24 |
-
It is a compact conversational language model trained entirely from scratch using the
|
| 25 |
|
| 26 |
Everything in this repository is produced by Flatbuild without relying on pretrained weights.
|
| 27 |
|
|
@@ -106,16 +106,16 @@ flatbuild export output/demo_chat/*/checkpoint/final --format gguf --output flat
|
|
| 106 |
```
|
| 107 |
|
| 108 |
|
| 109 |
-
### Flatrun
|
| 110 |
|
| 111 |
```bash
|
| 112 |
-
pip install
|
| 113 |
flatrun chat --model flatbot-micro-4M.gguf --prompt "Hello!"
|
| 114 |
```
|
| 115 |
|
| 116 |
## Purpose
|
| 117 |
|
| 118 |
-
Flatbot-4M exists as an end-to-end demonstration of the
|
| 119 |
|
| 120 |
It showcases every stage of training a conversational transformer:
|
| 121 |
|
|
@@ -131,4 +131,4 @@ The complete pipeline is reproducible on consumer hardware and is intended for l
|
|
| 131 |
|
| 132 |
## Limitations
|
| 133 |
|
| 134 |
-
Flatbot-4M is a small conversational language model trained on a relatively small dataset. It has limited factual knowledge and reasoning ability compared to larger models, and is intended as a demonstration of the complete
|
|
|
|
| 6 |
tags:
|
| 7 |
- language-model
|
| 8 |
- conversational
|
| 9 |
+
- flatseek
|
| 10 |
- flatbuild
|
| 11 |
- flatrun
|
| 12 |
- trained-from-scratch
|
|
|
|
| 19 |
|
| 20 |
# Flatbot-micro-4M
|
| 21 |
|
| 22 |
+
Flatbot-micro-4M is the flagship demonstration model for **Flatseek**.
|
| 23 |
|
| 24 |
+
It is a compact conversational language model trained entirely from scratch using the Flatseek framework. The goal is not to compete with large language models, but to demonstrate the complete workflow of building a modern transformer—from dataset generation and tokenizer training to model training, checkpoint export, and inference.
|
| 25 |
|
| 26 |
Everything in this repository is produced by Flatbuild without relying on pretrained weights.
|
| 27 |
|
|
|
|
| 106 |
```
|
| 107 |
|
| 108 |
|
| 109 |
+
### Flatrun Inference
|
| 110 |
|
| 111 |
```bash
|
| 112 |
+
pip install flatrun
|
| 113 |
flatrun chat --model flatbot-micro-4M.gguf --prompt "Hello!"
|
| 114 |
```
|
| 115 |
|
| 116 |
## Purpose
|
| 117 |
|
| 118 |
+
Flatbot-4M exists as an end-to-end demonstration of the Flatseek ecosystem.
|
| 119 |
|
| 120 |
It showcases every stage of training a conversational transformer:
|
| 121 |
|
|
|
|
| 131 |
|
| 132 |
## Limitations
|
| 133 |
|
| 134 |
+
Flatbot-4M is a small conversational language model trained on a relatively small dataset. It has limited factual knowledge and reasoning ability compared to larger models, and is intended as a demonstration of the complete Flatseek workflow rather than a production-grade assistant.
|