document-tools-0.1.2
توضیحات
🔧 Tools to automate your document understanding tasks.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | document-tools-0.1.2 |
| نام | document-tools |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | deeptools.ai |
| ایمیل نویسنده | contact@deeptools.ai |
| آدرس صفحه اصلی | https://github.com/deeptools-ai/document-tools |
| آدرس اینترنتی | https://pypi.org/project/document-tools/ |
| مجوز | Apache-2.0 |
# Document Tools
[](https://pypi.org/project/document-tools/)
[](https://pypi.org/project/document-tools/)
[](https://github.com/deeptools-ai/document-tools/actions/workflows/dev.yml)
[](https://codecov.io/github/deeptools-ai/document-tools)
🔧 Tools to automate your document understanding tasks.
This package contains tools to automate your document understanding tasks by leveraging the power of
[🤗 Datasets](https://github.com/huggingface/datasets) and [🤗 Transformers](https://github.com/huggingface/transformers).
With this package, you can (or will be able to):
- 🚧 **Create** a dataset from a collection of documents.
- ✅ **Transform** a dataset to a format that is suitable for training a model.
- 🚧 **Train** a model on a dataset.
- 🚧 **Evaluate** the performance of a model on a dataset of documents.
- 🚧 **Export** a model to a format that is suitable for inference.
## Features
This project is under development and is in the alpha stage. It is not ready for production use, and if you find any
bugs or have any suggestions, please let us know by opening an [issue](https://github.com/deeptools-ai/document-tools/issues)
or a [pull request](https://github.com/deeptools-ai/document-tools/pulls).
### Featured models
- ❌ [DiT](https://huggingface.co/docs/transformers/model_doc/dit)
- ✅ [LayoutLMv2](https://huggingface.co/docs/transformers/model_doc/layoutlmv2)
- ✅ [LayoutLMv3](https://huggingface.co/docs/transformers/model_doc/layoutlmv3)
- ✅ [LayoutXLM](https://huggingface.co/docs/transformers/model_doc/layoutxlm)
## Usage
One-liner to get started:
```python
from datasets import load_dataset
from document_tools import tokenize_dataset
# Load a dataset from 🤗 Hub
dataset = load_dataset("deeptools-ai/test-document-invoice", split="train")
# Tokenize the dataset
tokenized_dataset = tokenize_dataset(dataset, target_model="layoutlmv3")
```
For more information, please see the [documentation](https://deeptools-ai.github.io/document-tools/)
## Credits
This package was created with [Cookiecutter](https://github.com/audreyr/cookiecutter) and the [waynerv/cookiecutter-pypackage](https://github.com/waynerv/cookiecutter-pypackage) project template.
نیازمندی
| مقدار | نام |
|---|---|
| ==3.0.3) | Jinja2 |
| >=9.1.1,<10.0.0 | Pillow |
| ==22.3.0) | black |
| >=1.0.1,<2.0.0) | bump2version |
| >=2.3.2,<3.0.0 | datasets |
| >=3.9.2,<4.0.0) | flake8 |
| >=1.6.0,<2.0.0) | flake8-docstrings |
| >=6.15.0,<7.0.0) | ipykernel |
| >=5.10.1,<6.0.0) | isort |
| >=1.3.0,<2.0.0) | mkdocs |
| >=0.4.1,<0.5.0) | mkdocs-autorefs |
| >=1.0.0,<2.0.0) | mkdocs-include-markdown-plugin |
| >=8.3.6,<9.0.0) | mkdocs-material |
| >=1.0.3,<2.0.0 | mkdocs-material-extensions |
| >=0.19.0,<0.20.0) | mkdocstrings[python] |
| >=0.961,<0.962) | mypy |
| >=20.3.1,<21.0.0) | pip |
| >=2.19.0,<3.0.0) | pre-commit |
| >=0.3.9,<0.4.0) | pytesseract |
| >=7.1.2,<8.0.0) | pytest |
| >=3.0.0,<4.0.0) | pytest-cov |
| >=0.1.96,<0.2.0) | sentencepiece |
| >=0.10.2,<0.11.0) | toml |
| >=3.25.0,<4.0.0) | tox |
| >=4.20.0,<5.0.0 | transformers |
| >=4.0.1,<5.0.0) | twine |
| >=20.2.2,<21.0.0) | virtualenv |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl document-tools-0.1.2:
pip install document-tools-0.1.2.whl
نصب پکیج tar.gz document-tools-0.1.2:
pip install document-tools-0.1.2.tar.gz