Instructions to use youngggggg/ToxiGen-ConPrompt with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use youngggggg/ToxiGen-ConPrompt with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="youngggggg/ToxiGen-ConPrompt")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("youngggggg/ToxiGen-ConPrompt") model = AutoModel.from_pretrained("youngggggg/ToxiGen-ConPrompt") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
ac37b75 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:76bf5fa523fa4db82284ffa00bcf0ddbec520dab275613e3bad44e13253bf253
size 534254489
|