Instructions to use SummerSigh/Muti-Class-Redteaming with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SummerSigh/Muti-Class-Redteaming with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SummerSigh/Muti-Class-Redteaming")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SummerSigh/Muti-Class-Redteaming") model = AutoModelForSequenceClassification.from_pretrained("SummerSigh/Muti-Class-Redteaming", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
072692e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:77773ad0530b499711769b2d5fc366b92b4cac09c54e4b6830ab82b68f92945f
size 566772057
|