Instructions to use OtraBoi/document_classifier_testing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OtraBoi/document_classifier_testing with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="OtraBoi/document_classifier_testing")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSequenceClassification processor = AutoProcessor.from_pretrained("OtraBoi/document_classifier_testing") model = AutoModelForSequenceClassification.from_pretrained("OtraBoi/document_classifier_testing", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 197 Bytes
bb8f1a5 | 1 2 3 4 5 6 7 8 9 | -f https://download.pytorch.org/whl/torch_stable.html Pillow==9.3.0 PyMuPDF==1.20.2 pytesseract==0.3.10 torch==1.10.2+cu113 torchvision==0.11.3+cu113 transformers==4.25.1 optimum[onnxruntime] wandb |