terminal-shell-mini

Tiny GPT-2-style model that imitates Ubuntu 22.04 bash output and answers short questions about a session.

Parameters 3353088
Git SHA 47476878a75b3c7627704a60d6d0dc34ac2b8d23
Tokenizer byte-level BPE fit on the training text, plus chat markers
Training GitHub Actions CPU runner, ml/config/tiny.yaml
Data Synthetic ubuntu:22.04 sessions from ml/data/generate_sessions.py

Prompt format

<|system|>
You are a Linux terminal on Ubuntu. ...
<|user|>
user@dev:~$ pwd
<|assistant|>
/home/user
<|end|>

The local server in serve/ turns OpenAI messages into this prompt.

Intended use

A toy terminal for terminal-gpt pointed at POST /v1/chat/completions. It is not a real shell, and it is not a general chatbot.

How this checkpoint was published

GitHub Actions workflow ML train uploaded this folder with HF_TOKEN. The git SHA above is the commit that produced the weights.

Downloads last month
307
Safetensors
Model size
3.35M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Space using c2pig/terminal-shell-mini 1