mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-02 03:01:07 +06:00
![]() * test(tokenizers): add a test showing conflict with sentencepiece This is due to the fact that protobuf C implementation uses a global pool for all added descriptors, so if two different files add descriptors, they will end up conflicting. * fix(tokenizers): mitigate sentencepiece/protobuf conflict When sentencepiece is available, use that protobuf instead of the internal one. * chore(style): fix with ruff |
||
---|---|---|
.. | ||
__init__.py | ||
test_tokenization_fast.py | ||
test_tokenization_utils.py |