Skip to content

Commit

Permalink
upgrade functional programming with MindSpore 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lvyufeng committed Nov 2, 2022
1 parent 635d28b commit 46dea2e
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 99 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/auto_mirror.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Mirroring

on: [push, delete]

jobs:
sync_to_openi:
runs-on: ubuntu-latest
steps: # <-- must use actions/checkout before mirroring!
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
[email protected]:lvyufeng/mindspore_nlp_tutorial.git
ssh_private_key: # <-- use 'secrets' to pass credential information.
${{ secrets.OPENI_SSH_PRIVATE_KEY }}
187 changes: 97 additions & 90 deletions 5-1.Transformer/Transformer.ipynb

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions 5-2.BERT/BERT.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -420,14 +420,6 @@
"print('isNext : ', True if isNext else False)\n",
"print('predict isNext : ',True if logits_clsf else False)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "fbb35834",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
## Dependencies

- Python >= 3.7.5
- MindSpore 1.8.1
- MindSpore 1.9.0
- Pytorch 1.7.1(for comparation)

## Author
Expand Down

0 comments on commit 46dea2e

Please sign in to comment.