Downloads · 30 days
6
21% of all-time downloads
hayleyson/laser-edit-toxicity-energy
laser-edit-toxicity-energy is a text classification model from hayleyson. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
RoBERTa-base energy / classifier checkpoint used by LaSEr Edit for toxicity avoidance locate and EBM edit.
Downloads · 30 days
6
21% of all-time downloads
All-time downloads
29
Public
Parameters
125M
499 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors499 MB · 99%
How the weights are stored.
F32125M · 100%
From the Hugging Face model README
RoBERTa-base energy / classifier checkpoint used by LaSEr Edit for toxicity avoidance locate and EBM edit.
Released under MIT.
Upstream components (for attribution / awareness):
roberta-base (MIT)from transformers import AutoModelForSequenceClassification, AutoTokenizer
repo = "hayleyson/laser-edit-toxicity-energy"
model = AutoModelForSequenceClassification.from_pretrained(repo)
tokenizer = AutoTokenizer.from_pretrained(repo)
model.safetensors, config.json — Hugging Face RobertaForSequenceClassification weightsvocab.json, merges.txt, …)classification_threshold.json — optional decision threshold file determined by optimizing a classification performance metric (e.g., precision, F1, recall) on the validation dataset; not used in the LaSEr-Edit paperFor training details, please refer to the LaSEr-Edit paper: LaSEr-Edit: Localized Span-level Error Editing with Energy-based Localization.