s-nlp / roberta-base-formality-ranker

huggingface.co
Total runs: 73.5K
24-hour runs: 0
7-day runs: 1.8K
30-day runs: -92.1K
Model's Last Updated: September 08 2023
text-classification

Introduction of roberta-base-formality-ranker

Model Details of roberta-base-formality-ranker

The model has been trained to predict for English sentences, whether they are formal or informal.

Base model: roberta-base

Datasets: GYAFC from Rao and Tetreault, 2018 and online formality corpus from Pavlick and Tetreault, 2016 .

Data augmentation: changing texts to upper or lower case; removing all punctuation, adding dot at the end of a sentence. It was applied because otherwise the model is over-reliant on punctuation and capitalization and does not pay enough attention to other features.

Loss: binary classification (on GYAFC), in-batch ranking (on PT data).

Performance metrics on the test data:

dataset ROC AUC precision recall fscore accuracy Spearman
GYAFC 0.9779 0.90 0.91 0.90 0.9087 0.8233
GYAFC normalized (lowercase + remove punct.) 0.9234 0.85 0.81 0.82 0.8218 0.7294
P&T subset Spearman R
news 0.4003
answers 0.7500
blog 0.7334
email 0.7606
Citation

If you are using the model in your research, please cite the following paper where it was introduced:

@InProceedings{10.1007/978-3-031-35320-8_4,
  author="Babakov, Nikolay
  and Dale, David
  and Gusev, Ilya
  and Krotova, Irina
  and Panchenko, Alexander",
  editor="M{\'e}tais, Elisabeth
  and Meziane, Farid
  and Sugumaran, Vijayan
  and Manning, Warren
  and Reiff-Marganiec, Stephan",
  title="Don't Lose the Message While Paraphrasing: A Study on Content Preserving Style Transfer",
  booktitle="Natural Language Processing and Information Systems",
  year="2023",
  publisher="Springer Nature Switzerland",
  address="Cham",
  pages="47--61",
  isbn="978-3-031-35320-8"
}
Licensing Information

Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License .

CC BY-NC-SA 4.0

Runs of s-nlp roberta-base-formality-ranker on huggingface.co

73.5K
Total runs
0
24-hour runs
2.7K
3-day runs
1.8K
7-day runs
-92.1K
30-day runs

More Information About roberta-base-formality-ranker huggingface.co Model

More roberta-base-formality-ranker license Visit here:

https://choosealicense.com/licenses/cc-by-nc-sa-4.0

roberta-base-formality-ranker huggingface.co

roberta-base-formality-ranker huggingface.co is an AI model on huggingface.co that provides roberta-base-formality-ranker's model effect (), which can be used instantly with this s-nlp roberta-base-formality-ranker model. huggingface.co supports a free trial of the roberta-base-formality-ranker model, and also provides paid use of the roberta-base-formality-ranker. Support call roberta-base-formality-ranker model through api, including Node.js, Python, http.

roberta-base-formality-ranker huggingface.co Url

https://huggingface.co/s-nlp/roberta-base-formality-ranker

s-nlp roberta-base-formality-ranker online free

roberta-base-formality-ranker huggingface.co is an online trial and call api platform, which integrates roberta-base-formality-ranker's modeling effects, including api services, and provides a free online trial of roberta-base-formality-ranker, you can try roberta-base-formality-ranker online for free by clicking the link below.

s-nlp roberta-base-formality-ranker online free url in huggingface.co:

https://huggingface.co/s-nlp/roberta-base-formality-ranker

roberta-base-formality-ranker install

roberta-base-formality-ranker is an open source model from GitHub that offers a free installation service, and any user can find roberta-base-formality-ranker on GitHub to install. At the same time, huggingface.co provides the effect of roberta-base-formality-ranker install, users can directly use roberta-base-formality-ranker installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

roberta-base-formality-ranker install url in huggingface.co:

https://huggingface.co/s-nlp/roberta-base-formality-ranker

Url of roberta-base-formality-ranker

roberta-base-formality-ranker huggingface.co Url

Provider of roberta-base-formality-ranker huggingface.co

s-nlp
ORGANIZATIONS

Other API from s-nlp

huggingface.co

Total runs: 22
Run Growth: 1
Growth Rate: 4.55%
Updated:September 08 2023
huggingface.co

Total runs: 15
Run Growth: -1
Growth Rate: -6.67%
Updated:August 25 2022
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 25 2024