microsoft / microsoft/TUTA_table_understanding
Sample spreadsheet does not work during execution - Why?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 125
- Forks
- 27
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 1
Description
Hi, I am trying to pretrain a model based on your spreadsheet sample. However, the code rejects the sample for some reason.
The same happens for some manual spreadsheet samples that I've created.
I believe this happens due to lines 681-682 in tokenizer.py:
if (max(top_pos_list[icell]) == -1) or (max(left_pos_list[icell]) == -1):
return None
But I can not understand thoroughly what's happening behind these conditions for these lists.
Can you please explain why your given spreadsheet sample is not working?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the rejection with the provided spreadsheet sample and trace tokenizer.py around lines 681-682. Inspect how top_pos_list and left_pos_list are populated, then determine why either list reaches -1 and document or correct the behavior so the sample’s expected execution outcome is clear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100