Skip to content

feat: export tokenizer classes from package __init__#15

Merged
AmitMY merged 1 commit into
mainfrom
feat/clean-exports
Apr 8, 2026
Merged

feat: export tokenizer classes from package __init__#15
AmitMY merged 1 commit into
mainfrom
feat/clean-exports

Conversation

@AmitMY
Copy link
Copy Markdown
Contributor

@AmitMY AmitMY commented Apr 8, 2026

Summary

  • Export all 5 tokenizer classes from complex_tokenization.__init__
  • Users can now do from complex_tokenization import BPETokenizer

Stacked on #14.

Test plan

  • 6 import tests pass
  • ruff check . passes

🤖 Generated with Claude Code

@AmitMY AmitMY force-pushed the feat/clean-exports branch 13 times, most recently from 51d3249 to fa0fe83 Compare April 8, 2026 17:23
- from complex_tokenization import BPETokenizer, Tokenizer, etc.
- Add __all__ for explicit export control
- Add import tests

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@AmitMY AmitMY force-pushed the feat/clean-exports branch from fa0fe83 to 99d0ffb Compare April 8, 2026 17:24
@AmitMY AmitMY merged commit e12baa3 into main Apr 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant