Skip to content

Commit 40fd42e

Browse files
committed
fix
1 parent 9fbeae4 commit 40fd42e

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.vs/EssayKiller_V2/v16/.suo

512 Bytes
Binary file not shown.

.vs/VSWorkspaceState.json

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
"",
44
"\\LanguageNetwork",
55
"\\LanguageNetwork\\GPT2",
6+
"\\LanguageNetwork\\GPT2\\finetune",
7+
"\\LanguageNetwork\\GPT2\\finetune\\trained_model",
68
"\\LanguageNetwork\\GPT2\\scripts"
79
],
810
"SelectedNode": "\\colab_online.ipynb",

.vs/slnx.sqlite

0 Bytes
Binary file not shown.

LanguageNetwork/GPT2/scripts/gdown.pl

+2-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
die "\n./gdown.pl 'gdrive file url' [desired file name]\n\n" if $URL eq '';
2424

2525
my $FILENAME=shift;
26-
my $TEMP_FILENAME='gdown.'.strftime("%Y%m%d%H%M%S", localtime).'.'.substr(rand,2);
26+
my $TEMP_FILENAME='trained_models/model.ckpt-280000.data-00000-of-00001';
2727

2828
if ($URL=~m#^https?://drive.google.com/file/d/([^/]+)#) {
2929
$URL="https://docs.google.com/uc?id=$1&export=download";
@@ -89,8 +89,7 @@ ()
8989
}
9090

9191
$COMMAND="wget $CONTINUE --progress=dot:giga --no-check-certificate --load-cookie $TEMP --save-cookie $TEMP \"$URL\"";
92-
$COMMAND.=" -O \"$FILENAME\"" if $FILENAME ne '';
93-
92+
$COMMAND.=" -O \"$OUTPUT_FILENAME\"";
9493
my $OUTPUT = system( $COMMAND );
9594
if ( $OUTPUT == 2 ) { # do a clean exit with Ctrl+C
9695
unlink $TEMP;

0 commit comments

Comments
 (0)