Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Challenges to provide great user experience usi...

Challenges to provide great user experience using natural language processing model in B2B product on the web

Ryuichi Tanimoto

September 29, 2020
Tweet

More Decks by Ryuichi Tanimoto

Other Decks in Technology

Transcript

  1. ˜4UPDLNBSL *OD 0VUMJOFPGRVFSZTVHHFTUJPOQSPDFTT 1. Generate a language model beforehand (backend)

    2. Calculate query suggestions in real-time (backend or frontend) Large corpus of the web news Trained language model Search query Trained language model Word vector Similar words in the vocabulary Similar words in the search history
  2. ˜4UPDLNBSL *OD #BDLFOEPSGSPOUFOE #BDLFOETFSWFS 'SPOUFOE #SPXTFS • /POFUXPSLMBUFODZJOSFBMUJNFTVHHFTUJPO • 1SPUFDUJPOPGTFBSDIIJTUPSZBTBDPOGJEFOUJBM

    JOGPSNBUJPO • -PDBM NBDIJOFEFQFOEFOU QFSGPSNBODF • 3FTPVSDF NBOBHFNFOU • 6TFPGPSJHJOBMJNQMFNFOUBUJPOPGMJCSBSJFT • /FUXPSLMBUFODZ
  3. ˜4UPDLNBSL *OD • Calculate query suggestions in browser 'SPOUFOEJNQMFNFOUBUJPO Trained

    language model Search query WASM trained language model JavaScript Word vector Similar words Suggestions JavaScript Trained language model
  4. ˜4UPDLNBSL *OD 1FSGPSNBODF #BDLFOETFSWFS 'SPOUFOE #SPXTFS • 8JUIJONT GPSTVHHFTUJPOTQFSJOQVUDIBOHF •

    4PNFUJNFTUPPLNPSFUIBOTFDPOETUP EPXOMPBE TUPSFBOEJOJUJBMJ[FMBOHVBHFNPEFMJO UIFGJSTUQBHFMPBEJOHBGUFSBOVQEBUFPG MBOHVBHFNPEFM • .PSFUIBONT GPSTVHHFTUJPOTQFSJOQVU DIBOHF
  5. ˜4UPDLNBSL *OD 1FSTQFDUJWF • 3VOOJOHNBDIJOFMFBSOJOHQSPDFTTFTXJUIMBOHVBHFNPEFMPOUIFXFCJTUIFGBTDJOBUJOH XBZUP • QSPWJEFBTFBNMFTTBOEJOUFSBDUJWFVTFSJOUFSGBDF • QSPUFDUBDPOGJEFOUJBMJOGPSNBUJPO

    • "TMBOHVBHFNPEFMTDPVMECFMBSHF PWFS.# BOEJUXPVMEUBLFNVDIUJNFUPEP JOJUJBMMPBEJOH XFTIPVMEUSZUP • JNQSPWFOFUXPSLMBUFODZ CBDLFOEGSPOUFOE • SFEVDFUIFNPEFMTJ[FUPCFPQUJNJ[FEUPCSPXTFSFOWJSPONFOU CBDLFOEGSPOUFOE • TQFFEVQEBUBTUPSF*0 GSPOUFOE • SVOUIFXIPMFJOJUJBMJ[BUJPOQSPDFTTJOUIFCBDLHSPVOE GSPOUFOE