Skip to content

【开源实习】技术公开课内容测试任务4 #120

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Unconnectable
Copy link

任务
任务编号:#IC6Z40
任务链接:【开源实习】技术公开课内容测试任务4
实现内容:

gpt2_summarization.ipynb gpt2_modules.ipynb 实现了在mindspore2.6.0rc1和mindnlp0.4.0套件上跑通反馈,并在pip install mindnlppip install mindspore处锁定版本如图:

summarization锁定

modules锁定版本

训练结果如下

成果2

训练成果

以下是 测试模型原版模型 的性能对比表格:

指标 原版模型 测试任务 对比分析(误差 / 说明)
global_step 45 45 0%(一致)
training_loss 9.11246066623264 9.115397135416666 +0.032%(微幅上升)
train_runtime(秒) 32.5297 528.3991 +1524%(由于我的电脑内存不足引发)
train_samples_per_second 11.067 0.681 -93.8%(性能大幅下降,与运行时间变化一致)
train_steps_per_second 1.383 0.085 -93.9%(训练步长更新速度明显降低)
epoch 1.0 1.0 0%(一致)

@moyu026
Copy link

moyu026 commented Jun 28, 2025

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