OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Developer Tools & SDKs

Chariot

Chariot is a Python library for preparing NLP datasets, building preprocessing pipelines and formatting transformed data into batches for model training.

Independent OpenViST project profile, based on linked sources.

Chariot — OpenViST project profile in AI Developer Tools & SDKs.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Chariot between obtaining an NLP dataset and training a model when you need a structured, reusable preprocessing pipeline and formatted training batches.

Who it is for

  • Python developers preparing text and label data for NLP models.
  • Machine-learning practitioners who want reusable, column-specific preprocessing and batch formatting.

Documented uses

  • Prepare typical NLP datasets, with the README showing acquisition through chazutsu.
  • Normalize and filter text, tokenize it, transform tokens and build vocabularies.
  • Apply distinct preprocessing to dataset columns, such as review text and categorical labels.
  • Format processed examples into batches, including padding, for model training.
  • Save and reload fitted preprocessors or use batch iteration in a training workflow.
Before you choose

Requirements & limits

The README documents installation with pip. The repository identifies an Apache-2.0 license.

  • Dataset preparation is shown through the companion project chazutsu; Chariot’s documented role is preprocessing and formatting.
  • The README names Joblib for parallel preprocessing across dataset columns and spaCy for multilingual tokenization.
  • Japanese tokenization options named in the README are MeCab and Janome.
  • The README describes using pre-trained word vectors through the companion project chakin.
  • The project documents both model-fit formatting and batch iteration, but does not provide a hosted training service.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Build and save an NLP preprocessing pipeline

Transform training text through normalization, tokenization, stop-word filtering and vocabulary creation, then save the fitted preprocessor.

Before you start

  • Python environment with Chariot installed using the documented pip command.
  • Training data available as a dataset or text column.
  • For the documented tokenizer, spaCy support; the README also names MeCab or Janome as Japanese alternatives.

Steps

  1. Install Chariot with the command below.

    Documented command
    pip install chariot
  2. Create a Preprocessor and stack the documented Unicode normalizer, English tokenizer, English stop-word filter and vocabulary transformer.

  3. Fit the pipeline on training data.

  4. Save it to a file with preprocessor.save(...); load it later with Preprocessor.load(...).

Expected outcome

A fitted and saved preprocessing pipeline for the training data.

Guide limitations

  • This recipe covers fitting and saving the preprocessing pipeline, not model training or deployment.
  • The README does not specify environment setup for the tokenizer backends.
Source-based practical guide

Prepare and format dataset columns

Apply separate preprocessing to review text and categorical labels, then run the dataset preprocessor on data.

Before you start

  • Python environment with Chariot installed.
  • Training data with the documented review and polarity columns.
  • A padding length for the text formatter and the appropriate number of label classes.

Steps

  1. Create a DatasetPreprocessor and define a review-column chain using text normalization, tokenization, stop-word filtering, vocabulary creation and padding.

  2. Define a categorical-label formatter for the polarity column.

  3. Fit the review preprocessing on the training review column.

  4. Call preprocess(data) and save the dataset preprocessor as a .tar.gz file if needed.

Expected outcome

A dataset transformed by column-specific preprocessing, with a documented save-and-load format for the preprocessor.

Guide limitations

  • The example uses its own pad_length and class-count values; the README does not prescribe values for other datasets.
  • This recipe ends at preprocessing and does not cover evaluating model results.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
17 October 2026
Original website title
chakki-works/chariot · Official homepage title · retained in its source language