Sentinel R08 โ€” Pocket Core

๐Ÿ‡ฉ๐Ÿ‡ช gpTommy-32k-DE โ€” Native 32,768-Token Vocabulary & Tokenizer v2 for Deutsch (German) (Tedesco)

Official Site Ecosystem Tokenizer Vocabulary Language Author

Deterministic 32,768-token (32k) lexical vocabulary and Tokenizer v2 (Implicit Space + 100% Lossless Case) specifically engineered for the Deutsch (German) (de) language.
Author & Creator: Thomas Seri (Sentinel)
Reference Ecosystem: Sentinel LifeOS & Sentinel R-08 Geodesic Model Family


๐Ÿš€ Tokenizer v2 Update & Corrections Log (7 November 2026)

This repository now includes Tokenizer v2 (v2.0.0, implicit_space=True by default), which eliminates wasted single-space tokens between words and preserves 100% lossless capitalization (essential for German capitalized nouns!), while keeping optional implicit_space=False compatibility for v1 checkpoints.

# Aspect Tokenizer v1 (Legacy) Tokenizer v2 Updated (v2.0.0, default) Status
1 gptommy_tokenizer.py Had a SyntaxError (from __future__ import annotations placed after the license header) Fixed and upgraded to v2.0.0 (implicit_space=True by default, implicit_space=False for v1 compatibility) โœ… Fixed & Active
2 Lossless round-trip (decode(encode(text)) == text) Returned lowercased text, losing German noun capitalization ("Das Rillenkugellager..." โ†’ "das rillenkugellager...") 100% Lossless (decode(encode(text)) == text), preserving all German capitalized nouns (ID 6 TitleCase) and acronyms (ID 5 ALLCAPS) โœ… 100% Lossless in v2
3 Sequence length & space handling Emitted a separate <spazio> token (ID 10) for every space (2.33 tokens/word on the 177 Italian test texts) Implicit single space between words (ID 10 = <attaccato> only when gluing compound sub-pieces or punctuation; ID 9 for extra spaces; 1.85 tokens/word, -20.4% tokens on the 177 Italian test texts; -20.8% on standard German sentences) โœ… Tokenizer v2 Active

๐Ÿ’ผ Investment, Compute Grants & Enterprise Licensing (Investimenti & Partnership Industriali)

๐Ÿ‡ฌ๐Ÿ‡ง Sentinel is scaling the Geodesic Pyramidal Sphere Architecture (R-08) from 50M to 110Mโ€“1B+ parameters, with a patent application filed at the Italian Patent and Trademark Office (UIBM).
Open to Seed / Deep-Tech Investment, GPU/TPU Compute Grants, and Enterprise R&D Partnerships.
๐Ÿ‡ฎ๐Ÿ‡น Aperto a Investimenti Seed / Deep-Tech, Grant Computazionali GPU/TPU e Licenze Industriali Enterprise.
๐Ÿ“ฉ Contact Founder & Inventor Thomas Seri: ๐ŸŒ www.sentinelhub.eu | ๐Ÿ™ GitHub (@Thomasseri) | ๐Ÿค— Hugging Face (@SentinelHub) | ๐Ÿ’ฌ Open an Inquiry / Issue


๐ŸŒ Sentinel gpTommy 32k European Language Suite & R-08 Models

The gpTommy 32k family provides native whole-word SSvvv vocabularies (32,768 tokens each, with 100% shared control/space/numeric/alphabet IDs) across the 5 major European languages:

Related Sentinel R-08 Geodesic Language Models:


๐ŸŽฏ Why gpTommy-32k-DE is Different from Statistical Subword Tokenizers

Traditional statistical BPE tokenizers fragment words into arbitrary sub-syllables, inflating context length and computational cost while increasing spelling hallucinations in compact neural models.

