Instructions to use tensorboy/disaster_classifier_1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorboy/disaster_classifier_1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tensorboy/disaster_classifier_1")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tensorboy/disaster_classifier_1") model = AutoModelForSequenceClassification.from_pretrained("tensorboy/disaster_classifier_1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
a958ffe | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:e0c636add5351c52a1b62ccb5f0cbf190ed57ffc268e08035abd23993737a57b
size 437980180
|