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 and 🤗 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 or a pull request.
Featured models
- ❌ DiT
- ✅ LayoutLMv2
- ✅ LayoutLMv3
- ✅ LayoutXLM
Usage
One-liner to get started:
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
Credits
This package was created with Cookiecutter and the waynerv/cookiecutter-pypackage project template.
Metadata
Release files for document-tools 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| document-tools-0.1.2.tar.gz | 11.7 kB | Without provenance | Details for document-tools-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| document_tools-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for document_tools-0.1.2-py3-none-any.whl |
Total release size: 22.6 kB
Release files / document-tools-0.1.2.tar.gz
| Download URL | document-tools-0.1.2.tar.gz |
|---|---|
| Size | 11.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d17c79e57176b5eb281a18baa019e3dd90da9d41dd65cada046250c37dea547
|
|
BLAKE2b-256 checksum How to use checksums |
9d357d19219654a50ba2bd3b9c9c18609ce73bbd01f98c0683be3f0049331d3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / document_tools-0.1.2-py3-none-any.whl
| Download URL | document_tools-0.1.2-py3-none-any.whl |
|---|---|
| Size | 10.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e2df9e58fca2081a0a7dbb508132cd8ca6cd792b28e44e7df41594b2a0722b0f
|
|
BLAKE2b-256 checksum How to use checksums |
201103d9e1b9d6d4d784e8d0f1d3f5781201dc9881cb5cbbbe5f3c332e13c56d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for document-tools 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.