Jacob Devlin
Jacob Devlin
in the function "get_masked_lm_output", why set the output weights the same as the input embeddings?
This is fairly standard in terms of training a language model. For one thing, OpenAI GPT also did it, and we wanted to make our model exactly comparable to theirs....
One Cloud TPU (in terms of [a single device you rent on Google Cloud](https://cloud.google.com/tpu/docs/pricing)) has 8 cores internally. So if you're training on a single Cloud TPU from Google Cloud...
Yes, BERT requires TF 1.11 (or maybe 1.10 would work, but nothing earlier).
It's in [`run_classifier.py`](https://github.com/google-research/bert/blob/ee6155110f170c1d31e09ed46a4e468a7680f063/run_classifier.py#L178). It was checked in along with the multilingual models so you'd need to sync your repo.
Yes, unfortunately Mongolian is ranked 114 so it was not included. We are probably not going to release any more more languages or datasets. You may be able to use...
I generated a new version of the multilingual model to fix normalization and include Thai, and I also included Mongolian in the new version. See the README for a pointer.
We aren't planning on changing our tokenizer. The scheme that we have works well for 102/103 languages, with the exception of Thai. (We probably should've used a modified version of...
I think that's the expected behavior of this interface, so if you need different behavior you can change the interface to something other than TPUEstimator.
You can look into the Estimator API, but I would recommend just saving a lot of checkpoints by setting `keep_checkpoint_max` to a large value in `tf.contrib.tpu.RunConfig` and then evaluating after...
It's just an example. The exact way that "unaffable" would actually be tokenized depends on the exact vocabulary. See [this section](https://github.com/google-research/bert#learning-a-new-wordpiece-vocabulary) about the vocabulary.