Text Classification
Transformers
Safetensors
English
roberta
regression
subjectivity
peer-review
sage
text-embeddings-inference
Instructions to use Arys02/roberta-subjectivity-regressor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Arys02/roberta-subjectivity-regressor with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Arys02/roberta-subjectivity-regressor")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Arys02/roberta-subjectivity-regressor") model = AutoModelForSequenceClassification.from_pretrained("Arys02/roberta-subjectivity-regressor", device_map="auto") - Notebooks
- Google Colab
- Kaggle
roberta-subjectivity-regressor
Subjectivity regressor used by SAGE (Subjectivity-Aware Generation Estimator) of generated_text_detection_hub: it scores the assertions of a review on a 1 to 5 scale.
- Architecture:
RobertaForSequenceClassificationwith a single regression output (problem_type: regression), RoBERTa-base size. - Output: one real score per sentence (the hub reads it as subjectivity from 1 to 5). Max length 512 tokens.
Provenance and limits
The checkpoint this model was fine-tuned from, the training data, the training procedure and the evaluation metrics are not
documented: config.json has no _name_or_path and the training code is not in the repository. No licence is stated for the
weights. Use it as a component of the hub, not as a validated standalone regressor.
Use
python -m scripts.fetch_sage_models # from the hub repository: downloads and checks both SAGE models into models/
- Downloads last month
- -