Instructions to use metabloit/swahBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use metabloit/swahBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="metabloit/swahBERT")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("metabloit/swahBERT") model = AutoModelForSequenceClassification.from_pretrained("metabloit/swahBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -35,7 +35,7 @@ datasets:
|
|
| 35 |
---
|
| 36 |
|
| 37 |
# swahBERT
|
| 38 |
-
This model was
|
| 39 |
It achieves the following results on the evaluation set:
|
| 40 |
- Loss: 0.4982
|
| 41 |
- Accuracy: 0.9292
|
|
|
|
| 35 |
---
|
| 36 |
|
| 37 |
# swahBERT
|
| 38 |
+
This model was fine tuned using the dataset listed below.
|
| 39 |
It achieves the following results on the evaluation set:
|
| 40 |
- Loss: 0.4982
|
| 41 |
- Accuracy: 0.9292
|