美文网首页
2019-08-09工作进展3

2019-08-09工作进展3

作者: Songger | 来源:发表于2019-08-09 18:08 被阅读0次
    1. 对比关键词没有权重的dssm模型的效果

    train_query : hs_dssm_dic_query_1 - | id | words_mainse_ids | se_keyword |
    train_title : hs_dssm_dic_title_3 - | id | words_mainse_ids | title |


    inference_query : hs_dssm_dic_query_inf_1 - | id | words_mainse_ids | query |
    inference_title : hs_dssm_dic_title_inf_1 - | id | words_mainse_ids | title |


    train : hs_train_data_dssm_v2_5 : | se_keyword_mainse_ws | title_mainse_ws | label |
    inference : hs_tmp_207 : | query_id | video_id | query_ws | video_ws |

    drop table hs_tmp_206;
    yes
    create table hs_tmp_206
    as select c.se_keyword_mainse_ws, d.emb as title_mainse_ws, c.label from
    (select a.*, b.emb as se_keyword_mainse_ws from (select * from hs_dssm_train_v2_0)a left join (select * from hs_tmp_202)b on a.query_id == b.id)c left join (select * from hs_tmp_203)d on c.item_id == d.id;

    create table hs_tmp_209 as
    select c.se_keyword_mainse_ws, d.title_mainse_ws, c.label from
    (select a.*, b.se_keyword_mainse_ws from (select * from hs_dssm_train_v2_0)a join (select id as query_id, search_kg:alinlp_word_embedding(hs_return_clean(se_keyword), "100", "CONTENT_SEARCH") as se_keyword_mainse_ws from hs_dssm_dic_query_1)b on a.query_id == b.query_id)c join (select id as video_id, search_kg:alinlp_word_embedding(hs_return_clean(title), "100", "CONTENT_SEARCH") as title_mainse_ws from hs_dssm_dic_title_3)d on c.item_id == d.video_id;

    http://logview.odps.aliyun-inc.com:8080/logview/?h=http://service-corp.odps.aliyun-inc.com/api&p=graph_embedding&i=20190809100830603ga3ywtyi2&token=TWRROEJuNUxKWGEyK3BXTXdVTUZaZU05b21ZPSxPRFBTX09CTzoxMjkzMzAzOTgzMjUxNTQ4LDE1NjU5NTAxMTEseyJTdGF0ZW1lbnQiOlt7IkFjdGlvbiI6WyJvZHBzOlJlYWQiXSwiRWZmZWN0IjoiQWxsb3ciLCJSZXNvdXJjZSI6WyJhY3M6b2RwczoqOnByb2plY3RzL2dyYXBoX2VtYmVkZGluZy9pbnN0YW5jZXMvMjAxOTA4MDkxMDA4MzA2MDNnYTN5d3R5aTIiXX1dLCJWZXJzaW9uIjoiMSJ9

    相关文章

      网友评论

          本文标题:2019-08-09工作进展3

          本文链接:https://www.haomeiwen.com/subject/fqzhjctx.html