pytorch roberta token-classification es arxiv:2106.09462 arxiv:2111.09453 transformers twitter sentiment-analysis autotrain_compatible
---
language: 
  - es

tags:
  - twitter
  - sentiment-analysis

---
# Named Entity Recognition model for Spanish/English
## robertuito-ner

Repository: [https://github.com/pysentimiento/pysentimiento/](https://github.com/finiteautomata/pysentimiento/)


Model trained with the Spanish/English split of the [LinCE NER corpus](https://ritual.uh.edu/lince/), a code-switched benchmark . Base model is [RoBERTuito](https://github.com/pysentimiento/robertuito), a RoBERTa model trained in Spanish tweets.



## Results

Results are taken from the LinCE leaderboard

| Model                  | Sentiment       | NER                | POS     |
|:-----------------------|:----------------|:-------------------|:--------|
| RoBERTuito             | **60.6**        | 68.5               | 97.2    |
| XLM Large              | --              | **69.5**           | **97.2**   |
| XLM Base               | --              | 64.9               | 97.0    |
| C2S mBERT              | 59.1            | 64.6               | 96.9    |
| mBERT                  | 56.4            | 64.0               | 97.1    |
| BERT                   | 58.4            | 61.1               | 96.9    |
| BETO                   | 56.5            | --                 | --      |



## Citation

If you use this model in your research, please cite pysentimiento, RoBERTuito and LinCE papers:

```
@misc{perez2021pysentimiento,
      title={pysentimiento: A Python Toolkit for Sentiment Analysis and SocialNLP tasks},
      author={Juan Manuel Pérez and Juan Carlos Giudici and Franco Luque},
      year={2021},
      eprint={2106.09462},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}
@misc{perez2021robertuito,
      title={RoBERTuito: a pre-trained language model for social media text in Spanish},
      author={Juan Manuel Pérez and Damián A. Furman and Laura Alonso Alemany and Franco Luque},
      year={2021},
      eprint={2111.09453},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

@inproceedings{aguilar2020lince,
  title={LinCE: A Centralized Benchmark for Linguistic Code-switching Evaluation},
  author={Aguilar, Gustavo and Kar, Sudipta and Solorio, Thamar},
  booktitle={Proceedings of the 12th Language Resources and Evaluation Conference},
  pages={1803--1813},
  year={2020}
}
```