Downloads · 30 days
13
15% of all-time downloads
amannor/bert-base-uncased-sdg-classifier
bert-base-uncased-sdg-classifier is a text classification model from amannor. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
[](https://huggingface.co/bert-base-uncased) [](https://opensource.org/licenses/MIT) [](https://huggingface.co/your-hf-username/your-model-repo-name)
Downloads · 30 days
13
15% of all-time downloads
All-time downloads
85
Public
Repo size
876 MB
Likes
0
Public
Click a slice to open those files.
.bin438 MB · 100%
From the Hugging Face model README
This model is a BERT-base-uncased transformer fine-tuned for multiclass classification of startup companies into 18 categories: the 17 United Nations Sustainable Development Goals (SDGs) plus a "no-impact" label.
It is based on the methodology and dataset described in the IJCAI 2022 paper by Kfir Bar:
Using Language Models for Classifying Startups Into the UN’s 17 Sustainable Development Goals
Kfir Bar (2022) — Paper PDF
The model takes as input textual company descriptions, mission statements, and product summaries and predicts the most relevant SDG label reflecting the company's social or environmental impact focus.
bert-base-uncased from Hugging Face Transformers)Minimal example code to load and run inference using the Hugging Face Transformers library: from transformers import AutoTokenizer, AutoModelForSequenceClassification import torch
model_name = "amannor/bert-base-uncased-sdg-classifier" Load tokenizer and model from Hugging Face Hub
tokenizer = AutoTokenizer.from_pretrained(model_name) model = AutoModelForSequenceClassification.from_pretrained(model_name) Input startup description text
text = "This startup develops affordable solar panels to improve clean energy access." Tokenize input text
inputs = tokenizer(text, return_tensors="pt", truncation=True, padding=True) Forward pass
outputs = model(**inputs) Predicted class index (0 to 17, aligned with SDGs + no-impact)
predicted_label_id = torch.argmax(outputs.logits, dim=-1).item()
print(f"Predicted SDG label ID: {predicted_label_id}")
If you use this model, please cite:
@inproceedings{bar2022ijcai, title={Using Language Models for Classifying Startups Into the UN’s 17 Sustainable Development Goals}, author={Bar, Kfir}, booktitle={Proceedings of the 31st International Joint Conference on Artificial Intelligence (IJCAI)}, year={2022} }
You may also wish to reference the accompanying repository:
https://github.com/Amannor/sdg-codebase
This model is released under the MIT License. For more information, see the LICENSE file in this repository.
For questions or issues, please open an issue in the GitHub repository or contact the maintainer via Hugging Face.