JBoRu / StructGPT

The code and data for "StructGPT: A general framework for Large Language Model to Reason on Structured Data"
Apache License 2.0
95 stars 39 forks source link

关于`normalize_table_header`函数的一点疑问 #9

Open cybisolated opened 10 months ago

cybisolated commented 10 months ago

https://github.com/JBoRu/StructGPT/blob/main/structgpt_for_tableqa.py#L300 如果我没有理解错的话,请问按照您的意图,上述代码是否应该对"\n"进行转义,即r"\n"?

Ultrama0227 commented 10 months ago

你能复现他的这个代码嘛,关于tableqa部分的,我复现了感觉少文件啊

cybisolated commented 10 months ago

wtq这个任务是没有缺少的

Ultrama0227 commented 10 months ago

嗯嗯,看来其他的都是缺少的

JBoRu commented 10 months ago

https://github.com/JBoRu/StructGPT/blob/main/structgpt_for_tableqa.py#L300 如果我没有理解错的话,请问按照您的意图,上述代码是否应该对"\n"进行转义,即r"\n"?

Yes, you are right!

JBoRu commented 10 months ago

嗯嗯,看来其他的都是缺少的

您好,请问还有啥缺失?

cybisolated commented 10 months ago

https://github.com/JBoRu/StructGPT/blob/main/structgpt_for_tableqa.py#L300 如果我没有理解错的话,请问按照您的意图,上述代码是否应该对"\n"进行转义,即r"\n"?

Yes, you are right!

明白了,thanks!