new server
Browse files- __pycache__/tasks.cpython-38.pyc +0 -0
- interference.sh +1 -1
- tasks.py +2 -2
- train.sh +1 -1
__pycache__/tasks.cpython-38.pyc
ADDED
Binary file (1.75 kB). View file
|
|
interference.sh
CHANGED
@@ -2,7 +2,7 @@ INFER_OUTPUT_DIR="output" # directory to write infer output
|
|
2 |
T5X_DIR="../../t5x" # directory where the t5x is cloned, e.g., ${HOME}"/t5x".
|
3 |
TFDS_DATA_DIR="gs://nb-t5x/corpus_multi_sentencefix_mt5/"
|
4 |
CHECKPOINT_PATH="gs://nb-t5x/corpus_multi_sentencefix_mt5/checkpoint_1100000"
|
5 |
-
PROJECT_DIR=${HOME}"/
|
6 |
export PYTHONPATH=${PROJECT_DIR}
|
7 |
|
8 |
python3 ${T5X_DIR}/t5x/infer.py \
|
|
|
2 |
T5X_DIR="../../t5x" # directory where the t5x is cloned, e.g., ${HOME}"/t5x".
|
3 |
TFDS_DATA_DIR="gs://nb-t5x/corpus_multi_sentencefix_mt5/"
|
4 |
CHECKPOINT_PATH="gs://nb-t5x/corpus_multi_sentencefix_mt5/checkpoint_1100000"
|
5 |
+
PROJECT_DIR=${HOME}"/models/multi_sentencefix_mt5"
|
6 |
export PYTHONPATH=${PROJECT_DIR}
|
7 |
|
8 |
python3 ${T5X_DIR}/t5x/infer.py \
|
tasks.py
CHANGED
@@ -14,8 +14,8 @@ tsv_path = {
|
|
14 |
"test": "gs://nb-t5x/corpus/test/test.tsv"
|
15 |
}
|
16 |
|
17 |
-
|
18 |
-
|
19 |
|
20 |
DEFAULT_OUTPUT_FEATURES = {
|
21 |
"inputs":
|
|
|
14 |
"test": "gs://nb-t5x/corpus/test/test.tsv"
|
15 |
}
|
16 |
|
17 |
+
vocabulary = seqio.SentencePieceVocabulary(
|
18 |
+
'gs://t5-data/vocabs/mc4.250000.100extra/sentencepiece.model', extra_ids=0)
|
19 |
|
20 |
DEFAULT_OUTPUT_FEATURES = {
|
21 |
"inputs":
|
train.sh
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
PROJECT_DIR=${HOME}"/
|
2 |
T5X_DIR="../../t5x" # directory where the t5x is cloned.
|
3 |
TFDS_DATA_DIR="gs://nb-t5x/corpus_multi_sentencefix_mt5"
|
4 |
MODEL_DIR="gs://nb-t5x/model_multi_sentencefix_mt5"
|
|
|
1 |
+
PROJECT_DIR=${HOME}"/models/multi-sentencefix-mt5"
|
2 |
T5X_DIR="../../t5x" # directory where the t5x is cloned.
|
3 |
TFDS_DATA_DIR="gs://nb-t5x/corpus_multi_sentencefix_mt5"
|
4 |
MODEL_DIR="gs://nb-t5x/model_multi_sentencefix_mt5"
|