Document Question Answering
Transformers
PyTorch
English
document-processing
ocr
ner
text-classification
information-extraction
invoice
receipt
form
Instructions to use mrrobot2610/IDP-Machine-learning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mrrobot2610/IDP-Machine-learning with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("document-question-answering", model="mrrobot2610/IDP-Machine-learning")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mrrobot2610/IDP-Machine-learning", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download requirements.txt from mrrobot2610/IDP-Machine-learning: direct link, hf CLI and curl.
- Browser
- Download file 870 Bytes
-
https://huggingface.co/mrrobot2610/IDP-Machine-learning/resolve/main/requirements.txt
- Command line
-
hf download hf://mrrobot2610/IDP-Machine-learning/requirements.txt
-
curl -L -o requirements.txt https://huggingface.co/mrrobot2610/IDP-Machine-learning/resolve/main/requirements.txt
870 Bytes
| # Python Dependencies for IDP System | |
| # Install with: pip install -r requirements.txt | |
| # Core Framework | |
| fastapi==0.104.1 | |
| uvicorn[standard]==0.24.0 | |
| python-multipart==0.0.6 | |
| # OCR | |
| easyocr | |
| pdf2image==1.16.3 | |
| # Deep Learning & NLP | |
| torch==2.1.0 | |
| transformers==4.35.2 | |
| datasets==2.15.0 | |
| tokenizers==0.15.0 | |
| # Inference Optimization | |
| onnx==1.15.0 | |
| onnxruntime==1.16.3 | |
| # Computer Vision | |
| opencv-python | |
| Pillow==10.1.0 | |
| # Scientific Computing | |
| numpy==1.24.3 | |
| scikit-learn==1.3.2 | |
| scipy==1.11.4 | |
| # Evaluation & Metrics | |
| seqeval==1.2.2 | |
| # Training & Optimization | |
| tqdm==4.66.1 | |
| # Utilities | |
| python-dotenv==1.0.0 | |
| # Note: For system dependencies (poppler for PDF conversion): | |
| # - Ubuntu/Debian: sudo apt-get install poppler-utils | |
| # - macOS: brew install poppler | |
| # - Windows: Download from https://github.com/oschwartz10612/poppler-windows/releases/ | |