File size: 1,291 Bytes
291b1dd
ad51cdc
 
291b1dd
 
ad51cdc
291b1dd
 
 
ad51cdc
291b1dd
 
ef65b4a
291b1dd
f549b84
7c1d439
291b1dd
 
96099b0
291b1dd
 
 
 
 
 
 
 
 
c76d6f4
 
291b1dd
 
 
 
 
782256a
 
 
 
 
 
 
 
 
 
 
291b1dd
 
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
---
language:
- hu
tags:
- text-classification
license: mit
metrics:
- accuracy
widget:
- text:  reggelt! majd küldöm az élményhozókat :).
---

# Hungarian Sentence-level Sentiment Analysis Model with XLM-RoBERTa

For further models, scripts and details, see [our repository](https://github.com/nytud/sentiment-analysis) or [our demo site](https://juniper.nytud.hu/demo/nlp).

  - Pretrained model used: XLM-RoBERTa base
  - Finetuned on Hungarian Twitter Sentiment (HTS) Corpus
  - Labels: 0 (very negative), 1 (negative), 2 (neutral), 3 (positive), 4 (very positive)
  	
## Limitations

- max_seq_length = 128

## Results

| Model | HTS2 | HTS5 |
| ------------- | ------------- | ------------- |
| huBERT | 85.56 | **68.99**  |
| XLM-RoBERTa| 85.56 | 66.50 |

## Citation
If you use this model, please cite the following paper:

```
@article {laki-yang-sentiment,
      author = {Laki, László János and Yang, Zijian Győző},
      title = {Sentiment Analysis with Neural Models for Hungarian},
      journal = {Acta Polytechnica Hungarica},
      year = {2023},
      publisher = {Obuda University},
      volume = {20},
      number = {5},
      doi = {10.12700/APH.20.5.2023.5.8},
      pages=      {109--128},
      url = {https://acta.uni-obuda.hu/Laki_Yang_134.pdf}
}
```