I have a language model. Given a sentence, it assigns weights to each n-gram in the sentence and returns "positive" or "negative". My goal is to visualize this model. Is there any front-end package I can use? Preferable in React.

One possible effect I would like to have is that each word can be color coded, and color being darker means weight assigned to that word by the model is larger.

  • Independently from darkness/brightness, do you want to use several colors? Please post an example as an image, thanks! You can write it in a word processor or on paper then post a picture. – Nicolas Raoul May 27 at 8:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.