Friday, May 1Digital Marketing Journals

albert

Mercury — a chatbot for Ordering Food using ALBERT & CRF | by Ritvik Sharma | Sep, 2021
albert, best chatbot, chatbot, chatbot app, chatbot online, chatbot website, chatbots, creating chatbots, crf, grpc, nlp, robot chat

Mercury — a chatbot for Ordering Food using ALBERT & CRF | by Ritvik Sharma | Sep, 2021

We come up with some desired labels for our model.Intent Label : <OrderFood>Slot Labels : <restaurant_name> , <food_name>, <food_type>, <qty>, <O> (<O> means that specific word does not carry much value in the sentence and can be masked or ignored).We create hundreds of sample sentences with labels associated to each word.ALBERT + Conditional Random Field (Joint-ALBERT):We have already learnt that CRFs excel in modelling sequential data. So how does it help Mercury?CRFs essentially help in mapping each word to it’s appropriate label.For example:It can map the number “1” to <qty> denoting quantity.It can map the word “Domino’s” to <restaurant_name>.Great! So if CRFs can do this, why do we even need ALBERT?In our original sentence :“I wou...