Instructions to use dariast/societal_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dariast/societal_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="dariast/societal_classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("dariast/societal_classifier") model = AutoModelForSequenceClassification.from_pretrained("dariast/societal_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from dariast/societal_classifier: direct link, hf CLI and curl.
- Browser
- Download file 5.24 kB
-
https://huggingface.co/dariast/societal_classifier/resolve/main/training_args.bin
- Command line
-
hf download hf://dariast/societal_classifier/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/dariast/societal_classifier/resolve/main/training_args.bin
5.24 kB
- Xet hash:
- 190eb6b583001009958a5d00800b1a0c52b8f153de1e07b65bb4dc7942ba4143
- Size of remote file:
- 5.24 kB
- SHA256:
- abea55f4840e258bbb3506cfc31ec36d376222a164f6f4ed2e85c207cd44e4ec
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.