Skip to content

Commit 5e8ebce

Browse files
committed
fix5
1 parent 160ca22 commit 5e8ebce

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.vs/EssayKiller_V2/v16/.suo

3 KB
Binary file not shown.

.vs/VSWorkspaceState.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
"\\LanguageNetwork\\GPT2",
66
"\\LanguageNetwork\\GPT2\\scripts"
77
],
8-
"SelectedNode": "\\LanguageNetwork\\GPT2\\scripts\\demo.py",
8+
"SelectedNode": "\\colab_online.ipynb",
99
"PreviewInSolutionExplorer": false
1010
}

.vs/slnx.sqlite

0 Bytes
Binary file not shown.

colab_online.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@
5151
"#%tensorflow_version 1.5.2-GPU/TPU\n",
5252
"!mkdir -p /home/EssayKiller_V2/LanguageNetwork/GPT2/finetune/trained_models\n",
5353
"\n",
54-
"%cd /home/EssayKiller_V2/LanguageNetwork/GPT2/\n",
55-
"!python3 scripts/down_gdrive_file.py -file_id='1ujWYTOvRLGJX0raH-f-lPZa3-RN58ZQx' -file_path='trained_models/model.ckpt-280000.data-00000-of-00001' &> predict.log\n",
54+
"%cd /home/EssayKiller_V2/LanguageNetwork/GPT2/finetune/\n",
55+
"!perl /home/EssayKiller_V2/LanguageNetwork/GPT2/scripts/gdown.pl https://drive.google.com/open?id=1ujWYTOvRLGJX0raH-f-lPZa3-RN58ZQx trained_models/model.ckpt-280000.data-00000-of-00001\n",
5656
"!wget -q --show-progress https://github.com/EssayKillerBrain/EssayKiller/releases/download/v1.0/model.ckpt-280000.index -P /home/EssayKiller_V2/LanguageNetwork/GPT2/finetune/models/mega\n",
5757
"!wget -q --show-progress https://github.com/EssayKillerBrain/EssayKiller/releases/download/v1.0/model.ckpt-280000.meta -P /home/EssayKiller_V2/LanguageNetwork/GPT2/finetune/models/mega\n",
5858
"\n",
5959
"!echo '模型下载完成,Git项目已构建,请继续点击下方的▶️'\n",
6060
"# If gdown.pl failed, please uncomment following code & exec\n",
61-
"!python3 scripts/down_gdrive_file.py -file_id='1ujWYTOvRLGJX0raH-f-lPZa3-RN58ZQx' -file_path='trained_models/model.ckpt-280000.data-00000-of-00001' &> predict.log"
61+
"#!python3 scripts/down_gdrive_file.py -file_id='1ujWYTOvRLGJX0raH-f-lPZa3-RN58ZQx' -file_path='trained_models/model.ckpt-280000.data-00000-of-00001' &> predict.log"
6262
]
6363
},
6464
{

0 commit comments

Comments
 (0)