Downloads · 30 days
0
ArieLLL123/judaic-semantic-tokenizer-32k-v1
judaic-semantic-tokenizer-32k-v1 is a machine learning model from ArieLLL123. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as other.
Production-oriented Unigram/Metaspace tokenizer for Biblical and Rabbinic Hebrew, Babylonian and Jerusalem Talmud Aramaic, medieval and modern Hebrew, limited Judeo-Arabic, and modern Hebrew/Latin code-switching.
Downloads · 30 days
0
Access
Public
Updated Aug 9, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.json2.2 MB · 82%
From the Hugging Face model README
Production-oriented Unigram/Metaspace tokenizer for Biblical and Rabbinic Hebrew, Babylonian and Jerusalem Talmud Aramaic, medieval and modern Hebrew, limited Judeo-Arabic, and modern Hebrew/Latin code-switching.
This is a tokenizer artifact, not an embedding encoder. It is incompatible with checkpoints trained using the earlier 24K vocabulary; new encoder checkpoints must be initialized with this 32K vocabulary.
f2a8fe1755e82f139237c10327868b4ed9f6a68357d1610f4832c3d9f5a1c5f2.The raw training corpus is not redistributed because the underlying books have source-dependent rights.
| Metric | Result |
|---|---|
| Vocabulary size | 32,000 |
| Unknown-token rate | 0.0% |
| Mean tokens per word | 1.4269 |
| p95 tokens per word | 2.0 |
| Vocabulary utilization | 95.99% |
| Round-trip failure rate | 0.0% |
| Worst main-stratum relative p95 | 1.20× |
| Sequences longer than 512 tokens | 1.484% |
All seven acceptance gates passed. See evaluation.json and corpus_report.json for per-stratum metrics and sampling details.
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("ArieLLL123/judaic-semantic-tokenizer-32k-v1")
query = tokenizer("[QUERY] חיפוש בניסוח חופשי", truncation=True, max_length=512)
passage = tokenizer("[PASSAGE] טקסט תורני לאינדוקס", truncation=True, max_length=512)
Nine special tokens are included: [PAD], [UNK], [CLS], [SEP], [MASK], [QUERY], [PASSAGE], [שאילתה], and [קטע].
The training pipeline uses NFKC, strips HTML markup while preserving visible text, removes Hebrew diacritics and invisible/bidi controls, canonicalizes punctuation, and preserves Latin letters for modern code-switching. Reproducible preprocessing and training code are included under training_code/; preprocessing.py is provided for runtime use.
The tokenizer vocabulary, normalization interface, evaluation, packaging, and project-authored metadata were produced by the Judaic Semantic Embedding project within Otzaria. This statement concerns those artifacts, not authorship of source texts.
Project-authored model/tokenizer artifacts are licensed under CC BY-NC-SA 4.0. Any included
project-authored code uses the Personal Use License 1.0 in LICENSE.md; third-party files
retain their own terms.