Instructions to use Hate-speech-CNERG/Rationale_predictor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Hate-speech-CNERG/Rationale_predictor with Transformers:
# Load model directly from transformers import AutoTokenizer, Model_Rational_Label tokenizer = AutoTokenizer.from_pretrained("Hate-speech-CNERG/Rationale_predictor") model = Model_Rational_Label.from_pretrained("Hate-speech-CNERG/Rationale_predictor") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened over 1 year ago
by
SFconvertbot