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
Download requirements.txt from OtraBoi/document_classifier_testing: direct link, hf CLI and curl.
- Browser
- Download file 197 Bytes
-
https://huggingface.co/OtraBoi/document_classifier_testing/resolve/main/requirements.txt
- Command line
-
hf download hf://OtraBoi/document_classifier_testing/requirements.txt
-
curl -L -o requirements.txt https://huggingface.co/OtraBoi/document_classifier_testing/resolve/main/requirements.txt
197 Bytes
| -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 |