Hugging Face Transformers.js

Free AI Models for JavaScript Web Development


Natural Language Processing

Sentiment Analysis (Text Classification)

Single Input:

Output:


                

Multiple Inputs:

Output:


                

Load a Specific Model (Xenova/bert-base-multilingual-uncased-sentiment):

Output:


                

Return Top 5 Classes:

Output:


                

Toxic Comment Classification (Return All Classes):

Output: