Instructions to use SALT-NLP/CultureBank-Controversial-Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SALT-NLP/CultureBank-Controversial-Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SALT-NLP/CultureBank-Controversial-Classifier")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SALT-NLP/CultureBank-Controversial-Classifier") model = AutoModelForSequenceClassification.from_pretrained("SALT-NLP/CultureBank-Controversial-Classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 51d6e3aa0b3232ef0c00a1892cac9d45e8857153d7788a731ecf94f5dcd53696
- Size of remote file:
- 14.2 kB
- SHA256:
- e57ae2ea3e57c2244a1efaca430f6c19b3dd80610e151ffa81a26467b632ba71
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.