Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not so funny #7

Closed
imfinethanks opened this issue Apr 11, 2024 · 2 comments
Closed

not so funny #7

imfinethanks opened this issue Apr 11, 2024 · 2 comments
Labels
good first issue Good for newcomers

Comments

@imfinethanks
Copy link

20240411-220107

A.
B.you
C.need
D.1
E.2
F.ah

请问这个结果正常吗?看起来并不是很搞笑

@zhongshsh
Copy link
Collaborator

Your generated content is not a complete sentence. I suspect there might be an issue with your generation config. You may need to check generation_config.json (in checkpoint dir), especially if max_new_tokens in the config is mistakenly set to 1.

My generation during testing is normal. (See attached image, I find this response quite interesting, no offense intended).

17129093679981

@zhongshsh zhongshsh added the good first issue Good for newcomers label Apr 12, 2024
@zhongshsh zhongshsh pinned this issue Apr 12, 2024
@imfinethanks
Copy link
Author

max_new_tokens=512没发现问题,不过环境从windows+pytorch2.2切换成ubuntu+pytorch2.0后正常了。
微信图片_20240412220939
Awesome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants