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