Skip to content

lmt-60-1.7B outputs the prompt content repeatedly #2

@lhjjldx233-create

Description

@lhjjldx233-create

Hello, I'm trying to reproduce your model. I'm testing LMT-60-1.7B with the given test cases and I've found that it keeps repeating the input prompt. I'm wondering if there's a problem with my configuration? :)

here is my env
accelerate 0.33.0
flash-attn 2.0.2
tokenizers 0.22.1
torch 2.8.0
transformers 4.56.0

the script is copy from quick start code, and it output:

response: ['Translate', ' the', ' following', ' text', ' from', ' English', ' into', ' Chinese', '.\n', ' English', ':', ' The', ' concept', ' came', ' from', ' China', ' where', ' plum', ' bloss', 'oms', ' were', ' the', ' flower', ' of', ' choice', '.\n', ' Chinese', ':', ' ', '', '\n', ' debilitating', '\n', 'Translate', ' the', ' following', ' text', ' from', ' English', ' into', ' Chinese', '.\n', ' English', ':', ' The', ' concept', ' came', ' from', ' China', ' where', ' plum', ' bloss', 'oms', ' were', ' the', ' flower', ' of', ' choice', '.\n', ' Chinese', ':', ' ', ' -/\n', ' debilitating', '\n', 'Translate', ' the', ' following', ' text', ' from', ' English', ' into', ' Chinese', '.\n', ' English', ':', ' The', ' concept', ' came', ' from', ' China', ' where', ' plum', ' bloss', 'oms', ' were', ' the', ' flower', ' of', ' choice', '.\n', ' Chinese', ':', ' ', ' -/\n', ' debilitating', '\n', 'Translate', ' the', ' following', ' text', ' from', ' English', ' into', ' Chinese', '.\n', ' English', ':', ' The', ' concept', ' came', ' from', ' China', ' where', ' plum', ' bloss', 'oms', ' were', ' the', ' flower', ' of', ' choice', '.\n', ' Chinese', ':', ' ', ' -/\n', ' debilitating', '\n', 'Translate', ' the', ' following', ' text', ' from', ' English', ' into', ' Chinese', '.\n', ' English', ':', ' The', ' concept', ' came', ' from', ' China', ' where', ' plum', ' bloss', 'oms', ' were', ' the', ' flower', ' of', ' choice', '.\n', ' Chinese', ':', ' ', ' -/\n', ' debilitating', '\n', 'Translate', ' the', ' following', ' text', ' from', ' English', ' into', ' Chinese', '.\n', ' English', ':', ' The', ' concept', ' came', ' from', ' China', ' where', ' plum', ' bloss', 'oms', ' were', ' the', ' flower', ' of', ' choice', '.\n', ' Chinese', ':', ' ', ' -/\n', ' debilitating', '\n', 'Translate', ' the', ' following', ' text', ' from', ' English', ' into', ' Chinese', '.\n', ' English', ':', ' The', ' concept', ' came', ' from', ' China', ' where', ' plum', ' bloss', 'oms', ' were', ' the', ' flower', ' of', ' choice', '.\n', ' Chinese', ':', ' ', ' -/\n', ' debilitating', '\n', 'Translate', ' the', ' following', ' text', ' from', ' English', ' into', ' Chinese', '.\n', ' English', ':', ' The', ' concept', ' came', ' from', ' China', ' where', ' plum', ' bloss', 'oms', ' were', ' the', ' flower', ' of', ' choice', '.\n', ' Chinese', ':', ' ', ' -/\n', ' debilitating', '\n', 'Translate', ' the', ' following', ' text', ' from', ' English', ' into', ' Chinese', '.\n', ' English', ':', ' The', ' concept', ' came', ' from', ' China', ' where', ' plum', ' bloss', 'oms', ' were', ' the', ' flower', ' of', ' choice', '.\n', ' Chinese', ':', ' ', ' -/\n', ' debilitating', '\n', 'Translate', ' the', ' following', ' text', ' from', ' English', ' into', ' Chinese', '.\n', ' English', ':', ' The', ' concept', ' came', ' from', ' China', ' where', ' plum', ' bloss', 'oms', ' were', ' the', ' flower', ' of', ' choice', '.\n', ' Chinese', ':', ' ', ' -/\n', ' debilitating', '\n', 'Translate', ' the', ' following', ' text', ' from', ' English', ' into', ' Chinese', '.\n', ' English', ':', ' The', ' concept', ' came', ' from', ' China', ' where', ' plum', ' bloss', 'oms', ' were', ' the', ' flower', ' of', ' choice', '.\n', ' Chinese', ':', ' ', ' -/\n', ' debilitating', '\n', 'Translate', ' the', ' following', ' text', ' from', ' English', ' into', ' Chinese', '.\n', ' English', ':', ' The', ' concept', ' came', ' from', ' China', ' where', ' plum', ' bloss', 'oms', ' were', ' the', ' flower', ' of', ' choice', '.\n', ' Chinese', ':', ' ', ' -/\n', ' debilitating', '\n', 'Translate', ' the', ' following', ' text', ' from', ' English', ' into', ' Chinese', '.\n', ' English', ':', ' The', ' concept', ' came', ' from', ' China', ' where', ' plum', ' bloss', 'oms', ' were', ' the', ' flower', ' of', ' choice', '.\n', ' Chinese', ':', ' ', ' -/\n', ' debilitating', '\n', 'Translate', ' the', ' following', ' text', ' from', ' English', ' into', ' Chinese', '.\n', ' English', ':', ' The', ' concept', ' came', ' from', ' China', ' where', ' plum', ' bloss', 'oms', ' were', ' the', ' flower', ' of', ' choice', '.\n', ' Chinese', ':', ' ', ' -/\n', ' debilitating', '\n', 'Translate', ' the', ' following', ' text', ' from', ' English', ' into', ' Chinese', '.\n', ' English', ':', ' The', ' concept', ' came', ' from', ' China', ' where', ' plum', ' bloss', 'oms', ' were', ' the', ' flower', ' of', ' choice', '.\n', ' Chinese', ':', ' ', ' -/\n', ' debilitating', '\n', 'Translate', ' the', ' following', ' text', ' from', ' English', ' into', ' Chinese', '.\n', ' English', ':', ' The', ' concept', ' came', ' from', ' China', ' where', ' plum', ' bloss', 'oms', ' were', ' the', ' flower', ' of', ' choice', '.\n', ' Chinese', ':', ' ', ' -/\n', ' debilitating']

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