Friedrich Schiller wearing sunglasses

tiny_schiller

A drop-in German drama corpus you plug straight into a small language model, right here in your browser or in your own project, in just a few lines of code.

Β»Der Mensch spielt nur, wo er in voller Bedeutung des Worts Mensch ist, und er ist nur da ganz Mensch, wo er spielt.Β« Friedrich Schiller

Step 1 Β· Load the corpus

One line reaches the data. No parser, no tokenizer to train, no container stack.

$ 

Step 1 Β· Load the corpus

What you just loaded

0characters
0dramas
0personas

2.07 MB Β· eleven Schiller dramas Β· 89 named personas β€” all in a single file.

Step 1 Β· Load the corpus

Tokenized three ways

characterGPT-2 BPEcl100k_base click to compare

Each token stream ships precomputed, so a small language model reads the corpus directly.
No tokenizer to build, no cleaning to redo; the file is ready to train on.

Step 1 Β· Load the corpus

What that one line replaced

Everything you would normally do before a single token reaches a model:

  1. β—‹Pick an edition (DTA? DraCor? Gutenberg-DE?)
  2. β—‹Write a TEI/XML parser and handle the namespaces
  3. β—‹Reconcile three speaker-tag styles
  4. β—‹Fix legacy umlaut and quote-glyph encodings
  5. β—‹Strip narrow no-break spaces (U+202F)
  6. β—‹Normalize whitespace and rebuild the corpus
  7. β—‹Compare tokenizers and precompute the splits

tiny_schiller ships every step above already done. One line, and all the data you need is digested and ready to be used on your machine.

Step 2 Β· Run the model

The model comes online right here in your browser β€” a char-level net trained on that very file. No server, no API key.

$ 
tiny_schiller: Der Mensch spielt nur, wo er in voller Bedeutung des Worts Mensch ist,

A character-level model trained only on Schiller's dramas, running on your CPU alone β€” it invents, it does not quote.

swipe to continue β†’