• 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
position_embedding.py 7.91 KB