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