Text Classification
Transformers
Joblib
Safetensors
English
bert
disaster-response
sdg11
huggingface
text-embeddings-inference
Instructions to use elam2909/bert-disaster-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use elam2909/bert-disaster-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="elam2909/bert-disaster-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("elam2909/bert-disaster-classifier") model = AutoModelForSequenceClassification.from_pretrained("elam2909/bert-disaster-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -72,10 +72,4 @@ Evaluated on held-out test set from the dataset:
|
|
| 72 |
from transformers import pipeline
|
| 73 |
classifier = pipeline("text-classification", model="elam2909/bert-disaster-classifier")
|
| 74 |
classifier("Huge earthquake just hit southern Turkey. Buildings are collapsing!")
|
| 75 |
-
```
|
| 76 |
-
|
| 77 |
-
## Citation
|
| 78 |
-
Please cite the GitHub repository or Hugging Face page when using this model.
|
| 79 |
-
|
| 80 |
-
## Contact
|
| 81 |
-
Built by Team AI4SDG for GITEX 2025. Contributions welcome on GitHub!
|
|
|
|
| 72 |
from transformers import pipeline
|
| 73 |
classifier = pipeline("text-classification", model="elam2909/bert-disaster-classifier")
|
| 74 |
classifier("Huge earthquake just hit southern Turkey. Buildings are collapsing!")
|
| 75 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|