Instructions to use GE-Lab/SDGs-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GE-Lab/SDGs-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="GE-Lab/SDGs-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("GE-Lab/SDGs-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
42fe189 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:826d1de041cc5bcf7325a31ef6476fa0d085097c66324776280ce7e8c4a66c0d
size 1727149981
|