ChenRocks / ChenRocks/fast_abs_rl
IndexError: too many indices for tensor of dimension 1
Open
- Dominant language
- Python
- Stars
- 624
- Forks
- 183
- PR merge metrics
- No merged PRs in 30d
Description
[batcher.py#L119](https://github.com/ChenRocks/fast_abs_rl/blob/aebf539107caba5be35720f5d1f9f98989a069e8/data/batcher.py#L119). There is an ERROR when the target summary has one sentence only.
Contributor guide
No contributing guide indexed for this repository
Research direction
Read data/batcher.py at line 119 and reproduce the failure with a target summary containing one sentence. Trace the tensor shape at that indexing point and use the reported error as the completion check: the one-sentence case should complete without IndexError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, pytorch
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100