zhaowc-ustc / TabPedia

This repository is the codebase of TabPedia: Towards Comprehensive Visual Table Understanding with Concept Synergy
Apache License 2.0
14 stars 0 forks source link

a config error about tokenizer #3

Closed bang123-box closed 3 weeks ago

bang123-box commented 3 weeks ago

I have setting the config file as the readme file. but there is a error when load tokenizer, as shown in the figure. So I cann't inference with your pretrained weight. Can you help to fix this bug? this question is same to #1 image image I find in your tabpedia dir, there is only pretrained.pth in there?

zhaowc-ustc commented 3 weeks ago

the config "llm_name_or_path" should be replaced with the path of "Your_Download_InternLM-7B-chat", not the "pretrained_pth/TabPedia/pretrained.pth"

截屏2024-10-13 下午8 53 24
bang123-box commented 3 weeks ago

thk you much, very happy to help me solve it