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
|
@@ -102,7 +102,13 @@ The dataset contains general-purpose conversations including greetings, introduc
|
|
| 102 |
```bash
|
| 103 |
pip install flatbuild
|
| 104 |
flatbuild train config/demo_chat.yml
|
| 105 |
-
flatbuild export output/demo_chat/*/checkpoint/final --format gguf --output flatbot-micro-4M
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
```
|
| 107 |
|
| 108 |
|
|
@@ -110,7 +116,22 @@ flatbuild export output/demo_chat/*/checkpoint/final --format gguf --output flat
|
|
| 110 |
|
| 111 |
```bash
|
| 112 |
pip install flatrun
|
| 113 |
-
flatrun chat --model flatbot-micro-4M.gguf --
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
```
|
| 115 |
|
| 116 |
## Purpose
|
|
|
|
| 102 |
```bash
|
| 103 |
pip install flatbuild
|
| 104 |
flatbuild train config/demo_chat.yml
|
| 105 |
+
flatbuild export output/demo_chat/*/checkpoint/final --format gguf --output flatbot-micro-4M
|
| 106 |
+
```
|
| 107 |
+
|
| 108 |
+
### LMStudio Import
|
| 109 |
+
|
| 110 |
+
```bash
|
| 111 |
+
lms import flatbot-micro-4M/model.gguf
|
| 112 |
```
|
| 113 |
|
| 114 |
|
|
|
|
| 116 |
|
| 117 |
```bash
|
| 118 |
pip install flatrun
|
| 119 |
+
flatrun chat --model flatbot-micro-4M.gguf --temp 0.2
|
| 120 |
+
```
|
| 121 |
+
|
| 122 |
+
```bash
|
| 123 |
+
Detected format: gguf
|
| 124 |
+
Building tokenizer from GGUF metadata (flatbot-micro-4M.gguf) ...
|
| 125 |
+
Tokenizer vocab: 516
|
| 126 |
+
Chat template: {% if messages and messages[0]['role'] != 'system' %}{{ 'You...
|
| 127 |
+
Loaded model in 0.01 s; layers=6
|
| 128 |
+
|
| 129 |
+
Chat mode (max_new=128/turn, history=True). Type your message; Ctrl-D (EOF) or 'exit' to quit.
|
| 130 |
+
|
| 131 |
+
You: Who are you?
|
| 132 |
+
Assistant:
|
| 133 |
+
Sure — I'm Flatbot — I'm Flatbot — an assistant trained on a sm a sm chat assistant.
|
| 134 |
+
(30 tokens, 0.9s, 35.0 tok/s)
|
| 135 |
```
|
| 136 |
|
| 137 |
## Purpose
|