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
Download best_model.pt from GE-Lab/SDGs-classifier: direct link, hf CLI and curl.
- Browser
- Download file 1.73 GB
-
https://huggingface.co/GE-Lab/SDGs-classifier/resolve/main/best_model.pt
- Command line
-
hf download hf://GE-Lab/SDGs-classifier/best_model.pt
-
curl -L -o best_model.pt https://huggingface.co/GE-Lab/SDGs-classifier/resolve/main/best_model.pt
1.73 GB
- Xet hash:
- fc46ad9dc9041a91fcefe5ae8b71d4ccc1de8be3da0b1bb3cd1571b2fe9518dd
- Size of remote file:
- 1.73 GB
- SHA256:
- 826d1de041cc5bcf7325a31ef6476fa0d085097c66324776280ce7e8c4a66c0d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.