Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
4d85af94
"csrc/cpu/diag_cpu.cpp" did not exist on "64b0ae3041b05dc6c9c42484dbad01c3b6bc5cd1"
Commit
4d85af94
authored
Oct 15, 2020
by
Allen Wang
Committed by
A. Unique TensorFlower
Oct 15, 2020
Browse files
Fix command in XLNet README.
PiperOrigin-RevId: 337366497
parent
0ca9cd6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
official/nlp/xlnet/README.md
official/nlp/xlnet/README.md
+2
-2
No files found.
official/nlp/xlnet/README.md
View file @
4d85af94
...
...
@@ -98,7 +98,7 @@ export IMDB_DIR=~/imdb
mkdir
-p
${
IMDB_DIR
}
cd
${
IMDB_DIR
}
wget http://ai.stanford.edu/~amaas/data/sentiment/aclImdb_v1.tar.gz
.
wget http://ai.stanford.edu/~amaas/data/sentiment/aclImdb_v1.tar.gz
tar
zxvf aclImdb_v1.tar.gz
-C
${
IMDB_DIR
}
rm
aclImdb_v1.tar.gz
```
...
...
@@ -108,7 +108,7 @@ Then, the dataset can be converted into TFRecords with the following command:
```
shell
export
TASK_NAME
=
imdb
python3 preprocess_classification_data.py
--max_seq_length
=
512
--spiece_model_file
=
${
SPIECE_MODEL
}
--output_dir
=
${
DATASETS_DIR
}
/
${
TASK_NAME
}
--data_dir
=
${
IMDB_DIR
}
--task_name
=
${
TASK_NAME
}
python3 preprocess_classification_data.py
--max_seq_length
=
512
--spiece_model_file
=
${
SPIECE_MODEL
}
--output_dir
=
${
DATASETS_DIR
}
/
${
TASK_NAME
}
--data_dir
=
${
IMDB_DIR
}
/aclImdb
--task_name
=
${
TASK_NAME
}
```
Note: To obtain SOTA on the IMDB dataset, using a sequence length of 512 is
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment