Instructions to use jonas/sdg_classifier_osdg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jonas/sdg_classifier_osdg with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="jonas/sdg_classifier_osdg")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("jonas/sdg_classifier_osdg") model = AutoModelForSequenceClassification.from_pretrained("jonas/sdg_classifier_osdg", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download sample_input.pkl from jonas/sdg_classifier_osdg: direct link, hf CLI and curl.
- Browser
- Download file 7.46 kB
-
https://huggingface.co/jonas/sdg_classifier_osdg/resolve/refs%2Fpr%2F1/sample_input.pkl
- Command line
-
hf download hf://jonas/sdg_classifier_osdg@refs/pr/1/sample_input.pkl
-
curl -L -o sample_input.pkl https://huggingface.co/jonas/sdg_classifier_osdg/resolve/refs%2Fpr%2F1/sample_input.pkl
7.46 kB
- Xet hash:
- 73e5d27820b5b42a6dbd614922990493a92669f652b3125d6254aed895cc6008
- Size of remote file:
- 7.46 kB
- SHA256:
- 8b4b38dca3d8a43ea315ce05181d64896213509b8b0ddb6c0bc56e2272b60e92
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.