MayaTok-BPE

MayaTok is a Byte Pair Encoding based Tokenizer

A new way for AI to search for data
View on GitHub
1GitHub stars
101commits on main
0forks

Rust 87.8%, Python 12.2% · created 2025-07-17 · last push 2026-10-18

What XERJ indexed

Snapshot

16 files · 1.4 MB

The whole repository at commit 20af61b11e (2026-10-18). main is 1 commit ahead.

Selected work

Ashwin Rajhans
@AlgoBrother

“unicode fixes for math text”. 6 files, 1,183 lines in src, dataset_training, examples.

Licence

The repository

Apache-2.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Apache-2.0, with credit

The author agreed by email on 2026-10-18. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

bytepairencodingnlppyo3-rust-bindingsrust-langtokenization

Example questions

The prompt

Paste it into your AI agent. It clones AlgoBrother/MayaTok-BPE at the pinned commit and indexes it on your machine.

Search the GitHub repository AlgoBrother/MayaTok-BPE with XERJ (https://hub.xerj.org/corpus/algobrother--mayatok-bpe).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/AlgoBrother/MayaTok-BPE MayaTok-BPE && git -C MayaTok-BPE checkout 20af61b11ebf6f3a84db17946f9682ee21a8929e
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./MayaTok-BPE --url http://127.0.0.1:9200 --prefix mayatok-bpe --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: Apache-2.0. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.