IlyaGusev / rubertconv_toxic_editor

huggingface.co
Total runs: 53
24-hour runs: 0
7-day runs: -7
30-day runs: -37
Model's Last Updated: July 13 2022
token-classification

Introduction of rubertconv_toxic_editor

Model Details of rubertconv_toxic_editor

RuBERTConv Toxic Editor

Model description

Tagging model for detoxification based on rubert-base-cased-conversational .

4 possible classes:

  • Equal = save tokens
  • Replace = replace tokens with mask
  • Delete = remove tokens
  • Insert = insert mask before tokens

Use in pair with mask filler .

Intended uses & limitations
How to use

Colab: link

import torch
from transformers import AutoTokenizer, pipeline

tagger_model_name = "IlyaGusev/rubertconv_toxic_editor"

device = "cuda" if torch.cuda.is_available() else "cpu"
device_num = 0 if device == "cuda" else -1
tagger_pipe = pipeline(
    "token-classification",
    model=tagger_model_name,
    tokenizer=tagger_model_name,
    framework="pt",
    device=device_num,
    aggregation_strategy="max"
)

text = "..."
tagger_predictions = tagger_pipe([text], batch_size=1)
sample_predictions = tagger_predictions[0]
print(sample_predictions)
Training data
Training procedure
Eval results

TBA

Runs of IlyaGusev rubertconv_toxic_editor on huggingface.co

53
Total runs
0
24-hour runs
-2
3-day runs
-7
7-day runs
-37
30-day runs

More Information About rubertconv_toxic_editor huggingface.co Model

More rubertconv_toxic_editor license Visit here:

https://choosealicense.com/licenses/apache-2.0

rubertconv_toxic_editor huggingface.co

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

rubertconv_toxic_editor huggingface.co Url

https://huggingface.co/IlyaGusev/rubertconv_toxic_editor

IlyaGusev rubertconv_toxic_editor online free

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

IlyaGusev rubertconv_toxic_editor online free url in huggingface.co:

https://huggingface.co/IlyaGusev/rubertconv_toxic_editor

rubertconv_toxic_editor install

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

rubertconv_toxic_editor install url in huggingface.co:

https://huggingface.co/IlyaGusev/rubertconv_toxic_editor

Url of rubertconv_toxic_editor

rubertconv_toxic_editor huggingface.co Url

Provider of rubertconv_toxic_editor huggingface.co

IlyaGusev
ORGANIZATIONS

Other API from IlyaGusev