Skip to main content

🔧 Tools to automate your document understanding tasks.

Project description

Document Tools

pypi python Build Status codecov

🔧 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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

document-tools-0.1.2.tar.gz (11.7 kB view hashes)

Uploaded Source

Built Distribution

document_tools-0.1.2-py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page