Yunfeng Zhu

Results comments of Yunfeng Zhu

Maybe use these two lines can get proper predictions for "yes/no": ```python "answer_type_logits": summary.answer_type_logits.tolist(), "answer_type": int(np.argmax(summary.answer_type_logits)) ``` (copied from kaggle competition: https://www.kaggle.com/prokaj/bert-joint-baseline-notebook)

I guess the reason may be GPU out of memory, cause when I use "sampling" when doing predicting, I met some issue like "ResourceExhaustedError (see above for traceback): OOM when...

Thanks @shachar-i , my problem fixed too. One point that may be helpful to others is that you need to check if your jupyter is installed by conda or pip....

@ZizhenWang I have exactly the same issue here, that I would like the size of the model to be small when doing the prediction. As stated by @jacobdevlin-google in [#63](https://github.com/google-research/bert/issues/63)...

> @ymcdull Good solution to strip out adam-related variables from ckpt file. The shrinked ckpt works well in inference mode (estimator.predict()). However, when i try to take it as the...

> > The distributed checkpoints only include the actual model weights, but the checkpoints written during training include the Adam `momentum` and `variance` variables for each weight variable, which are...

Can I know for the sequence tagging task, how should we design the loss function? From "run_classifier.py", it just uses "loss = tf.reduce_mean(per_example_loss)", and each "example" will be a sentence...

Awesome. Thanks for the quick reply :)

> > Awesome. Thanks for the quick reply :) > > Do you use two segments in the ner task,the origin sequence is the segment A,the label sequence is segment...

Hi @cdluminate When you are using embedding vector for [CLS], you are using the vector from the last layer (shape: 1 * 768), or from all the layers (shape: 12...