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: 131 Bytes
b58a4cd | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:1f8c1c0bc2854d1af911a8550288c1258af5ba50277f3a5c829b98eb86fc5646
size 798011
|