1. 03 Jun, 2020 8 commits
    • Maxim Neumann's avatar
      Adjust run_classification to support fine-tuning regression tasks. · b2e422b0
      Maxim Neumann authored
      PiperOrigin-RevId: 314607393
      b2e422b0
    • Hongkun Yu's avatar
      4bb13e61
    • xinliupitt's avatar
      Add relative positional embedding to KerasBERT (#8617) · c3c2386c
      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
      
      * 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
      
      * remove docs
      
      * remove prints
      
      * 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
      
      * remove docs
      
      * apply revised 3 files
      
      * rm prints
      c3c2386c
    • Chen Chen's avatar
      Internal change · cd3c6c57
      Chen Chen authored
      PiperOrigin-RevId: 314556957
      cd3c6c57
    • Jing Li's avatar
      Update NLP README to introduce major components. · daa1408c
      Jing Li authored
      PiperOrigin-RevId: 314526747
      daa1408c
    • Maxim Neumann's avatar
      Update documentation and tests of model and network for regression tasks. · d90bed2e
      Maxim Neumann authored
      PiperOrigin-RevId: 314486753
      d90bed2e
    • Hongkun Yu's avatar
      Internal change · 46245913
      Hongkun Yu authored
      PiperOrigin-RevId: 314466805
      46245913
    • Tianqi Liu's avatar
      Internal change · 20897493
      Tianqi Liu authored
      PiperOrigin-RevId: 314451720
      20897493
  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 3 commits