How to use from the
Use from the
llama-cpp-python library
# !pip install llama-cpp-python

from llama_cpp import Llama

llm = Llama.from_pretrained(
	repo_id="DemonKing1234/Casual-TextTiny",
	filename="Casual-TextTiny-F32.gguf",
)
output = llm(
	"Once upon a time,",
	max_tokens=512,
	echo=True
)
print(output)

Casual-TextTiny (800K Parameter GPT)

A custom, character-level Generative Pre-trained Transformer (GPT) language model built and trained entirely from scratch.

This model is designed for ultra-lightweight local deployment and learning experimentation. It is optimized to run on standard CPUs using a custom Numba-accelerated inference engine with full KV-caching.

Highlights

  • Parameter Count: 801,408 (~800k)
  • Model File Size: 3.2 MB in GGUF format (Casual-TextTiny-F32.gguf)
  • Trained For: Creative text/story generation and simple instruction-following.

Architecture

  • Layers: 4 Block layers
  • Attention Heads: 8 Heads
  • Embedding Dimensions: 128
  • Context Length: 16 characters

Prompt Format

To trigger instruction-following behaviors, wrap your prompt in this template:

Downloads last month
44
GGUF
Model size
807k params
Architecture
gpt2
Hardware compatibility
Log In to add your hardware

32-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support