Instructions to use SamagraDataGov/disaster_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SamagraDataGov/disaster_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="SamagraDataGov/disaster_classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("SamagraDataGov/disaster_classifier") model = AutoModelForSequenceClassification.from_pretrained("SamagraDataGov/disaster_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from SamagraDataGov/disaster_classifier: direct link, hf CLI and curl.
- Browser
- Download file 438 MB
-
https://huggingface.co/SamagraDataGov/disaster_classifier/resolve/main/model.safetensors
- Command line
-
hf download hf://SamagraDataGov/disaster_classifier/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/SamagraDataGov/disaster_classifier/resolve/main/model.safetensors
438 MB
- Xet hash:
- f875110e964737c7db2b09b077265691c4e0694b102dbe0844046892729c415e
- Size of remote file:
- 438 MB
- SHA256:
- eba97791290614220b2943395b00cb250ba1408411675fbe2520d8960728dc50
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.