boazchung commited on
Commit
07c6c55
1 Parent(s): e20f54a

Update sentiments.html

Browse files
Files changed (1) hide show
  1. sentiments.html +1 -1
sentiments.html CHANGED
@@ -152,7 +152,7 @@
152
  // Initialize the sentiment analysis model
153
  async function initializeModel() {
154
  sentimentAnalysis = await pipeline("sentiment-analysis");
155
- reviewer = await pipeline('sentiment-analysis', 'Xenova/bert-base-multilingual-uncased-sentiment');
156
  toxic_classifier = await pipeline('text-classification', 'Xenova/toxic-bert');
157
  }
158
 
 
152
  // Initialize the sentiment analysis model
153
  async function initializeModel() {
154
  sentimentAnalysis = await pipeline("sentiment-analysis");
155
+ reviewer = await pipeline('sentiment-analysis', 'Xenova/distilbert-base-uncased-finetuned-sst-2-english'); // Xenova/bert-base-multilingual-uncased-sentiment
156
  toxic_classifier = await pipeline('text-classification', 'Xenova/toxic-bert');
157
  }
158