SDG
Collection
Sustainable Development Goals • 6 items • Updated
How to use albertmartinez/sdg-bert-base-multilingual-cased-classification with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="albertmartinez/sdg-bert-base-multilingual-cased-classification") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("albertmartinez/sdg-bert-base-multilingual-cased-classification")
model = AutoModelForSequenceClassification.from_pretrained("albertmartinez/sdg-bert-base-multilingual-cased-classification")This model is a fine-tuned version of google-bert/bert-base-multilingual-cased on an unknown dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 1.2927 | 1.0 | 269 | 0.8947 | 0.7515 |
| 0.7953 | 2.0 | 538 | 0.7700 | 0.7795 |
| 0.6549 | 3.0 | 807 | 0.7241 | 0.7937 |
| 0.5658 | 4.0 | 1076 | 0.7135 | 0.7984 |
| 0.4799 | 5.0 | 1345 | 0.7142 | 0.7941 |
Base model
google-bert/bert-base-multilingual-cased