File size: 2,069 Bytes
0773b7b
 
 
 
 
 
 
 
 
 
 
 
 
 
5a1a6ad
0773b7b
5a1a6ad
0773b7b
b63f382
 
0773b7b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5a1a6ad
0773b7b
5a1a6ad
0773b7b
 
 
 
 
 
 
 
 
 
 
 
 
 
edd66ab
d1e89cc
b63f382
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
language:
- en
- nl
- de
- fr
- it
- es

license: mit
---

# bert-base-multilingual-uncased-sentiment

This is a bert-base-multilingual-uncased model finetuned for sentiment analysis on product reviews in six languages: English, Dutch, German, French, Spanish, and Italian. It predicts the sentiment of the review as a number of stars (between 1 and 5).

This model is intended for direct use as a sentiment analysis model for product reviews in any of the six languages above or for further finetuning on related sentiment analysis tasks.

NLP Town also offers an newer model based on ModernBert, with a 40% error reduction on product reviews. Find all the details [on our website](https://www.nlp.town).

## Training data

Here is the number of product reviews we used for finetuning the model: 

| Language | Number of reviews |
| -------- | ----------------- |
| English  | 150k           |
| Dutch    | 80k            |
| German   | 137k           |
| French   | 140k           |
| Italian  | 72k            |
| Spanish  | 50k            |

## Accuracy

The fine-tuned model obtained the following accuracy on 5,000 held-out product reviews in each of the languages:

- Accuracy (exact) is the exact match for the number of stars.
- Accuracy (off-by-1) is the percentage of reviews where the number of stars the model predicts differs by a maximum of 1 from the number given by the human reviewer. 


| Language | Accuracy (exact) | Accuracy (off-by-1) |
| -------- | ---------------------- | ------------------- |
| English  | 67%                 | 95%
| Dutch    | 57%                 | 93%
| German   | 61%                 | 94%
| French   | 59%                 | 94%
| Italian  | 59%                 | 95%
| Spanish  | 58%                 | 95%

## Contact 

In addition to this model, [NLP Town](http://nlp.town) offers custom models for many languages and NLP tasks.

If you found this model useful, you can [buy us a coffee](https://www.buymeacoffee.com/yvespeirsman).

Feel free to contact us for questions, feedback and/or requests for similar models.