Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
221cb0332
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
221cb0332
Commits
9d78f770
Unverified
Commit
9d78f770
authored
2 years ago
by
i-robot
Committed by
Gitee
2 years ago
Browse files
Options
Downloads
Plain Diff
!3100 modify network gpt2 scripts
Merge pull request !3100 from 邓卓/modify-networks
parents
ee4cf03a
062046e0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
research/nlp/gpt2/convert_tf_ckpt/save_weight_ms.py
+1
-1
1 addition, 1 deletion
research/nlp/gpt2/convert_tf_ckpt/save_weight_ms.py
with
1 addition
and
1 deletion
research/nlp/gpt2/convert_tf_ckpt/save_weight_ms.py
+
1
−
1
View file @
9d78f770
...
...
@@ -23,7 +23,7 @@ import numpy as np
from
mindspore
import
Tensor
from
mindspore.train.serialization
import
save_checkpoint
from
.
trans_dict
import
trans_dict_tf
from
trans_dict
import
trans_dict_tf
def
trans_model_parameter
(
ckpt_name
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment