GraphTok

Contributing to GraphTok

Issues and pull requests are welcome at https://github.com/Msiavashi/GraphTok. By participating you agree to the Code of Conduct.

Branch model

See docs/DEVELOPMENT.md for setup, builds and tests.

Commit messages

Pull request checklist

Changes to the pre-tokenizer, merge kernel, slot layouts or CPU route must keep token IDs identical to tiktoken (GPT-2) and Hugging Face tokenizers.

Reporting bugs

Open an issue with the bug report template and include:

Report security issues privately as described in SECURITY.md.

Adding a tokenizer

Follow docs/ADDING_A_TOKENIZER.md. A new tokenizer needs a preset, a vocabulary download entry and an exactness check against its reference tokenizer.

Code style

License

Contributions are licensed under the Apache License 2.0, the same as the project. See LICENSE. A Signed-off-by line (git commit -s) is welcome.