Image-to-Text
Transformers
Joblib
Persian
English
document-ai
ocr
invoice
persian
enterprise
aria-ai
Instructions to use alirezaaminzadeh/docflow-invoice-parser-fa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alirezaaminzadeh/docflow-invoice-parser-fa with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("image-to-text", model="alirezaaminzadeh/docflow-invoice-parser-fa")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("alirezaaminzadeh/docflow-invoice-parser-fa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| """DocFlow AI — Intelligent invoice and financial document processing.""" | |
| __version__ = "1.0.0" | |
| __author__ = "Aria AI Engineering Team" | |
| from docflow.models import ExtractedInvoice, LineItem, ValidationReport | |
| from docflow.pipeline import DocFlowPipeline | |
| __all__ = [ | |
| "DocFlowPipeline", | |
| "ExtractedInvoice", | |
| "LineItem", | |
| "ValidationReport", | |
| ] | |