Skip to content

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

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

HomesAmaranta
Copy link

@HomesAmaranta HomesAmaranta commented May 14, 2025

任务
任务编号:IC6YQU
任务链接:【开源实习】技术公开课内容测试任务
实现内容:
一、测试了代码在文件创建时期的mindnlp+mindspore发行版本后可以跑通,即在mindspore=2.4.0下可以正确训练和推理,并达到和原始得分相近的效果。(参见transformer-ms24.ipynb)

  1. 版本锁定
    dbfbb7dae6fa7555b9058b5eb84f094
  2. 模型训练
    916b982f2f3ac0f0e44e846031dcdd5
  3. 推理得分
    测试得分:
    cbaa8962aeae4a4190f018a22d1b6c7
    原始得分:
    4306ad93ef022e864373aee6c00caa2
    从中可得,测试得分为46.92,原始得分为44.92,两者得分接近,精度达标;并且相比原始得分有所提高,效果更优。

二、测试了代码在MindSpore2.6.0以及MindSpore NLP套件0.4.0版本下同样可以正确训练和推理,并达到和原始得分相近的效果。(参见transformer-ms26.ipynb)

  1. 版本锁定(mindspore=2.6.0rc1)
    image
  2. 模型训练
    image
  3. 推理得分
    image
    在mindspore2.6.0中,模型得分为46.19,和原始得分44.92接近,精度达标,且略有提升。

@xing-yiren
Copy link
Contributor

如2.4和2.6版本下案例代码一致,建议整合成一个transformer.ipynb文件,在最开始注明案例和跑通的版本(如CANN、MindSpore、MindNLP等)配套关系

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