1. 03 Jun, 2020 4 commits
  2. 02 Jun, 2020 8 commits
    • xinliupitt's avatar
      Add relative positional embedding to KerasBERT (#8606) · 2db2501b
      xinliupitt authored
      * root dir
      
      * zone updated
      
      * print mask
      
      * preview emb
      
      * tf print
      
      * input only
      
      * emb
      
      * tf print
      
      * emb after mask
      
      * masked_softmax print
      
      * print scores
      
      * multi folder
      
      * first pos emb
      
      * check input shape
      
      * add test temp
      
      * import math
      
      * two classes
      
      * prints
      
      * all get_pos replace
      
      * make time scale private
      
      * pos emb comments
      
      * print input
      
      * embedding_inputs
      
      * tf shape
      
      * dimention list
      
      * tf_util
      
      * print tf_util
      
      * concise
      
      * transformer pos change to layer
      
      * keep length var
      
      * length as input
      
      * None as input
      
      * print time signal
      
      * print time signal
      
      * remove print
      
      * test input shape
      
      * double check shape
      
      * double check shape
      
      * double check shape
      
      * more test
      
      * shape check
      
      * shape check
      
      * print 97 info
      
      * print 97 info new
      
      * test if sam
      
      * assert same
      
      * remove assert
      
      * tf print same
      
      * tf print diff
      
      * output example
      
      * output example
      
      * output example
      
      * formal test
      
      * formal test length
      
      * raise valurerror
      
      * test valurerror
      
      * double check
      
      * comments
      
      * remove prints
      
      * rename relative
      
      * delet naive test
      
      * delete docs in xinliu branch
      
      * code reformat
      
      * import order
      
      * indentation fix
      
      * more files
      
      * adjust char number
      
      * disable not callable
      
      * comment to length
      
      * error of length unequal to input_shape
      2db2501b
    • A. Unique TensorFlower's avatar
      A minor change to model_training_utils of BERT. · fc724b3e
      A. Unique TensorFlower authored
      PiperOrigin-RevId: 314417394
      fc724b3e
    • Maxim Neumann's avatar
      Internal change · 3d99cc89
      Maxim Neumann authored
      PiperOrigin-RevId: 314412294
      3d99cc89
    • A. Unique TensorFlower's avatar
      Fix total block num bug in tf2 efficientnet. · 2af9696b
      A. Unique TensorFlower authored
      PiperOrigin-RevId: 314405729
      2af9696b
    • Hongkun Yu's avatar
      write_meta_graph=False as we do not care the graph. · 7580f0a2
      Hongkun Yu authored
      PiperOrigin-RevId: 314394246
      7580f0a2
    • Chen Chen's avatar
      Internal change · 8eb91073
      Chen Chen authored
      PiperOrigin-RevId: 314373769
      8eb91073
    • A. Unique TensorFlower's avatar
      Add unit tests for bert_models.py · c25c3e88
      A. Unique TensorFlower authored
      PiperOrigin-RevId: 314270569
      c25c3e88
    • Hongkun Yu's avatar
      Fix cycle deps found through github CI · 8fd10a57
      Hongkun Yu authored
      PiperOrigin-RevId: 314254688
      8fd10a57
  3. 01 Jun, 2020 4 commits
  4. 30 May, 2020 2 commits
  5. 29 May, 2020 11 commits
  6. 28 May, 2020 4 commits
    • Abdullah Rashwan's avatar
      Internal change · 980b27d5
      Abdullah Rashwan authored
      PiperOrigin-RevId: 313662797
      980b27d5
    • Hongkun Yu's avatar
      Deprecate old customized training loop for run_classifier.py as compile/fit... · abf60128
      Hongkun Yu authored
      Deprecate old customized training loop for run_classifier.py as compile/fit fully satisfy needs/performance.
      
      PiperOrigin-RevId: 313660745
      abf60128
    • Reed Wanderman-Milne's avatar
      Use float32 activation in Transformer. · 94b1efc1
      Reed Wanderman-Milne authored
      Float32 is used if the model uses mixed precision with bfloat16. Float16 activation are unchanged.
      
      The motivation is that BERT with the LAMB optimizer with a gelu activation has an unstable loss when gelu is in bfloat16. Unfortunately, it is not easy to check if the LAMB optimizer and gelu is used, and perhaps there are other cases that work better with float32 activations instead of bfloat16 activations, so we always do the activation in float32 instead of bfloat16.
      
      PiperOrigin-RevId: 313618322
      94b1efc1
    • A. Unique TensorFlower's avatar
      Internal change · fbec2dbe
      A. Unique TensorFlower authored
      PiperOrigin-RevId: 313536026
      fbec2dbe
  7. 27 May, 2020 4 commits
  8. 26 May, 2020 3 commits
    • pkulzc's avatar
      Release MobileDet code and model, and require tf_slim installation for OD API. (#8562) · 451906e4
      pkulzc authored
      
      
      * Merged commit includes the following changes:
      311933687  by Sergio Guadarrama:
      
          Removes spurios use of tf.compat.v2, which results in spurious tf.compat.v1.compat.v2. Adds basic test to nasnet_utils.
          Replaces all remaining import tensorflow as tf with import tensorflow.compat.v1 as tf
      
      --
      311766063  by Sergio Guadarrama:
      
          Removes explicit tf.compat.v1 in all call sites (we already import tf.compat.v1, so this code was  doing tf.compat.v1.compat.v1). The existing code worked in latest version of tensorflow, 2.2, (and 1.15) but not in 1.14 or in 2.0.0a, this CL fixes it.
      
      --
      311624958  by Sergio Guadarrama:
      
          Updates README that doesn't render properly in github documentation
      
      --
      310980959  by Sergio Guadarrama:
      
          Moves research_models/slim off tf.contrib.slim/layers/framework to tf_slim
      
      --
      310263156  by Sergio Guadarrama:
      
          Adds model breakdown for MobilenetV3
      
      --
      308640516  by Sergio Guadarrama:
      
          Internal change
      
      308244396  by Sergio Guadarrama:
      
          GroupNormalization support for MobilenetV3.
      
      --
      307475800  by Sergio Guadarrama:
      
          Internal change
      
      --
      302077708  by Sergio Guadarrama:
      
          Remove `disable_tf2` behavior from slim py_library targets
      
      --
      301208453  by Sergio Guadarrama:
      
          Automated refactoring to make code Python 3 compatible.
      
      --
      300816672  by Sergio Guadarrama:
      
          Internal change
      
      299433840  by Sergio Guadarrama:
      
          Internal change
      
      299221609  by Sergio Guadarrama:
      
          Explicitly disable Tensorflow v2 behaviors for all TF1.x binaries and tests
      
      --
      299179617  by Sergio Guadarrama:
      
          Internal change
      
      299040784  by Sergio Guadarrama:
      
          Internal change
      
      299036699  by Sergio Guadarrama:
      
          Internal change
      
      298736510  by Sergio Guadarrama:
      
          Internal change
      
      298732599  by Sergio Guadarrama:
      
          Internal change
      
      298729507  by Sergio Guadarrama:
      
          Internal change
      
      298253328  by Sergio Guadarrama:
      
          Internal change
      
      297788346  by Sergio Guadarrama:
      
          Internal change
      
      297785278  by Sergio Guadarrama:
      
          Internal change
      
      297783127  by Sergio Guadarrama:
      
          Internal change
      
      297725870  by Sergio Guadarrama:
      
          Internal change
      
      297721811  by Sergio Guadarrama:
      
          Internal change
      
      297711347  by Sergio Guadarrama:
      
          Internal change
      
      297708059  by Sergio Guadarrama:
      
          Internal change
      
      297701831  by Sergio Guadarrama:
      
          Internal change
      
      297700038  by Sergio Guadarrama:
      
          Internal change
      
      297670468  by Sergio Guadarrama:
      
          Internal change.
      
      --
      297350326  by Sergio Guadarrama:
      
          Explicitly replace "import tensorflow" with "tensorflow.compat.v1" for TF2.x migration
      
      --
      297201668  by Sergio Guadarrama:
      
          Explicitly replace "import tensorflow" with "tensorflow.compat.v1" for TF2.x migration
      
      --
      294483372  by Sergio Guadarrama:
      
          Internal change
      
      PiperOrigin-RevId: 311933687
      
      * Merged commit includes the following changes:
      312578615  by Menglong Zhu:
      
          Modify the LSTM feature extractors to be python 3 compatible.
      
      --
      311264357  by Menglong Zhu:
      
          Removes contrib.slim
      
      --
      308957207  by Menglong Zhu:
      
          Automated refactoring to make code Python 3 compatible.
      
      --
      306976470  by yongzhe:
      
          Internal change
      
      306777559  by Menglong Zhu:
      
          Internal change
      
      --
      299232507  by lzyuan:
      
          Internal update.
      
      --
      299221735  by lzyuan:
      
          Add small epsilon on max_range for quantize_op to prevent range collapse.
      
      --
      
      PiperOrigin-RevId: 312578615
      
      * Merged commit includes the following changes:
      310447280  by lzc:
      
          Internal changes.
      
      --
      
      PiperOrigin-RevId: 310447280
      Co-authored-by: default avatarSergio Guadarrama <sguada@google.com>
      Co-authored-by: default avatarMenglong Zhu <menglong@google.com>
      451906e4
    • Allen Wang's avatar
      Modify `augment.transform` to use `tf.rank` rather than `len(shape)`. · 73b5be67
      Allen Wang authored
      PiperOrigin-RevId: 313259032
      73b5be67
    • Hongkun Yu's avatar
      Add init_checkpoint for nhnet benchmark. · 986b0825
      Hongkun Yu authored
      PiperOrigin-RevId: 313205490
      986b0825