Datasets:
Size:
1M<n<10M
ArXiv:
Tags:
Document_Understanding
Document_Packet_Splitting
Document_Comprehension
Document_Classification
Document_Recognition
Document_Segmentation
DOI:
License:
fix: loosen tokenizers pin to resolve dependency conflict with transformers
Browse filesThe exact pin `tokenizers==0.20.3` conflicts with `transformers>=4.48.0`,
which requires `tokenizers>=0.21`. This makes `pip install -r requirements.txt`
fail with an unresolvable dependency error.
Changed to `tokenizers>=0.20.3` to allow pip/uv to resolve a compatible
version. Verified that the full requirements.txt installs cleanly with
uv + Python 3.12, resolving to tokenizers 0.22.2 and transformers 5.3.0.
All CLI commands documented in the README were tested successfully after
this change, including src/assets/run.py and src/benchmarks/run.py.
- requirements.txt +1 -1
requirements.txt
CHANGED
|
@@ -14,7 +14,7 @@ pydantic>=2.0.0
|
|
| 14 |
# Note: flash-attn must be installed separately - see README for instructions
|
| 15 |
torch>=2.7.0
|
| 16 |
transformers>=4.48.0
|
| 17 |
-
tokenizers=
|
| 18 |
addict>=2.4.0
|
| 19 |
easydict>=1.10
|
| 20 |
einops>=0.6.0
|
|
|
|
| 14 |
# Note: flash-attn must be installed separately - see README for instructions
|
| 15 |
torch>=2.7.0
|
| 16 |
transformers>=4.48.0
|
| 17 |
+
tokenizers>=0.20.3
|
| 18 |
addict>=2.4.0
|
| 19 |
easydict>=1.10
|
| 20 |
einops>=0.6.0
|