Commit Graph

11 Commits

Author SHA1 Message Date
yongzhuo
0eba3a83d2 add Layer of cosine for chatbot-tfserving 2021-09-17 18:45:31 +08:00
yongzhuo
be902799b6 add encode-vecotr with faiss and annoy 2021-06-10 18:17:15 +08:00
yongzhuo
d7ee3fd6cc fix sample 2021-04-16 22:37:04 +08:00
yongzhuo
ad471da0c6 fix bug of chatbot-word2vec 2019-11-07 23:21:42 +08:00
yongzhuo
be89b4ab22 bert layers 2019-08-24 23:40:02 +08:00
yongzhuo
2111742fa7
fix numpy vector of query_bert_vec 2019-07-27 18:35:27 +08:00
yongzhuo
977e93701f
修复 numpy warning问题
RuntimeWarning: invalid value encountered in true_divide matrix_org_norm = (matrix_org / np.sqrt((matrix_org ** 2).sum(-1))[..., np.newaxis]).astype(numpy_type)
2019-07-02 23:26:18 +08:00
yongzhuo
20ec9642e5
Add files via upload 2019-05-12 14:34:21 +08:00
yongzhuo
96d3e4a616
Update chatbot_sentence_vec_by_word.py 2019-04-26 11:37:32 +08:00
yongzhuo
faa99663e8 add seq2seq for chatbot 2019-04-22 17:24:05 +08:00
yongzhuo
d27dac119e Add files via upload 2019-04-09 15:26:07 +08:00