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