Skip to main content

DOM-aware tokenizers for Hugging Face language models

Project description

Build GitHub

DOM tokenizers

DOM-aware tokenizers for 🤗 Hugging Face language models.

Installation

With PIP

pip install dom-tokenizers[train]

From sources

git clone https://github.com/gbenson/dom-tokenizers.git
cd dom-tokenizers
python3 -m venv .venv
. .venv/bin/activate
pip install --upgrade pip
pip install -e .[dev,train]

Train a tokenizer

train-tokenizer gbenson/interesting-dom-snapshots -n 10000

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

dom_tokenizers-0.0.2.tar.gz (12.0 kB view hashes)

Uploaded Source

Built Distribution

dom_tokenizers-0.0.2-py3-none-any.whl (11.9 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