Skip to content

list index out of range #1

@jinluo12345

Description

@jinluo12345

HEllo!
我按照要求跑代码的时候会出现这个错误 不知道您有没有遇到过 是否有解决方法呀!
是在unsloth_compiled_cache里提供的文件出错的
IndexError: list index out of range
Traceback (most recent call last):
File "*******/LegalDelta/scripts/unsloth_compiled_cache/UnslothGRPOTrainer.py", line 1010, in extract_answer_tokens_and_probs
last_bracket_pos = bracket_positions[-1]
~~~~~~~~~~~~~~~~~^^^^
IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions