Instructions to use tcapelle/toxicity-scorer-qwen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tcapelle/toxicity-scorer-qwen with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tcapelle/toxicity-scorer-qwen")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tcapelle/toxicity-scorer-qwen") model = AutoModelForSequenceClassification.from_pretrained("tcapelle/toxicity-scorer-qwen") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 5071713a2454dea6432879ebb1c885b22449efe68df08f62d8765d7a283fe786
- Size of remote file:
- 5.3 kB
- SHA256:
- 04c295ff7b41c350ae93ba9ee958185dfc5323d5a2c6240842e3cedcd3861e57
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.