gpTommy-32k-DE adopts a deterministic, structured lexical approach:

  • Contains 29,775 complete native Deutsch (German) words and morphemes (90.9% of the vocabulary), covering base lemmas, plurals, conjugated verbs, and scientific/industrial terminology.
  • Includes the complete uppercase/lowercase/accented Latin alphabet (A..Z), all single digits (0..9) and two-digit numbers (00..99), spaces/newlines/tabs (<spazio>, <riga>, <tab>), punctuation and math operators, and 35 special AI/Chat/Reasoning control tokens (<|user|>, <|assistant|>, <|think|>) at the exact same fixed IDs as the entire gpTommy suite.

๐Ÿ“š Card-Index Architecture: The 5-Digit SSvvv System

The vocabulary uses a deterministic 5-digit index SSvvv (00000 .. 32767):

  • SS (Card / Scheda 00..32): Identifies the category or initial alphabet letter (01..26 = A..Z).
  • vvv (Row 000..999): Identifies the specific entry within that card.
Card (SS) Global ID Range Primary Content Token Examples
00 00000 โ€“ 00999 Special AI tokens, punctuation, digits 0-9, math symbols <|user|>, <|assistant|>, <|think|>, <spazio>, +, -, =, *
01 01000 โ€“ 01999 Letter A (alphabet headers + native German words) auf, auch, als, aber, alle, arbeit, automatisierung
07 07000 โ€“ 07999 Letter G gegen, ganz, groรŸe, getriebe, geschwindigkeit, gehรคuse
19 19000 โ€“ 19999 Letter S (includes รŸ) sie, sich, sind, system, steuerung, spannung, strom
27 27000 โ€“ 27999 German Morphemes (prefixes/suffixes) + high-freq words -ung, -heit, -keit, -schaft, -chen, -lich, ver-, be-, zusammen-
30 30000 โ€“ 30999 Two-digit numbers 00..99, scientific units & lexicon 00..99, โ‚ฌ, ยฐ, ยฒ, ยณ, ยฑ, ร—, รท, โ‰ , โ‰ค, โ‰ฅ

๐Ÿ“Š Breakdown of the 32,768 Tokens (32k = Vocabulary Size)

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                  gpTommy-32k-DE   (32,768 IDs)              โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Category                             โ”‚ Count    โ”‚ Share     โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ Complete Native Words & Morphemes    โ”‚   29,775 โ”‚     90.9% โ”‚
โ”‚ Single Characters, Digits & Symbols  โ”‚    1,925 โ”‚      5.9% โ”‚
โ”‚ Special AI Control, Space & Chat IDs โ”‚    1,068 โ”‚      3.2% โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿš€ Quick Usage in Python โ€” Tokenizer v2 (Zero External Dependencies)

gptommy_tokenizer.py (v2.0.0) is 100% self-contained and requires no external libraries:

from gptommy_tokenizer import gpTommyTokenizer

# 1. Initialize Tokenizer v2 with gpTommy-32k-DE (Implicit Space + Lossless Case by default)
tokenizer = gpTommyTokenizer("gpTommy_vocab_by_id.txt")

# 2. Encode a Deutsch (German) sentence into token IDs (preserving all capitalized German nouns)
text = "Das Rillenkugellager reduziert die Rollreibung in der industriellen Instandhaltung."
token_ids = tokenizer.encode(text)
print("Token IDs v2:", token_ids)

# 3. Decode back to the exact original text (100% lossless, including German noun capitalization!)
decoded = tokenizer.decode(token_ids)
print("Decoded v2:", decoded)
assert decoded == text

# 4. Optional: legacy v1 mode (explicit space tokens)
tokenizer_v1 = gpTommyTokenizer("gpTommy_vocab_by_id.txt", implicit_space=False)

๐Ÿ›ก๏ธ License & Attribution

Released under the R08 Non-Commercial Research & Ethical License v2.0 (see LICENSE.md), with strict ethical protections (prohibition of military, weapon, surveillance, and harmful uses) and Exclusive Jurisdiction at the Court of Milan (Italy).

All rights to the SSvvv card architecture and lexical organization are reserved by Thomas Seri (Sentinel) โ€” www.sentinelhub.eu.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support