fix typos in the tests directory (#36932)

* chore: fix typos in test codes

* chore: fix typos in test codes

* chore: fix typos in test codes

* chore: fix typos in test codes

* chore: fix typos in test codes

* chore: fix typos in test codes

* chore: fix typos in test codes

* chore: fix typos in test codes

* chore: format codes
This commit is contained in:
Afanti
2025-03-25 17:49:24 +08:00
committed by GitHub
parent 69bcb86c58
commit 19085c28da
9 changed files with 19 additions and 17 deletions

View File

@@ -130,7 +130,7 @@ class ChameleonModelTester:
def get_config(self):
# create dummy vocab map for image2bpe mapping if it needs remapping
# we assume that vocab size is big enough to accoun for image tokens somewhere in the beginning
# we assume that vocab size is big enough to account for image tokens somewhere in the beginning
# same way as in real ckpt, when img tokens are in first half of embeds
# we will need "vq_num_embeds" amount of tokens