google-research / google-research/language

Fine Tune Script ReadMe Description Error

Open
#46 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.8k
Forks
362
PR merge metrics
No merged PRs in 30d

Description

There is an error in the script for fine tuning the bert baseline:
`--train_precomputed=nq-train.tfrecords-00000-of-00001 \` should be
`--train_precomputed_file=bert-joint-baseline/nq-train.tfrecords-00000-of-00001 \`
```shell
python -m language.question_answering.bert_joint.run_nq \
--logtostderr \
--bert_config_file=bert-joint-baseline/bert_config.json \
--vocab_file=bert-joint-baseline/vocab-nq.txt \
--train_precomputed_file=bert-joint-baseline/nq-train.tfrecords-00000-of-00001 \
--train_num_precomputed=494670 \
--learning_rate=3e-5 \
--num_train_epochs=1 \
--max_seq_length=512 \
--save_checkpoints_steps=5000 \
--init_checkpoint=uncased_L-24_H-1024_A-16/bert_model.ckpt \
--do_train \
--output_dir=bert_model_output
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.