How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "mondk/Msh-Tiny-47M-GGUF"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "mondk/Msh-Tiny-47M-GGUF",
		"prompt": "Once upon a time,",
		"max_tokens": 512,
		"temperature": 0.5
	}'
Use Docker
docker model run hf.co/mondk/Msh-Tiny-47M-GGUF:
Quick Links

msh-tiny (GGUF)

A tiny (~47M parameter) GPT-2-style chat model, trained completely from scratch — no pretrained base model, custom BPE tokenizer trained from zero, custom PyTorch transformer architecture. This repo contains GGUF builds for use with llama.cpp, Ollama, and LM Studio.

The .safetensors source model is at mondk/Msh-Tiny-47M.

Limitations

This model was trained from random initialization on a modest amount of data with limited compute — it is a small educational project, not a production-quality assistant. Expect it to follow the chat format reliably but produce limited/inconsistent knowledge and occasional incoherent answers.

Prompt format

<|user|>
{your message}
<|assistant|>

The model was trained to stop generating at <|end|>.

Usage

Ollama

FROM ./model-f16.gguf
ollama create msh-tiny -f Modelfile
ollama run msh-tiny

LM Studio: drop the .gguf file into your models folder and load it directly.

llama.cpp

./llama-cli -m model-f16.gguf -p "<|user|>\nhi\n<|assistant|>\n"

Training data

Combining 15 well-known open instruction/chat datasets plus a small hand-written set of everyday chit-chat (greetings, thanks, small talk):

  • mondk/Greetings-hi-for-train-Msh-v2
  • tatsu-lab/alpaca
  • databricks/databricks-dolly-15k
  • teknium/OpenHermes-2.5
  • m-a-p/Code-Feedback
  • OpenAssistant/oasst1
  • FreedomIntelligence/medical-o1-reasoning-SFT
  • glaiveai/glaive-function-calling-v2
  • openai/openai_humaneval
  • HuggingFaceH4/no_robots
  • open-thoughts/OpenThoughts-114k
  • HuggingFaceH4/ultrachat_200k
  • google-research-datasets/poem_sentiment
  • CohereLabs/aya_dataset
  • sentence-transformers/natural-questions
Downloads last month
95
GGUF
Model size
47.2M params
Architecture
gpt2
Hardware compatibility
Log In to add your hardware

8-bit

16-bit

32-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for mondk/Msh-Tiny-47M-GGUF

Quantized
(1)
this model

Datasets used to train mondk/Msh-Tiny-47M-GGUF