An
xlm-roberta-large
model finetuned on multilingual training data hand-annotated using the following labels:
0
: "Anger"
1
: "Fear"
2
: "Disgust"
3
: "Sadness"
4
: "Joy"
5
: "None of Them"
This model can also be used for sentiment classification with the following conversion:
Joy (4)
→ Positive
None of Them (5)
→ Neutral (or None of Them)
All Other Labels
→ Negative
The training data we used was augmented using artificially generated examples and translated texts. It covers 5 languages (English, German, French, Polish, and Hungarian) with nearly identical shares.
How to use the model
from transformers import AutoTokenizer, pipeline
tokenizer = AutoTokenizer.from_pretrained("xlm-roberta-large")
pipe = pipeline(model="poltextlab/xlm-roberta-large-pooled-MORES", tokenizer=tokenizer, use_fast=False)
text = "We will place an immediate 6-month halt on the finance driven closure of beds and wards, and set up an independent audit of needs and facilities."
pipe(text)
Model performance
The model was evaluated on language-specific test sets and demonstrated nearly identical performance across all languages:
Fine-tuning procedure
This model was fine-tuned with the following key hyperparameters:
Number of Training Epochs
: 10
Batch Size
: 8
Learning Rate
: 5e-06
Early Stopping
: enabled with a patience of 2 epochs
Inference platform
This model is used by the
Babel Machine
, an open-source and free natural language processing tool, designed to simplify and speed up projects for comparative research.
Cooperation
Model performance can be significantly improved by extending our training sets. We appreciate every submission of coded corpora (of any domain and language) at poltextlab{at}poltextlab{dot}com or by using the
Babel Machine
.
Debugging and issues
This architecture uses the
sentencepiece
tokenizer. In order to use the model before
transformers==4.27
you need to install it manually.
If you encounter a
RuntimeError
when loading the model using the
from_pretrained()
method, adding
ignore_mismatched_sizes=True
should solve the issue.
Runs of poltextlab xlm-roberta-large-pooled-MORES on huggingface.co
1.5K
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About xlm-roberta-large-pooled-MORES huggingface.co Model
More xlm-roberta-large-pooled-MORES license Visit here:
xlm-roberta-large-pooled-MORES huggingface.co is an AI model on huggingface.co that provides xlm-roberta-large-pooled-MORES's model effect (), which can be used instantly with this poltextlab xlm-roberta-large-pooled-MORES model. huggingface.co supports a free trial of the xlm-roberta-large-pooled-MORES model, and also provides paid use of the xlm-roberta-large-pooled-MORES. Support call xlm-roberta-large-pooled-MORES model through api, including Node.js, Python, http.
xlm-roberta-large-pooled-MORES huggingface.co is an online trial and call api platform, which integrates xlm-roberta-large-pooled-MORES's modeling effects, including api services, and provides a free online trial of xlm-roberta-large-pooled-MORES, you can try xlm-roberta-large-pooled-MORES online for free by clicking the link below.
poltextlab xlm-roberta-large-pooled-MORES online free url in huggingface.co:
xlm-roberta-large-pooled-MORES is an open source model from GitHub that offers a free installation service, and any user can find xlm-roberta-large-pooled-MORES on GitHub to install. At the same time, huggingface.co provides the effect of xlm-roberta-large-pooled-MORES install, users can directly use xlm-roberta-large-pooled-MORES installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
xlm-roberta-large-pooled-MORES install url in huggingface.co: