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
OpenDAS
Megatron-LM
Commits
c7c65bbb
Commit
c7c65bbb
authored
Jun 03, 2021
by
Mostofa Patwary
Browse files
updating script
parent
fda81a21
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
examples/evaluate_retriever_nq.sh
examples/evaluate_retriever_nq.sh
+0
-1
examples/finetune_retriever_distributed.sh
examples/finetune_retriever_distributed.sh
+1
-1
No files found.
examples/evaluate_retriever_nq.sh
View file @
c7c65bbb
...
@@ -29,7 +29,6 @@ python tasks/main.py \
...
@@ -29,7 +29,6 @@ python tasks/main.py \
--retriever-seq-length
256
\
--retriever-seq-length
256
\
--vocab-file
bert-vocab.txt
\
--vocab-file
bert-vocab.txt
\
--qa-data-test
${
QA_FILE
}
\
--qa-data-test
${
QA_FILE
}
\
--num-workers
2
\
--faiss-use-gpu
\
--faiss-use-gpu
\
--retriever-report-topk-accuracies
1 5 20 100
\
--retriever-report-topk-accuracies
1 5 20 100
\
--fp16
\
--fp16
\
...
...
examples/finetune_retriever_distributed.sh
View file @
c7c65bbb
...
@@ -36,7 +36,7 @@ python -m torch.distributed.launch $DISTRIBUTED_ARGS ./tasks/main.py \
...
@@ -36,7 +36,7 @@ python -m torch.distributed.launch $DISTRIBUTED_ARGS ./tasks/main.py \
--bert-load
${
BERT_LOAD_PATH
}
\
--bert-load
${
BERT_LOAD_PATH
}
\
--save-interval
5000
\
--save-interval
5000
\
--log-interval
10
\
--log-interval
10
\
--eval-interval
25000
\
--eval-interval
25000
0
\
--eval-iters
100
\
--eval-iters
100
\
--indexer-log-interval
1000
\
--indexer-log-interval
1000
\
--faiss-use-gpu
\
--faiss-use-gpu
\
...
...
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