Add `_get_num_multimodal_tokens` to more image/video processors #50671
Add `_get_num_multimodal_tokens` to more processors
a85d6a4e
Add `_get_num_multimodal_tokens` to Granite Speech
fad35309
Drop `_get_num_multimodal_tokens` from audio-only processors
0a73f130
hmellor
changed the title Add `_get_num_multimodal_tokens` to more processors Add `_get_num_multimodal_tokens` to more image/video processors 13 days ago
Count embedding tokens for Llama4 and Ovis2 without `image_token_ids`…
9312d00f
Use dict literals in Llama4/Ovis2 token count tests
f25beba3
Run the image token count test on both image processor backends
79b1dfb2
Note GOT-OCR2 `num_image_tokens` fallback goes with the v5.29.0 depre…
7b1eb3c0
Count embedding tokens from replacements in the token count tests
c6578742
Count embedding tokens from replacements in the SmolVLM and LFM2-VL t…
6bc9ff6c
hmellor
marked this pull request as ready for review 6 days ago
Address review: fewer helpers in the token counters
84893de4
hmellor
merged
9d5d0ee8
into main 1 day ago
hmellor
deleted the processors-num-mm-tokens branch 1 day ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub