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

Xpu #558

Closed
wants to merge 13 commits into from
Closed

Xpu #558

wants to merge 13 commits into from

Conversation

Lusfie
Copy link
Collaborator

@Lusfie Lusfie commented Nov 7, 2024

##三个文件的改动

  • 在projects/llama/utils目录下增加llama_metric_printer.py文件
  • 修改llama的loss函数,在foword中,增加done_token变量
  • 修改llama的trainer,将trainer的build_writers进行override覆写,且import新增的llama_metric_printer

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

Successfully merging this pull request may close these issues.

2 participants