Instructions to use protectai/unbiased-toxic-roberta-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use protectai/unbiased-toxic-roberta-onnx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="protectai/unbiased-toxic-roberta-onnx")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("protectai/unbiased-toxic-roberta-onnx") model = AutoModelForSequenceClassification.from_pretrained("protectai/unbiased-toxic-roberta-onnx", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,6 +11,12 @@ license: apache-2.0
|
|
| 11 |
base_model: unitary/unbiased-toxic-roberta
|
| 12 |
---
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
# ONNX version of unitary/unbiased-toxic-roberta
|
| 15 |
|
| 16 |
**This model is a conversion of [unitary/unbiased-toxic-roberta](https://huggingface.co/unitary/unbiased-toxic-roberta) to ONNX** format using the [🤗 Optimum](https://huggingface.co/docs/optimum/index) library.
|
|
|
|
| 11 |
base_model: unitary/unbiased-toxic-roberta
|
| 12 |
---
|
| 13 |
|
| 14 |
+
> [!WARNING]
|
| 15 |
+
> **THIS PROJECT HAS BEEN ARCHIVED.**
|
| 16 |
+
>
|
| 17 |
+
> This project and its associated code on [GitHub](https://github.com/protectai/llm-guard) are no longer under active development or maintained.
|
| 18 |
+
|
| 19 |
+
|
| 20 |
# ONNX version of unitary/unbiased-toxic-roberta
|
| 21 |
|
| 22 |
**This model is a conversion of [unitary/unbiased-toxic-roberta](https://huggingface.co/unitary/unbiased-toxic-roberta) to ONNX** format using the [🤗 Optimum](https://huggingface.co/docs/optimum/index) library.
|