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")# 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,7 +10,7 @@ co2_eq_emissions: 0.0653263174784986
|
|
| 10 |
---
|
| 11 |
# About
|
| 12 |
|
| 13 |
-
Machine Learning model for classifying text according to the first 15 of the 17 Sustainable Development Goals from the United Nations.
|
| 14 |
|
| 15 |
Data comes from the amazing https://osdg.ai/ community!
|
| 16 |
|
|
|
|
| 10 |
---
|
| 11 |
# About
|
| 12 |
|
| 13 |
+
Machine Learning model for classifying text according to the first 15 of the 17 Sustainable Development Goals from the United Nations. Note that model is trained on quite short paragraphs (around 100 words) and performs best with similar input sizes.
|
| 14 |
|
| 15 |
Data comes from the amazing https://osdg.ai/ community!
|
| 16 |
|