Skip to main content

A tool for transforming conversational data to a unified format

Project description

Convector: Conversational Data Transformation Simplified

Convector facilitates the standardization of conversational datasets, making conversational data preparation for NLP tasks efficient and straightforward.

Installation

Install with pip:

pip install convector

Or install from source:

git clone https://github.com/teilomillet/convector && cd convector && pip install .

First Use

Running Convector initiates config.yaml in your directory, storing your transformation profiles.

Using Convector

Transform data files with:

convector process <file_path> [OPTIONS]

Use --help for more information and deep dive in the possibilities.

Profiles

Use -p with a profile name to apply specific transformations. New or modified profiles auto-save to config.yaml.

Default Schema

Out-of-the-box schema structure:

{"instruction":"", "input":"", "output":""}

Examples

Process nested data, assuming conversational format, to JSON:

convector process data.csv -c -f output.json

Automatically create/update a profile with additional columns you want to keep:

convector process data.csv -p new_profile --add-cols 'col1,col2'

Capabilities

  • Standardize datasets for model training.
  • Convert varied data formats to a unified structure.
  • Automate data preparation processes.

Convector serves as a practical tool for data format standardization, offering a suite of options for custom data transformation needs.

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

convector-0.0.6.tar.gz (30.0 kB view details)

Uploaded Source

Built Distribution

convector-0.0.6-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

Details for the file convector-0.0.6.tar.gz.

File metadata

  • Download URL: convector-0.0.6.tar.gz
  • Upload date:
  • Size: 30.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for convector-0.0.6.tar.gz
Algorithm Hash digest
SHA256 b08d2dc94f3cd946f18e9d6a22cd6720bce157136417054e3da73d12925ff440
MD5 b0436887197d734ed5799b7143c01073
BLAKE2b-256 3eed3bc6de60233afd734f239d35d038d610efe73e17919304a2184f1298b400

See more details on using hashes here.

File details

Details for the file convector-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: convector-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 36.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for convector-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d24255c73e1f301fc17554c0bd7a4910a6e7362e72349c609382f5d351f9d47c
MD5 287b11ae4805d29a1177940793ecbcb7
BLAKE2b-256 b746c581f276b8a63b9f84e3da1cf5031878c712c15f86c1608d0aad26e714e7

See more details on using hashes here.

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