Add relative positional embedding to KerasBERT (#8617)
* 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
Showing
Please register or sign in to comment